By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,904 Members | 4,621 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,904 IT Pros & Developers. It's quick & easy.

vtable and such like

P: n/a
Hi,

I'm looking for an overview document that outlines how c++ structures
things internally from a dynamic/polymorphism perspective. i.e. how it
knows what virtual functions are called upon invocation, how it
successfully casts using dynamic_cast. It's bascially a request to get
an inside track on how (typically) the C++ runtime knows what to
lookup/do when it comes to dealing with the dynamic type of objects.
How the info is laid out internally etc. etc.

If theres some sort of high level overview out there I'd be grateful. I
don't need specifics on any compiler but rather a general over of how
its "typically" done.

thanks for any info.

G

Aug 3 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Gr**********@gmail.com wrote:
I'm looking for an overview document that outlines how c++ structures
things internally from a dynamic/polymorphism perspective. i.e. how it
knows what virtual functions are called upon invocation, how it
successfully casts using dynamic_cast. It's bascially a request to get
an inside track on how (typically) the C++ runtime knows what to
lookup/do when it comes to dealing with the dynamic type of objects.
How the info is laid out internally etc. etc.

If theres some sort of high level overview out there I'd be grateful. I
don't need specifics on any compiler but rather a general over of how
its "typically" done.


Look for "Inside the C++ Object Model" book by Stanley Lippman.

V
Aug 3 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.