gcc/libstdc++-v3/include/bits
Benjamin Kosnik 0646d8a378 system_error: New file.
2007-08-23  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/system_error: New file.
	* src/system_error.cc: New file.
	* src/Makefile.am (sources): Add.
	* src/Makefile.in: Regenerate.	
	* include/Makefile.am (std_headers): Add system_error.
	* include/Makefile.in: Regenerate.
	* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New.
	* configure.ac: Call it.
	* config.h.in: Regenerate.
	* include/bits/functional_hash.h: Add hash<error_code>.
 	* include/std/ostream: Add inserters for error_code.
	
	* docs/doxygen/user.cfg.in: Add system_error.

	* config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols.

	* testsuite/19_diagnostics/error_code: New.
	* testsuite/19_diagnostics/error_code/cons: Same.
	* testsuite/19_diagnostics/error_code/cons/1.cc: Same.
	* testsuite/19_diagnostics/error_code/operators: Same.
	* testsuite/19_diagnostics/error_code/operators/bool.cc: Same.
	* testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same.
	* testsuite/19_diagnostics/error_code/operators/equal.cc: Same.
	* testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same.
	* testsuite/19_diagnostics/error_category: Same.
	* testsuite/19_diagnostics/error_category/cons: Same.
	* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same.
	* testsuite/19_diagnostics/error_category/cons/default.cc: Same.
	* testsuite/19_diagnostics/error_category/operators: Same.
	* testsuite/19_diagnostics/error_category/operators/equal.cc: Same.
	* testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same.
	* testsuite/19_diagnostics/headers/system_error: Same.
	* testsuite/19_diagnostics/headers/system_error/
	types_std_c++0x.cc: Same.
	* testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same.
	* testsuite/19_diagnostics/system_error: Same.
	* testsuite/19_diagnostics/system_error/
	cons_virtual_derivation.cc: Same.
	* testsuite/19_diagnostics/system_error/cons-1.cc: Same.
	* testsuite/19_diagnostics/system_error/what-1.cc: Same.
	* testsuite/19_diagnostics/system_error/what-2.cc: Same.
	* testsuite/19_diagnostics/system_error/what-big.cc: Same.
	* testsuite/19_diagnostics/system_error/what-3.cc: Same.
	* testsuite/19_diagnostics/system_error/what-4.cc: Same.
	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/
	error_code.cc: Same.
	* testsuite/27_io/basic_ostream/inserters_other/char/
	error_code.cc: Same.
	* testsuite/tr1/6_containers/hash/operators: New.
	* testsuite/tr1/6_containers/hash/operators/size_t.cc: Same.
	
	* testsuite/23_containers/hash: Move...
	* testsuite/20_util/hash: ... here.
	* testsuite/20_util/hash/operators: New.
	* testsuite/20_util/hash/operators/size_t.cc: New.

	* testsuite/20_util/function_objects/bad_function_call: Move...
	* testsuite/20_util/bad_function_call: ...here.

From-SVN: r127744
2007-08-23 16:16:41 +00:00
..
allocator.h allocator.h: Do not include cpp_type_traits.h. 2007-05-14 14:47:39 +00:00
basic_ios.h localefwd.h: Remove redundant inline qualifiers. 2007-04-29 16:06:09 +00:00
basic_ios.tcc localefwd.h: Remove redundant inline qualifiers. 2007-04-29 16:06:09 +00:00
basic_string.h re PR libstdc++/32907 (Inefficient operator== in std::string) 2007-07-27 17:25:04 +00:00
basic_string.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
boost_concept_check.h
c++config re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
char_traits.h Makefile.am (install-data-local): Remove pch-install rules. 2007-08-22 01:26:43 +00:00
codecvt.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
concept_check.h
cpp_type_traits.h re PR c++/26099 (support for type traits is not available) 2007-03-30 19:45:57 +00:00
deque.tcc
fstream.tcc pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
functexcept.h
functional_hash.h system_error: New file. 2007-08-23 16:16:41 +00:00
gslice.h
gslice_array.h
hashtable.h re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00
indirect_array.h
ios_base.h locale_classes.h: Remove redundant inline specifiers. 2007-04-25 09:25:05 +00:00
istream.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
list.tcc re PR libstdc++/17012 ([DR 526] std::list's function, remove, looks like it is reading memory that has been freed.) 2007-02-09 01:00:25 +00:00
locale_classes.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
locale_classes.tcc locale_facets.h (class collate, [...]): Move... 2007-04-24 18:57:12 +00:00
locale_facets.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
locale_facets.tcc locale_facets.tcc (__pad<>::_S_pad): Minor tweaks, avoid unnecessary casts, do widenings just in time. 2007-05-17 09:01:27 +00:00
locale_facets_nonio.h pod_char_traits.h (char_traits<>::move): Use __builtin_memmove. 2007-05-11 18:58:08 +00:00
locale_facets_nonio.tcc locale_facets.h (class collate, [...]): Move... 2007-04-24 18:57:12 +00:00
localefwd.h localefwd.h: Remove redundant inline qualifiers. 2007-04-29 16:06:09 +00:00
mask_array.h
ostream.tcc cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
ostream_insert.h cxxabi-internal.h: Remove, to be replaced by... 2007-05-08 02:50:32 -04:00
postypes.h postypes.h (class fpos<>): Remove redundant forward declaration. 2007-05-14 10:52:05 +00:00
slice_array.h
sstream.tcc PR libstdc++/28080 (partial) 2007-02-27 17:48:09 +00:00
stl_algo.h stl_algo.h (search(_ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)): Tidy. 2007-07-09 09:00:34 +00:00
stl_algobase.h re PR libstdc++/32908 (Miss lexicographical_compare random access override) 2007-07-30 21:14:52 +00:00
stl_auto_ptr.h stl_memory.h: Rename to stl_auto_ptr.h. 2007-05-04 18:07:10 +00:00
stl_bvector.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_construct.h stl_construct.h (_Destroy(_ForwardIterator, _ForwardIterator __last, _Allocator)): Change the last parameter to _Allocator&. 2007-05-04 15:06:46 +00:00
stl_deque.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_function.h Makefile.am (install-data-local): Remove pch-install rules. 2007-08-22 01:26:43 +00:00
stl_heap.h re PR libstdc++/21172 (potential integer overflow error in STL heap functions) 2007-02-13 00:25:30 +00:00
stl_iterator.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_iterator_base_funcs.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_iterator_base_types.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_list.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_map.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_multimap.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_multiset.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_numeric.h PR libstdc++/28080 (partial) 2007-02-26 09:36:39 +00:00
stl_pair.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_queue.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_raw_storage_iter.h stl_raw_storage_iter.h (class raw_storage_iterator): Adjust template parameter name. 2007-05-05 01:15:46 +00:00
stl_relops.h
stl_set.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_stack.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_tempbuf.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_tree.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stl_uninitialized.h PR c++/32158 (libstdc++ bits) 2007-05-31 11:13:57 +00:00
stl_vector.h stl_list.h: Rename guard macro consistently with file name. 2007-06-18 17:22:53 +00:00
stream_iterator.h
streambuf.tcc
streambuf_iterator.h
stringfwd.h
valarray_after.h
valarray_array.h stl_algobase.h: Do not include <cstring>. 2007-05-07 20:37:15 +00:00
valarray_array.tcc
valarray_before.h
vector.tcc re PR libstdc++/31370 (resizing bugs in std::vector<bool>) 2007-04-02 10:15:50 +00:00