http://d.puremagic.com/issues/show_bug.cgi?id=8388



--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-07-13 23:33:57 
PDT ---
It looks like MermberFunctionsTuple only grabs virtual functions. This code

import std.stdio;
import std.traits;

class C
{
    void foo()() {}
    void goo() { foo(); }
}

void main()
{
    foreach(f; MemberFunctionsTuple!(C, "foo"))
        writeln(f.stringof);

    foreach(f; MemberFunctionsTuple!(C, "goo"))
        writeln(f.stringof);
}

just prints

goo()

foo() isn't printed. So, the constructors and destructor probably aren't being
grabbed, because they're non-virtual.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to