0cb855b7a6
2005-12-09 Paolo Carlini <pcarlini@suse.de> Howard Hinnant <hhinnant@apple.com> PR libstdc++/25288 * include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert): Remove. (_M_initialize_dispatch, _M_fill_initialize): Add. (list(size_type, const value_type&, const allocator_type&), list(const list&), list(_InputIterator, _InputIterator, const allocator_type&): Use the latter. (insert(iterator, size_type, const value_type&), insert(iterator, _InputIterator, _InputIterator)): Use construction & splice. * testsuite/23_containers/list/modifiers/insert/25288.cc: New. * testsuite/testsuite_allocator.h (class throw_allocator): Add. * include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments. Co-Authored-By: Howard Hinnant <hhinnant@apple.com> From-SVN: r108313 |
||
---|---|---|
.. | ||
17_intro | ||
18_support | ||
19_diagnostics | ||
20_util | ||
21_strings | ||
22_locale | ||
23_containers | ||
24_iterators | ||
25_algorithms | ||
26_numerics | ||
27_io | ||
backward | ||
config | ||
data | ||
demangle | ||
ext | ||
lib | ||
libstdc++-abi | ||
libstdc++-dg | ||
performance | ||
thread | ||
tr1 | ||
Makefile.am | ||
Makefile.in | ||
testsuite_abi_check.cc | ||
testsuite_abi.cc | ||
testsuite_abi.h | ||
testsuite_allocator.cc | ||
testsuite_allocator.h | ||
testsuite_character.cc | ||
testsuite_character.h | ||
testsuite_common_types.h | ||
testsuite_hooks.cc | ||
testsuite_hooks.h | ||
testsuite_io.h | ||
testsuite_iterators.h | ||
testsuite_performance.h | ||
testsuite_shared.cc | ||
testsuite_tr1.h | ||
testsuite_visualization.h |