Why assert is in the language?

Tomek Sowiński just at ask.me
Tue Jun 22 14:07:02 PDT 2010


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


More information about the Digitalmars-d-learn mailing list