mutable compile-time data proposal

David Nadlinger see at klickverbot.at
Wed Dec 28 21:28:38 PST 2011


On 12/29/11 6:18 AM, Mariusz Gliwiński wrote:
> Andrei Alexandrescu wrote:
>> I don't think such a feature has a huge potential use. I honestly think
>> it's a "meh" feature. It's a feature for defining elaborate literals,
>> and for that we have the shock and awe of mixin and CTFE.
>
> Actually, i already needed it few times in my D project (and still need).

Could you show a few examples? I'm just curious, because I wrote a 
sizable chunk of D code, often incorporating some form of compile time 
magic, and never felt the need for it.

Thanks,
David


More information about the Digitalmars-d mailing list