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

David Abrahams dave at boost-consulting.com
Thu Nov 6 23:58:44 CET 2003


Nikolay Mladenov <nickm at sitius.com> writes:

> David Abrahams wrote:
>> 
>
>> > So why having the option to stick signature in the docstring is bad? It
>> > is only an option.
>> 
>> I didn't say it was; you were looking for something less intrusive.
>
> I see, but until we find it I like that one.
>
>> 
>> > Combining the overloads docstrings shouldn't be a problem as well
>> > since one can supply a single docstring per name.
>> 
>> Fine with me.
>
> Can I implement this?

Do you mean, "will I accept your patch?"  Probably, though I'm not
sure I like the syntax for doing it optionally.  An existing docstring
might already contain a %, for example.

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





More information about the Cplusplus-sig mailing list