ommitting vtables

Harri Porten kde-optimize@mail.kde.org
Sun, 12 Jan 2003 19:38:37 +0100 (CET)


Hi !

In case we ever have some KDE friendly g++ developers willing to help:

I just remembered a MSVC extension (__declspec(novtable)) that stops the
compiler from generating code for a class' vtable. Useful for abstract
classes like interfaces. 

Would be nice to have a corresponding attribute in gcc. Or can the same be
achieved by other means ?

Harri.