On Tue, 22 Jun 2010 17:07:02 -0400, Tomek Sowiński <j...@ask.me> wrote:
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?
all calls to assert are removed by the compiler in release mode. I don't think there's a way to implement that via a library (it would be nice though!)
-Steve