system_error: Use noexcept.
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 20 Jul 2011 18:17:30 +0000 (18:17 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 20 Jul 2011 18:17:30 +0000 (18:17 +0000)
commitcd88bb8c771788c4f3ad2f1be42e99db5e4a90fe
tree65be25078ab37ec701d000ff4a8f1f66c3db81ae
parentd05f35643be286f2cb4c10284d053ec13f48de04
system_error: Use noexcept.

2011-07-20  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/system_error: Use noexcept.
* src/system_error.cc: Likewise.
* testsuite/19_diagnostics/error_condition/modifiers/39881.cc: Adjust.
* testsuite/19_diagnostics/error_condition/cons/39881.cc: Likewise.
* testsuite/19_diagnostics/error_code/modifiers/39882.cc: Likewise.
* testsuite/19_diagnostics/error_code/cons/39882.cc: Likewise.
* testsuite/util/testsuite_error.h: Likewise.

* include/std/system_error (error_code::error_code(_ErrorCodeEnum)):
Use enable_if on template parameter default.
(error_condition::error_condition(_ErrorConditionEnum)): Likewise.

From-SVN: r176529
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/system_error
libstdc++-v3/src/system_error.cc
libstdc++-v3/testsuite/19_diagnostics/error_code/cons/39882.cc
libstdc++-v3/testsuite/19_diagnostics/error_code/modifiers/39882.cc
libstdc++-v3/testsuite/19_diagnostics/error_condition/cons/39881.cc
libstdc++-v3/testsuite/19_diagnostics/error_condition/modifiers/39881.cc
libstdc++-v3/testsuite/util/testsuite_error.h