Click to See Complete Forum and Search --> : ATL_NO_VTABLE


as_prabhu
July 26th, 1999, 10:15 PM
I have a query on the 'ATL_NO_VTABLE' declarative which occurs before most of the ATL-COM classes. It expands to
__declspec(novtable)
The documentation says that this declarative should be used only with abstract classes since it removes the code which initializes the vTable in the instances of that particular class. My question is - The ATL classes are not abstract classes. They are concrete classes which implement the required interface(s). Why is this declarative used with them?