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

David Abrahams dave at boost-consulting.com
Fri Nov 7 00:02:39 CET 2003


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;

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





More information about the Cplusplus-sig mailing list