Marco Leise Marco.Leise at
Thu Nov 3 12:36:03 PDT 2011

Am 03.11.2011, 16:54 Uhr, schrieb Jonathan M Davis <jmdavisProg at>:
> [...] So, really, there is no way to have -release affect
> any code in Phobos beyond what it does to the language in general (remove
> assertions and remove array bounds checking in @system code), even if we
> wanted it to, which is debatable.
> - Jonathan M Davis

So the current situation for D2 is that in -release mode only code  
explicitly annotated @safe/@trusted will do boundary checking, while it is  
still removed from all 'normal' functions?

More information about the Digitalmars-d mailing list