How can I get the vtable pointer or name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would like to get a pointer to the vtable of a class (C++) without
actually instantiating the class, for the purpose of calling a virtual
function. The idea is to have a virtual static member. Is there any way
to do this under gcc? Any ugly and unportable hack is fine as long as I
don't have to actually create the vtable's mangled name by hand.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux