b8b4301eec
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 |
||
---|---|---|
.. | ||
allocator-inst.cc | ||
atomic.cc | ||
bitmap_allocator.cc | ||
chrono.cc | ||
codecvt.cc | ||
compatibility-c++0x.cc | ||
compatibility-debug_list.cc | ||
compatibility-ldbl.cc | ||
compatibility-list.cc | ||
compatibility-parallel_list.cc | ||
compatibility.cc | ||
complex_io.cc | ||
concept-inst.cc | ||
condition_variable.cc | ||
ctype.cc | ||
debug_list.cc | ||
debug.cc | ||
ext-inst.cc | ||
fstream-inst.cc | ||
functexcept.cc | ||
future.cc | ||
globals_io.cc | ||
hash_c++0x.cc | ||
hash_tr1.cc | ||
hash-long-double-aux.cc | ||
hashtable_c++0x.cc | ||
hashtable_tr1.cc | ||
hashtable-aux.cc | ||
ios_failure.cc | ||
ios_init.cc | ||
ios_locale.cc | ||
ios-inst.cc | ||
ios.cc | ||
iostream-inst.cc | ||
istream-inst.cc | ||
istream.cc | ||
limits.cc | ||
list.cc | ||
locale_facets.cc | ||
locale_init.cc | ||
locale-inst.cc | ||
locale.cc | ||
localename.cc | ||
Makefile.am | ||
Makefile.in | ||
math_stubs_float.cc | ||
math_stubs_long_double.cc | ||
misc-inst.cc | ||
mt_allocator.cc | ||
mutex.cc | ||
ostream-inst.cc | ||
parallel_list.cc | ||
parallel_settings.cc | ||
pool_allocator.cc | ||
sstream-inst.cc | ||
stdexcept.cc | ||
streambuf-inst.cc | ||
streambuf.cc | ||
string-inst.cc | ||
strstream.cc | ||
system_error.cc | ||
thread.cc | ||
tree.cc | ||
valarray-inst.cc | ||
wlocale-inst.cc | ||
wstring-inst.cc |