Lars T. Kyllingstad wrote: > 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
Or, yanno, an inliner.