[PATCH] Improve API docs for <system_error> header

Jonathan Wakely jwakely@redhat.com
Sat May 4 15:53:00 GMT 2019


On 04/05/19 17:43 +0200, Daniel Krügler wrote:
>Am Sa., 4. Mai 2019 um 16:37 Uhr schrieb Jonathan Wakely <jwakely@redhat.com>:
>>
>>         * include/std/system_error (error_category, error_code)
>>         (error_condition): Improve docs.
>>         * libsupc++/exception: Add missing @addtogroup Doxygen command.
>>         * libsupc++/exception_ptr.h (exception_ptr): Link equality operators
>>         to class documentation. Suppress documentation for implementation
>>         details.
>>         * libsupc++/nested_exception.h (throw_with_nested, rethrow_if_nested):
>>         Suppress documentation for implementation details.
>>
>> Committed to trunk.
>
>The new docs for error_category say now:
>
>"An error category defines a context that give meaning to the integer
>* stored in an `error_code` or `error_category` object."
>
>The last "or `error_category`" looks misleading to me, did you mean
>"or `error_condition`" instead?

I did, thanks. Fixed by the attached patch.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1040 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190504/6302e2f3/attachment.bin>


More information about the Libstdc++ mailing list