Vtables

Discussion in 'C Programming' started by vishnupriya.sureshbabu@gmail.com, Oct 12, 2007.

  1. Guest

    Will there be seperate Vtable for base class and derived class or same
    vtable will be shared by both?(virtual function being defined in both)
    , Oct 12, 2007
    #1
    1. Advertising

  2. Mark Bluemel Guest

    wrote:
    > Will there be seperate Vtable for base class and derived class or same
    > vtable will be shared by both?(virtual function being defined in both)


    I expect that one or other of those possibilities will be the case, but
    not in C. You may want to ask in comp.lang.c++
    Mark Bluemel, Oct 12, 2007
    #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. James FitzGerald
    Replies:
    2
    Views:
    339
    James FitzGerald
    Nov 25, 2004
  2. Replies:
    2
    Views:
    311
    Richard Herring
    May 2, 2006
  3. Subhransu Sahoo

    A basic doubt on VPTR and VTABLES

    Subhransu Sahoo, Nov 7, 2006, in forum: C++
    Replies:
    4
    Views:
    336
  4. Jef Driesen

    Implementing polymorphism with vtables?

    Jef Driesen, Jul 24, 2009, in forum: C Programming
    Replies:
    6
    Views:
    824
    Jef Driesen
    Jul 28, 2009
  5. Stefan Ram
    Replies:
    6
    Views:
    151
    W Karas
    Dec 10, 2013
Loading...

Share This Page