N
Neo
Hi Friends,
Is virtual function table layout (VTABLE) is compiler dependent?
Regards
Vikram S
Is virtual function table layout (VTABLE) is compiler dependent?
Regards
Vikram S
Neo said:Hi Friends,
Is virtual function table layout (VTABLE) is compiler dependent?
Neo said:Hi Friends,
Is virtual function table layout (VTABLE) is compiler dependent?
Mathias said:Yes.
There is not even a guarantee that a vtable is used.
Neo said:is such situation, there is not guarantee that polymorphism will work
across component compiled by different compilers and it is against one
of the manjor features of C++.
One thining I would like to mention that all COM (component object
model) component functionality is all based on standard vtable layout
and Microsoft claims that COM specification works for all compilers and
platforms.
Neo said:is such situation, there is not guarantee that polymorphism will work
across component compiled by different compilers and it is against one
of the manjor features of C++.
One thining I would like to mention that all COM (component object
model) component functionality is all based on standard vtable layout
and Microsoft claims that COM specification works for all compilers and
platforms.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.