assert semantic change proposal

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 8 02:15:22 PDT 2014


"H. S. Teoh via Digitalmars-d"  wrote in message 
news:mailman.684.1407434193.16021.digitalmars-d at puremagic.com...

> Hmph. Now it's making me wonder if preconditions should be treated as a
> *single* assert outside the body of 'in{}', rather than allowing
> individual asserts inside. Perhaps the body of 'in{}' should return a
> boolean where false indicates a failed precondition,

I think that ship has sailed. 



More information about the Digitalmars-d mailing list