Proper Use of Assert and Enforce

bachmeier via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 5 03:54:53 PST 2016


On Friday, 5 February 2016 at 09:50:43 UTC, Suliman wrote:
> Will asserts stay after compilation in release mode?

No. The only assert that remains in release mode is assert(false) 
or assert(0) as a way to identify that you've reached a piece of 
code that shouldn't be executed.


More information about the Digitalmars-d-learn mailing list