4/24/08

26. What is __declspec(novtable)? Why would you need this?

__declspec(novtable) is a Microsoft’s compiler optimization. The main idea of this optimization is to strip the vtable initialization code from abstract class (for abstract class the vtable is empty, while it is initialized in contructor)

No comments: