C++, "too few arguments in function call" error?

Dave Korn dave.korn@artimi.com
Sat Mar 18 10:18:00 GMT 2006


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....



More information about the Gdb mailing list