gcc/libstdc++-v3/include
Paolo Carlini bb81f9a082 re PR libstdc++/39880 (Specialisation is_error_code_enum<errc> should not exist)
2009-04-25  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/39880
	PR libstdc++/39881
	PR libstdc++/39882
	* include/std/system_error (is_error_code_enum<errc>): Remove.
	(error_condition<>::error_condition(_ErrorCodeEnum,)
	error_condition<>::operator=(_ErrorCodeEnum)): Use make_error_condition.
	(error_code<>::error_code(_ErrorCodeEnum,),
	error_code<>::operator=(_ErrorCodeEnum)): Use make_error_code.
	* testsuite/19_diagnostics/system_error/39880.cc: New.
	* testsuite/19_diagnostics/error_condition/modifiers/39881.cc:
	Likewise.
	* 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/27_io/basic_ostream/inserters_other/char/error_code.cc:
	Adjust.
	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc:
	Likewise.
	* testsuite/19_diagnostics/error_code/cons/1.cc: Likewise.
	* testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise.
	* testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise.
	* testsuite/19_diagnostics/error_code/operators/not_equal.cc:
	Likewise.
	* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise.
	* testsuite/19_diagnostics/system_error/cons-1.cc: Likewise.
	* testsuite/19_diagnostics/system_error/what-4.cc: Likewise.
	* testsuite/30_threads/unique_lock/locking/2.cc: Likewise.

From-SVN: r146780
2009-04-25 19:00:52 +00:00
..
backward condition_variable.cc (condition_variable, [...]): Mark throw() 2009-04-18 21:19:18 +00:00
bits array (at): Do not use builtin_expect. 2009-04-24 09:35:19 +00:00
c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
c_compatibility stdatomic.h (__atomic_flag_for_address): Use _GLIBCXX_NOTHROW. 2009-04-19 13:16:34 +00:00
c_global cstdlib (abort, [...]): Mark noreturn throw (). 2009-04-22 17:41:33 +00:00
c_std cstdlib (abort, [...]): Mark noreturn throw (). 2009-04-22 17:41:33 +00:00
debug pool_allocator.cc (_M_get_free_list, [...]): Mark throw () 2009-04-18 22:02:19 +00:00
ext array (at): Do not use builtin_expect. 2009-04-24 09:35:19 +00:00
parallel Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
precompiled Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
std re PR libstdc++/39880 (Specialisation is_error_code_enum<errc> should not exist) 2009-04-25 19:00:52 +00:00
tr1 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tr1_impl array (at): Do not use builtin_expect. 2009-04-24 09:35:19 +00:00
Makefile.am Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
Makefile.in Makefile.am (${pch1a_output}): Use gnu++0x flags instead of debug. 2009-04-07 01:46:45 +00:00