List Info

Thread: How to print the return value of a template member function




How to print the return value of a template member function
user name
2006-11-15 23:08:32
"Peng Yu" <pengyu.utgmail.com> writes:

> I have the following program listed below this email. I
want to
> inspect 'a.get<0>()' from gdb. But I got the
following error message.
> Can you show me what the right way should be?

Works for me with gdb 6.5.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwabsuse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg,
Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5
214B 8276 4ED5
"And now for something completely different."
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )