Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
ATL
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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:
© 2015 Microsoft