Virtual Function Table (Lecture 46)

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 5

  • @prasadsardeshmukh3898
    @prasadsardeshmukh3898 5 лет назад +8

    Thank you very much Prof. Das, excellent explaination.
    For viewers, the actual topic of VFT starts @14:26

  • @dirkbraun854
    @dirkbraun854 3 года назад

    Very well explained. Thank you. Good idea to start off from C to explain how the VFTs actually get compiled. Just used this as a quick recap on how things work behind the scenes to deepen my understanding.

  • @manmohankrishna2407
    @manmohankrishna2407 5 лет назад +14

    there is an error @17:39,
    B *p=&d;
    p->f(25); should do B::f(p,25) since f has not been declared virtual in the class B.
    Thank me later and thanks from me for making me capable for finding these errors. Haha

  • @pandurugovind7728
    @pandurugovind7728 3 года назад

    Hi Sir in last example class A --> Class B -- Class C A*pA and B *pB which type of the object type is containing. could you please clear it.