Time for Phobos CTFE-ability unittests...right? RIGHT?

Nick Sabalausky a at a.a
Tue Jul 12 20:16:06 PDT 2011


"bcs" <bcs at example.com> wrote in message 
news:iviv9h$2ee$1 at digitalmars.com...
> == Quote from Andrej Mitrovic (andrej.mitrovich at gmail.com)'s article
>> Last time I brought this issue up in bugzilla it was shot down with
>> "We don't guarantee and don't have to guarantee functions will
> always
>> be CTFE-able between releases".
>
> Maybe there should be a std.ctfe.* that looks a bit like std.* that IS
> guaranteed to work. Ideally it would be nothing but a bunch of alias.
>

If we do that we may as well just stick their bodies inside the original 
function in an if(_ctfe) block.




More information about the Digitalmars-d mailing list