Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » BETA status handling
Re: BETA status handling [message #52466 is a reply to message #52402] Thu, 03 October 2019 16:10 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Wed, 18 September 2019 18:47
That could be great.
It could catch all ASSERT and panic conditions that cost time to be checked (and are void in Release mode), to throw something to be catch at higher level.
This could be set by a flag, so normal Release binaries would not suffer the drawback of, for example, having to check the bounds of any access to a container.


Actually, it is there for ages:

InstallPanicMessageBox

That one gets called on Panic, so putting throw there (instead of displaying the error, or in addition to doing so) should do exactly what you need...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: C2280 with Vector
Next Topic: Doubt about container
Goto Forum:
  


Current Time: Wed May 08 13:31:18 CEST 2024

Total time taken to generate the page: 0.02483 seconds