The future of UDAs.

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Tue Nov 27 03:40:32 PST 2012


Knowing that my only hope is that new std.reflection (and all compiler
magic that comes with it) will remedy all big problems that I wanted to
solve using compile-time mutable variables.


On Tue, Nov 27, 2012 at 3:34 PM, Jonathan M Davis <jmdavisProg at gmx.com>wrote:

> On Tuesday, November 27, 2012 15:28:10 Gor Gyolchanyan wrote:
> > Basically the most important thing I miss is mutable compile-time
> > variables. That's it. Everything else can be worked around.
>
> Having them would break the compilation model, so we're never going to get
> them. D quite specifically avoids them because it solves all kinds of
> problems
> to not have them (e.g. issues with the order of initialization of
> variables).
> If a mutable variable, than use a local variable inside of a template or
> function with CTFE. That's as close as you're going to get.
>
> - Jonathan M Davis
>



-- 
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121127/12e12465/attachment.html>


More information about the Digitalmars-d mailing list