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.<div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 27, 2012 at 3:34 PM, Jonathan M Davis <span dir="ltr"><<a href="mailto:jmdavisProg@gmx.com" target="_blank">jmdavisProg@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tuesday, November 27, 2012 15:28:10 Gor Gyolchanyan wrote:<br>
> Basically the most important thing I miss is mutable compile-time<br>
> variables. That's it. Everything else can be worked around.<br>
<br>
</div>Having them would break the compilation model, so we're never going to get<br>
them. D quite specifically avoids them because it solves all kinds of problems<br>
to not have them (e.g. issues with the order of initialization of variables).<br>
If a mutable variable, than use a local variable inside of a template or<br>
function with CTFE. That's as close as you're going to get.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Jonathan M Davis<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>