CTFE vs. traditional metaprogramming
language_fan
foo at bar.com.invalid
Sat Oct 10 13:31:13 PDT 2009
Sat, 10 Oct 2009 10:26:11 +0200, Don thusly wrote:
> CTFE doesn't mean "string mixins using CTFE". It just means CTFE. (BTW
> you can do string mixins with templates only, no CTFE, if you are
> completely insane).
CTFE without mixins is rather limited form of metaprogramming. You can
basically only initialize some static non-code data, and not much more.
String mixins with templates was the only way to go before CTFE became
possible -- those were the times!
More information about the Digitalmars-d
mailing list