Appender and CTFE

bearophile bearophileHUGS at lycos.com
Thu Mar 3 05:12:12 PST 2011


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.

Bye,
bearophile


More information about the Digitalmars-d mailing list