This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: calling cast operator


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]