Overloading Lazy Vs. Non-Lazy

dsimcha dsimcha at yahoo.com
Thu Aug 12 09:59:49 PDT 2010


== Quote from Pillsy (pillsbury at gmail.com)'s article
> ...if you have to write
>     enforce(condition,
>                (){ return "compile-time-string" ~ type.stringof; });
> one time in a hundred, is it really that bad?
> Cheers,
> Pillsy

I think the point was that even this should be automagically evaluated at compile
time, since type.stringof is a compile time constant.


More information about the Digitalmars-d mailing list