Appender and CTFE

dennis luehring dl.soluz at gmx.net
Thu Mar 3 05:29:06 PST 2011


Am 03.03.2011 14:12, schrieb bearophile:
> Trass3r:
>
>>  I think something should be done about this. Couldn't Appender be implemented without using a pointer to a struct?
>
> There's no need for this, there is __ctfe (that thanks to fixing bug 4177 is usable in pure functions too), that allows to create two paths inside the Appender, one for CT and one for runtime.

but doesn't that kill a little bit the ctfe feature :) ... if i always 
pushed to the direct of using another branch, im also push to have 
another branch of errors :) - whats the point of ctfe then?


More information about the Digitalmars-d mailing list