This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
calling cast operator
- From: "Klaus Rudolph" <lts-rudolph at gmx dot de>
- To: gdb at sourceware dot org
- Date: Mon, 02 May 2011 17:50:27 +0200
- Subject: calling cast operator
Hi all,
can I use a cast operator from an object on gdb?
class B
{
...
};
class A
{
operator B()
};
anyFunc()
{
A a;
-> breakpoint
}
how can I get the value of the operation "a.operator B();" on the command line?
print a.operator B()
is not working...?
Thanks
Klaus
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de