Export (0) Print
Expand All
ATL
Expand Minimize

ATL_NO_VTABLE 

A symbol that prevents the vtable pointer from being initialized in the class's constructor and destructor.


ATL_NO_VTABLE

If the vtable pointer is prevented from being initialized in the class's constructor and destructor, the linker can eliminate the vtable and all of the functions to which it points. Expands to __declspec(novtable).

class ATL_NO_VTABLE MyClass   // MyClass will not have a vtable
{
   // ...
};

Community Additions

ADD
Show:
© 2014 Microsoft