calling cast operator

Tom Tromey tromey@redhat.com
Mon May 2 20:31:00 GMT 2011


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

Klaus> can I use a cast operator from an object on gdb?

What version of gdb?

Klaus> how can I get the value of the operation "a.operator B();" on the
Klaus> command line?

Klaus> print a.operator B() 
Klaus> is not working...?

Please file a bug for this.

Also, note that `(B) a' may appear to work, but it is not actually
calling `operator B'.

Tom



More information about the Gdb mailing list