gcc/libstdc++-v3/include/bits
Paolo Carlini b8b4301eec [multiple changes]
2010-09-29  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/Makefile.am: Add debug/forward_list.
	* include/Makefile.in: Regenerate.

	* testsuite/util/testsuite_container_traits.h (traits_base):
	Add has_erase_after and hash_insert_after typedefs.
	(traits<forward_list<>>): Adjust.
	* testsuite/util/exception/safety.h (erase_point, erase_range,
	insert_point): Deal correctly with forward_list.
	* include/Makefile.am: Add.

2010-09-29  François Dumont  <francois.cppdevs@free.fr>

	* src/debug.cc: Add forward_list specific debug messages.
	* include/debug/forward_list: New.
	* include/debug/formatter.h: Add debug message ids and before begin
	iterator state.
	* include/debug/macros.h (__glibcxx_check_insert_after,
	__glibcxx_check_insert_range_after, __glibcxx_check_erase_after,
	__glibcxx_check_erase_range_after): Add.
	* include/debug/safe_iterator.h (_BeforeBeginHelper): Add.
	(_Safe_iterator<>::_M_before_dereferenceable,
	_Safe_iterator<>::_M_is_before_begin): Add.
	(_Safe_iterator<>::_M_dereferenceable, _Safe_iterator<>::_M_is_end,
	_Safe_iterator<>::_M_incrementable): Adjust.
	* include/std/forward_list: Include debug/forward when _GLIBCXX_DEBUG
	defined.
	* include/bits/forward_list.h, forward_list.tcc: Put in std::__norm
	when debug mode is active.
	* testsuite/23_containers/forward_list/capacity/1.cc: Fix to compile
	even in debug mode.
	* testsuite/23_containers/forward_list/debug/erase_after1.cc,
	erase_after2.cc, erase_after3.cc, erase_after4.cc, erase_after5.cc,
	insert_after1.cc,erase_after6.cc, erase_after7.cc, insert_after2.cc,
	erase_after8.cc, insert_after3.cc, erase_after9.cc: New.

From-SVN: r164717
2010-09-29 11:56:34 +00:00
..
algorithmfwd.h stl_algo.h (shuffle): Change signature consistently with random_shuffle (US 121). 2010-08-11 17:10:04 +00:00
allocator.h allocator.h (allocator_arg_t, [...]): Add. 2010-09-27 17:27:43 +00:00
atomic_0.h
atomic_2.h
atomic_base.h
atomicfwd_c.h
atomicfwd_cxx.h
basic_ios.h
basic_ios.tcc
basic_string.h functional_hash.h (__hash_base): Add. 2010-09-22 17:50:36 +00:00
basic_string.tcc c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
boost_concept_check.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
c++0x_warning.h
c++config ios_init.cc (ios_base::Init::~Init): Add back semicolon at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS* macros... 2010-08-13 11:48:34 +00:00
char_traits.h acinclude.m4 ([GLIBCXX_CHECK_STDIO_MACROS]): Remove. 2010-07-27 10:36:50 +00:00
codecvt.h
concept_check.h
cpp_type_traits.h re PR libstdc++/45549 (merge is_iterator into iterator_traits) 2010-09-07 22:30:33 +00:00
deque.tcc re PR libstdc++/32618 (std::vector calls uneccessary constructors instead of inplace construction of first object) 2010-06-18 18:07:45 +00:00
forward_list.h [multiple changes] 2010-09-29 11:56:34 +00:00
forward_list.tcc [multiple changes] 2010-09-29 11:56:34 +00:00
fstream.tcc re PR libstdc++/45628 (std::fstream::tellg invalidates I/O buffer) 2010-09-22 19:40:43 +00:00
functexcept.h
functional_hash.h functional_hash.h (__hash_base): Add. 2010-09-22 17:50:36 +00:00
gslice_array.h
gslice.h
hashtable_policy.h [multiple changes] 2010-05-20 22:35:49 +00:00
hashtable.h re PR libstdc++/44480 ([C++0x] Linear performance of begin() in unordered associative containers) 2010-08-31 17:39:51 +00:00
indirect_array.h
ios_base.h ios_init.cc (ios_base::Init::~Init): Add back semicolon at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS* macros... 2010-08-13 11:48:34 +00:00
istream.tcc
list.tcc re PR libstdc++/32618 (std::vector calls uneccessary constructors instead of inplace construction of first object) 2010-06-18 18:07:45 +00:00
locale_classes.h ios_init.cc (ios_base::Init::~Init): Add back semicolon at the end of the _GLIBCXX_SYNCHRONIZATION_HAPPENS* macros... 2010-08-13 11:48:34 +00:00
locale_classes.tcc
locale_facets_nonio.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
locale_facets_nonio.tcc c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
locale_facets.h c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
locale_facets.tcc c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
localefwd.h
mask_array.h
move.h move.h (forward): Reinstate the N2835 version. 2010-08-11 16:55:33 +00:00
ostream_insert.h
ostream.tcc
postypes.h
random.h re PR libstdc++/45613 (bits/random.h misses include guards) 2010-09-09 11:23:39 +00:00
random.tcc re PR libstdc++/45613 (bits/random.h misses include guards) 2010-09-09 11:23:39 +00:00
range_access.h [multiple changes] 2010-07-27 17:27:06 +00:00
regex_compiler.h regex_compiler.h: Fix filename in doxygen comment. 2010-07-03 13:35:03 +01:00
regex_constants.h regex_compiler.h: Fix filename in doxygen comment. 2010-07-03 13:35:03 +01:00
regex_cursor.h regex_compiler.h: Trivial formatting / stylistic fixes. 2010-06-27 09:29:25 +00:00
regex_error.h regex_compiler.h: Fix filename in doxygen comment. 2010-07-03 13:35:03 +01:00
regex_grep_matcher.h regex_compiler.h: Fix filename in doxygen comment. 2010-07-03 13:35:03 +01:00
regex_grep_matcher.tcc regex_compiler.h: Fix filename in doxygen comment. 2010-07-03 13:35:03 +01:00
regex_nfa.h Initial regex implementation. 2010-06-25 19:27:16 +00:00
regex_nfa.tcc regex_compiler.h: Fix filename in doxygen comment. 2010-07-03 13:35:03 +01:00
regex.h stl_heap.h: Update markup. 2010-07-08 17:48:12 +00:00
shared_ptr_base.h re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
shared_ptr.h re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
slice_array.h
sstream.tcc
stl_algo.h re PR libstdc++/45488 (lower_bound doesn't really require the iterator parameters to be default constructible) 2010-09-01 22:58:15 +00:00
stl_algobase.h re PR libstdc++/45488 (lower_bound doesn't really require the iterator parameters to be default constructible) 2010-09-01 22:58:15 +00:00
stl_bvector.h functional_hash.h (__hash_base): Add. 2010-09-22 17:50:36 +00:00
stl_construct.h stl_construct.h (_Construct): Change to variadic in C++0x mode, consistently with allocator::construct. 2010-06-16 12:26:24 +00:00
stl_deque.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_function.h
stl_heap.h stl_heap.h: Update markup. 2010-07-08 17:48:12 +00:00
stl_iterator_base_funcs.h re PR libstdc++/45549 (merge is_iterator into iterator_traits) 2010-09-07 22:30:33 +00:00
stl_iterator_base_types.h re PR libstdc++/45549 (merge is_iterator into iterator_traits) 2010-09-07 22:30:33 +00:00
stl_iterator.h re PR libstdc++/44963 ([DR 1334] Ambiguous function overload using __gnu_cxx::crope with std::back_inserter in c++0x mode) 2010-08-08 14:54:51 +00:00
stl_list.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_map.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_multimap.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_multiset.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_numeric.h
stl_pair.h allocator.h (allocator_arg_t, [...]): Add. 2010-09-27 17:27:43 +00:00
stl_queue.h allocator.h (allocator_arg_t, [...]): Add. 2010-09-27 17:27:43 +00:00
stl_raw_storage_iter.h stl_raw_storage_iter.h (raw_storage_iterator<>:: operator=(const _Tp&)): Use std::__addressof. 2010-09-16 17:09:10 +00:00
stl_relops.h
stl_set.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stl_stack.h allocator.h (allocator_arg_t, [...]): Add. 2010-09-27 17:27:43 +00:00
stl_tempbuf.h stl_construct.h (_Construct): Change to variadic in C++0x mode, consistently with allocator::construct. 2010-06-16 12:26:24 +00:00
stl_tree.h stl_tree.h (erase(iterator), [...]): Remove inline specifier. 2010-06-23 09:50:42 +00:00
stl_uninitialized.h stl_uninitialized.h (__uninitialized_default, [...]): Add. 2010-06-17 08:34:17 +00:00
stl_vector.h move.h (forward): Update to N3092. 2010-08-05 07:34:08 +00:00
stream_iterator.h
streambuf_iterator.h
streambuf.tcc
stringfwd.h re PR libstdc++/44014 (no std::string in API documentation) 2010-05-06 20:57:58 +01:00
unique_ptr.h re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
unordered_map.h hashtable.h (_Hashtable<>::operator=(const _Hashtable&)): Move inline. 2010-08-14 01:00:23 +00:00
unordered_set.h hashtable.h (_Hashtable<>::operator=(const _Hashtable&)): Move inline. 2010-08-14 01:00:23 +00:00
valarray_after.h
valarray_array.h stl_uninitialized.h (__uninitialized_default, [...]): Add. 2010-06-17 08:34:17 +00:00
valarray_array.tcc
valarray_before.h
vector.tcc hash_bytes.cc: New file... 2010-09-13 18:23:56 +00:00