cpp erro undefined reference to vtable code example Example: c++ undefined reference to vtable virtual ~BaseClass() { };