On Wed, 24 Dec 2014 19:52:31 +0000 Meta via Digitalmars-d-learn <[email protected]> wrote:
> Hmm, I confused myself over when the expression is interpreted. I > got it into my head that the template expansion would somehow > delay interpretation of the expression so it could be picked up > at runtime, but of course `enum` forces it to be CTFE'd. sometimes i want to have some kind of C-like macros in D too, which just inserts the generated string in the place of instantiation with implicit `mixin`. maybe someone will write a DIP/ER for this...
signature.asc
Description: PGP signature
