On Phobos GC hunt

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 8 13:15:51 PDT 2014


On 10/8/14 4:10 PM, Andrei Alexandrescu wrote:
> On 10/8/14, 1:01 PM, Andrei Alexandrescu wrote:

>>
>> That's a bummer. Can we get the compiler to remove the "if (__ctfe)"
>> code after semantic checking?
>
> Or would "static if (__ctfe)" work? -- Andrei

Please don't ask me to explain why, because I still don't know. But 
_ctfe is a normal runtime variable :) It has been explained to me 
before, why it has to be a runtime variable. I think Don knows the answer.

-Steve



More information about the Digitalmars-d mailing list