CTFE: What limitations remain?

Johann MacDonagh johann.macdonagh..no at spam..gmail.com
Tue Jul 12 16:27:05 PDT 2011


On 7/12/2011 10:22 AM, dsimcha wrote:
> The documentation for CTFE is outdated and specifies limitations that no
> longer exist thanks to Don's massive overhaul.  For example, a big one is that
> pointers now work.  What limitations that could potentially be removed still
> do exist in CTFE as of 2.054?

Right now I'm up against two limitations:
http://d.puremagic.com/issues/show_bug.cgi?id=4046
http://d.puremagic.com/issues/show_bug.cgi?id=6268

That being said, I am amazed at what I can get away with now with
CTFE. I find myself saying "there's no way I can do that", then
testing out with enum x = theresNoWay(); and being amazed at the clean
compile.


More information about the Digitalmars-d mailing list