vtable and such like

Discussion in 'C++' started by GrahamJWalsh@gmail.com, Aug 3, 2005.

  1. Guest

    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, 2005
    #1
    1. Advertising

  2. 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
    Victor Bazarov, Aug 3, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Quansheng Liang
    Replies:
    2
    Views:
    551
    Quansheng Liang
    May 25, 2004
  2. Replies:
    9
    Views:
    442
    Scott J. McCaughrin
    Feb 9, 2006
  3. Martijn van Buul
    Replies:
    5
    Views:
    976
    Martijn van Buul
    Jul 18, 2006
  4. schand

    MMU and vtable

    schand, Oct 26, 2006, in forum: C++
    Replies:
    1
    Views:
    373
    Kaz Kylheku
    Oct 27, 2006
  5. schand

    MMU and vtable

    schand, Oct 26, 2006, in forum: C++
    Replies:
    9
    Views:
    439
    Ian Collins
    Oct 27, 2006
Loading...

Share This Page