assume, assert, enforce, @safe

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 31 06:10:57 PDT 2014


On Thursday, 31 July 2014 at 06:57:15 UTC, Walter Bright wrote:
> For LinearCongruentialEngine() and initialize(), passing 
> invalid arguments are programming bugs, and so they should be 
> asserting.

Isn't phobos compiled in release mode? And since those asserts 
are never compiled, what purpose do they serve?


More information about the Digitalmars-d mailing list