Andrei Alexandrescu schrieb:
Walter and I agreed that static foreach, although present in TDPL, poses enough new problems to warrant its deferral to post-D2.


Please don't tell me this would solve the

foreach (member; __traits (allMembers, Class))
{
    foreach (overload; __traits (getVirtualFunctions, Class, member))
    {
        // do stuff
    }
}

problem. I've been waiting for this for ages ;)

Reply via email to