Sdílet prostřednictvím


ATL_NO_VTABLE

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

ATL_NO_VTABLE

Remarks

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).

Example

class ATL_NO_VTABLE CMyClass2 :

Requirements

Header: atldef.h

See Also

Concepts

Specifying Compiler Optimization for an ATL Project

Other Resources

Compiler Options Macros

ATL Macros