A simple rule

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Fri Jul 31 00:47:03 PDT 2009


downs wrote:
> To clarify for a few criticisms that have come up in IRC: this is meant as a rule of thumb to fall back on where no other considerations are present.
> 
> For instance, const and shared are type constructors, and as such hard to do in the standard library.
> 
> To my knowledge, assert() for instance has no such mitigating considerations.

assert statements are skipped in release mode. We'd need a 
version(norelease) or something if assert() was to be moved to the 
standard library.

-Lars



More information about the Digitalmars-d mailing list