compile time output
Christopher Wright
dhasenan at gmail.com
Tue Jan 20 16:28:23 PST 2009
Sergey Gromov wrote:
> Comment out the traits and it compiles. Traits are supposed to be
> compile-time. How's that possible for them to prevent compile-time
> evaluation?
It's the amazing powers of the DMD CTFE engine! And it's why I don't use
d2 these days.
I think I'll dust off some old code I have that worked with dmd 2.009
(and failed with 2.010 and 2.011) and try making it work. I don't think
the bugs that I filed in reference to that code ever got fixed, though.
More information about the Digitalmars-d-learn
mailing list