calling cast operator

Klaus Rudolph lts-rudolph@gmx.de
Mon May 2 15:50:00 GMT 2011


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



More information about the Gdb mailing list