+ Reply to Thread
Results 1 to 2 of 2

Thread: What is the use of novtable keyword?

  1. #1
    Junior Member
    Join Date
    Apr 2012

    What is the use of novtable keyword?

    What is the use of novtable keyword?

    How is it used and what is the significance of this keyword?

    Can I use it in GCC compiler?

  2. #2
    A class contains a VTABLE if it is having virtual function defined.

    VTABLE points to VPTR.

    If a class which is an ABC ( abstract base class) then you do not need to initialize VPTR as it is not required.

    This can be done in the derived classes.

    This reduces the code size.

    Please note that this is Microsoft specific keyword. You will find this keyword in ATL implementation a lot.

    For more information:

+ Reply to Thread

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts