http://d.puremagic.com/issues/show_bug.cgi?id=4755


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrov...@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2010-08-29 
10:50:43 PDT ---
assert(0) is special. It's not meant for debugging, it's meant as a "this piece
of code should never have been reached, shut down the application", at least in
release mode.

>From TDPL:

"In non-release mode, assert(false) does not do anything special, it just
throws an AssertError exception"

"In release mode assert(false) will always cause a program to stop. There will
be no exception, the program will crash by executing the HLT instruction"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to