On 5/14/2011 4:41 PM, Timon Gehr wrote:
Walter Bright wrote:On 5/14/2011 2:49 PM, Timon Gehr wrote:Also, not having the full druntime source handy apparently means some code wont CTFE.What is missing?I stumbled over foreach(dchar c; char_array); It will complain that "_aApplycd2" is not defined. Interestingly, it does not even work when importing the druntime source after all.
It should be in dmd2/src/druntime/src/rt/aApply.d
druntime also has some deprecated volatile statements btw. Timon