gcc/libstdc++-v3/include/std
Paolo Carlini 4661c8fd43 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
2008-10-10 12:39:01 +00:00
..
algorithm
array tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. 2008-05-26 02:19:57 +00:00
bitset bitset: Adjust comment to reflect DR 853. 2008-09-24 17:49:21 +00:00
c++0x_warning.h
chrono chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined... 2008-09-23 17:34:29 +00:00
complex user.cfg.in: Add complex, ratio, intializer_list. 2008-07-16 07:01:23 +00:00
condition_variable chrono: If _GLIBCXX_USE_MONOTONIC_CLOCK is defined... 2008-09-23 17:34:29 +00:00
deque
fstream auto_ptr.h: Fix comment typos. 2008-01-31 18:44:55 +00:00
functional functional_hash.h: Do not include ext/numeric_traits.h. 2007-11-20 14:06:53 +00:00
iomanip
ios
iosfwd
iostream
istream re PR libstdc++/16251 (bogus default constructor for std::basic_iostream) 2008-02-10 15:48:10 +00:00
iterator
limits PR c++/33979 (partial) 2008-05-20 18:11:34 +00:00
list
locale
map
memory re PR libstdc++/36962 ([C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr) 2008-09-04 23:33:10 +01:00
mutex mutex (try_lock): Implement generic try_lock. 2008-09-28 09:05:07 +00:00
numeric
ostream system_error (native_category): Remove. 2008-10-10 12:39:01 +00:00
queue
random tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. 2008-05-26 02:19:57 +00:00
ratio user.cfg.in: Add complex, ratio, intializer_list. 2008-07-16 07:01:23 +00:00
regex re PR testsuite/37149 (27_io/basic_ostream/inserters_other/char/error_code.cc) 2008-08-18 17:48:15 +00:00
set
sstream sstream: Adjust braces. 2008-05-14 13:12:02 +00:00
stack
stdexcept auto_ptr.h: Fix comment typos. 2008-01-31 18:44:55 +00:00
streambuf auto_ptr.h: Fix comment typos. 2008-01-31 18:44:55 +00:00
string
system_error system_error (native_category): Remove. 2008-10-10 12:39:01 +00:00
thread thread: New. 2008-09-13 00:32:37 +00:00
tuple tuple (tuple<>::swap): Implement swap for tuple as per DR 522 [Ready]. 2008-10-01 22:04:02 +00:00
type_traits type_traits (__make_unsigned_selector<>): Consider enums of size smaller than short. 2008-09-01 23:24:09 +00:00
unordered_map Add initializer_list support as per N2679. 2008-07-21 15:40:39 -04:00
unordered_set Add initializer_list support as per N2679. 2008-07-21 15:40:39 -04:00
utility utility: Include <initializer_list>, per the current WP. 2008-07-29 17:06:24 +00:00
valarray Add initializer_list support as per N2679. 2008-07-21 15:40:39 -04:00
vector