r141039 - in /trunk/libstdc++-v3: ChangeLog inc...
paolo@gcc.gnu.org
paolo@gcc.gnu.org
Fri Oct 10 12:39:00 GMT 2008
Author: paolo
Date: Fri Oct 10 12:39:01 2008
New Revision: 141039
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141039
Log:
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.
Added:
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/1.cc
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool.cc
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/equal.cc
trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/not_equal.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/ostream
trunk/libstdc++-v3/include/std/system_error
trunk/libstdc++-v3/testsuite/19_diagnostics/error_category/cons/copy_neg.cc
trunk/libstdc++-v3/testsuite/19_diagnostics/error_code/cons/1.cc
trunk/libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc
trunk/libstdc++-v3/testsuite/util/testsuite_error.h
trunk/libstdc++-v3/testsuite/util/testsuite_hooks.cc
More information about the Gcc-cvs
mailing list