Cool! Thanks!
So all I need to do is remember the indices of functions in the vtable
and extract them manually every time like this, right?

On Fri, May 4, 2012 at 5:31 AM, Mehrdad <wfunct...@hotmail.com> wrote:
> 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);
> }



-- 
Bye,
Gor Gyolchanyan.

Reply via email to