This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: C++, "too few arguments in function call" error?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <rob at encodia dot biz>, <gdb at sources dot redhat dot com>
- Date: Fri, 17 Mar 2006 19:41:55 -0000
- Subject: RE: C++, "too few arguments in function call" error?
On 17 March 2006 18:28, rob@encodia.biz wrote:
> That does work sometimes. But if the class is a template, or if the
> method is overloaded, I can't do it, or I have to type way too much,
You do know about gdb doing tab-completion, yes? It doesn't always help but
I just thought I'd ask...
> (gdb) p set<xml::XmlNode*, std::less<xml::XmlNode*>,
> std::allocator<xml::XmlNode*> >::begin(&set1)
> $1 = {
> _M_node = 0x3008c0
> }
>
> That works, but it's horrible.
Less so with completion.
cheers,
DaveK
--
Can't think of a witty .sigline today....