[v3] c++0x <system_error> CD updates

Chris Fairles chris.fairles@gmail.com
Wed Oct 22 14:23:00 GMT 2008


On Wed, Oct 15, 2008 at 12:07 PM, Paolo Carlini
<paolo.carlini@oracle.com> wrote:
> Chris Fairles wrote:
>> Going to give it a whirl.
>>
> Agreed. Let's do something that makes sense, for now. I got a message
> from Martin, and frankly I have no idea where are we going with this
> issue, at the moment. Certainly the issue is real.
>
> Paolo.
>

Updated patch and changelog. Regtested x86_64 linux (with and without -Wall)

One thing I'm not clear on is why error_code's default ctor uses
system_category while error_condition uses generic_category. I think
if the integral value maps to an errc, then you use generic_category
and since 0 isn't, the error_code default ctor uses system_category
but I have no idea why error_condition's doesn't.

Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Changelog_system_error.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081022/e4a662c0/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: system_error.patch.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081022/e4a662c0/attachment-0001.txt>


More information about the Gcc-patches mailing list