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

Nikolay Mladenov nickm at sitius.com
Fri Nov 7 15:10:14 CET 2003



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.

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

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





More information about the Cplusplus-sig mailing list