This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: calling cast operator
- From: Tom Tromey <tromey at redhat dot com>
- To: "Klaus Rudolph" <lts-rudolph at gmx dot de>
- Cc: gdb at sourceware dot org
- Date: Mon, 02 May 2011 14:30:48 -0600
- Subject: Re: calling cast operator
- References: <20110502155027.145630@gmx.net>
>>>>> "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