This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Getting a pointer to a vtable


Hi,

Essentially, I would like to do something like:

void *bar = (void *)_ZTV3foo;

Except I only know "foo", and it may be namespaced. So is there some way
to have g++ do the mangling with a macro or something else?

Cheers,

Mike


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]