Поделиться через


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 CMyClass2 :

Требования

Header: atldef.h

См. также

Основные понятия

Compiler Options Macros

ATL Macros

Specifying Compiler Optimization for an ATL Project