Re: automated cast to different data type possible?

Tom Tromey
2011-05-11T21:00:29Z

>>>>> "Klaus" == Klaus Rudolph <lts-rudolph@gmx.de> writes:

Klaus> Base* ptr1=new A;
Klaus> Base* ptr2=new B;

Klaus> Now I want to debug ptr1. print returns only the output for base. OK
Klaus> But I want to see, the type is a object of class A.

You want "set print object on".

Tom