Why assert is in the language?

dennis luehring dl.soluz at gmx.net
Tue Jun 22 22:05:42 PDT 2010


Am 22.06.2010 23:07, schrieb Tomek Sowiñski:
> Yes, why? It could be implemented in object.d in a similar fashion as
> std.contracts.enforce. Does it do anything special that a library function
> couldn't?
>
> Tomek

what about static assert?


More information about the Digitalmars-d-learn mailing list