DIP44: scope(class) and scope(struct)
Tobias Pankrath
tobias at pankrath.net
Sat Aug 24 08:07:05 PDT 2013
On Saturday, 24 August 2013 at 14:40:36 UTC, Joseph Rushton
Wakeling wrote:
> On 24/08/13 15:55, Tobias Pankrath wrote:
>> Invariants?
>
> Don't they get stripped out in -release code?
Yes. But the example code that you presented looked to me like
logic/coding errors. Invariants should be good enough here. If
you want to pay for the added safety, because you think your code
isn't tested well enough at all, you can always compile without
debug.
More information about the Digitalmars-d
mailing list