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