[C++-sig] Re: function::argument_error / overloads & docstrings

Nikolay Mladenov nickm at sitius.com
Mon Nov 10 15:16:32 CET 2003



David Abrahams wrote:
> 
> Nikolay Mladenov <nickm at sitius.com> writes:
> 
> > David Abrahams wrote:
> >>
> >> Nikolay Mladenov <nickm at sitius.com> writes:
> >>
> >> > the problematic line is
> >> >                     param += (len(kv) > 1 ? " %s=%r" : " %s") % kv;
> >>
> >> what about:
> >>
> >>         param += const_cast<char const*>(len(kv) > 1 ? " %s=%r" : " %s") % kv;
> >>
> >> ??
> >
> > This works.
> 
> OK, committed.  Nikolay, could you post a patch which introduces a
> test case for this stuff?  
>Remember it has to work regardless of how
> C++ names are mangled.

I am not sure what are you asking me? Where did we come close to the
name mangling?

> 
> --
> Dave Abrahams
> Boost Consulting
> www.boost-consulting.com

-- 
Nikolay Mladenov
Sitius Automaion Inc.
www.sitius.com





More information about the Cplusplus-sig mailing list