2011-12-01 64 views

回答

3

编译时,您可以使用-fdump-class-hierarchy获取vtable布局。这可能有助于检查对象。 gdb中可能需要set print vtbl on