Compile time function execution...

Walter Bright newshound at digitalmars.com
Thu Feb 15 13:09:59 PST 2007


BCS wrote:
> Hmm, so compile time evaluation is lazy, not greedy?

Yes.

> That makes me want 
> a cast(const) to force it in some cases

I think the eval() template does that nicely.



More information about the Digitalmars-d mailing list