On Mon, 29 Sep 2014 10:18:27 +0200
Johannes Pfau via Digitalmars-d <digitalmars-d@puremagic.com> wrote:

> I wonder if these 'use asserts for stack traces' and 'an assert is
> always supposed to pass, so it's valid to assume the condition holds
> (in release)' notions can go together. I guess it might at least lead
> to programs that are unusable when compiled with -release.
compiler never optimizes away `assert(0)`, AFAIR. `assert(0)` is a
special thing, it means `abort()`.

Attachment: signature.asc
Description: PGP signature

Reply via email to