diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2008-10-10 12:39:01 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-10-10 12:39:01 +0000 |
commit | 4661c8fd43ca731dc06329a1cfb628863075dbb2 (patch) | |
tree | 67190c2dfc745591d3fefc05ff7b5109ea6d9d4e /compile | |
parent | 87ad508134223e9ba43fc0ce21b8d5d6981b1ebc (diff) | |
download | gcc-4661c8fd43ca731dc06329a1cfb628863075dbb2.zip gcc-4661c8fd43ca731dc06329a1cfb628863075dbb2.tar.gz gcc-4661c8fd43ca731dc06329a1cfb628863075dbb2.tar.bz2 |
system_error (native_category): Remove.
2008-10-10 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/system_error (native_category): Remove.
(posix_category): Add.
(error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
Fix _M_cat initialization.
(error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
(error_condition::_M_cat, error_condtion::operator=
(_ErrorConditionEnum)): Implement resolution of DR 804.
(error_condition::error_condition(_ErrorConditionEnum, typename
enable_if<>:type*): Fix.
(error_condition::clear, error_condition::assign): Implement.
(operator==, operator!=): Fix uglification of parameters.
(make_error_code, make_error_condition): Define in namespace
posix_error.
(operator<<(basic_ostream<>&, const error_code&)): Define here.
* include/std/ostream (operator<<(basic_ostream<>&,
const error_code&)): Do not define here.
* testsuite/19_diagnostics/error_condition/cons/1.cc: New.
* testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
* testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
Likewise.
* testsuite/19_diagnostics/error_condition/operators/equal.cc:
Likewise.
* testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
Likewise.
* testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
dg-error line numbers.
* testsuite/30_threads/unique_lock/locking/2.cc: Tweak.
* testsuite/util/testsuite_error.h: Minor tweaks.
* testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.
From-SVN: r141039
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions