Compile the following class
class Interface
{
virtual void doIt() = 0;
virtual ~Interface() = 0;
};
inline Interface::~Interface() {}
using gcc -fdump-class-hierarchy
.
gcc
emits
Class Interface size=4 align=4 base size=4 base align=4 Interface (0x1a779c0) 0 nearly-empty vptr=((& Interface::_ZTV9Interface) + 8u)
What is the significance of "nearly-empty"? What does it mean?