c++ - instantiated class of an object -
i debugging c++ program gdb in eclipse. how can exact class of object? let's debugging method
void foo(instruction *i){ i->bar(); } let's instruction has lot of subclasses. how can know subclass of instruction instantiates object i?
you want "set print object on". use rtti information print full object.
this should default; eventually.
Comments
Post a Comment