class Foo
{
        void test() { }
}

void main(string[] args)
{
        auto f = new Foo();
        stderr.writeln(f.__vptr[6]);
        auto del = (&f.test);
        stderr.writeln(del.funcptr);
}

Reply via email to