bc9053abce
2005-12-08 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_vector.h (vector<>::size, resize, capacity, operator[]): Avoid troubles with ADL, user defined operators and __normal_iterator. (_M_erase_at_end): Fix to take a pointer. (clear): Adjust call. * include/bits/vector.tcc (vector<>::insert(iterator, const value_type&), erase(iterator, iterator), operator=(const vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux, _M_fill_insert, _M_range_insert): Likewise. (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust _M_erase_at_end call. * testsuite/23_containers/vector/types/1.cc: New. 2005-12-08 Paolo Carlini <pcarlini@suse.de> PR libstdc++/24617 * include/bits/stl_vector.h (vector<>::_M_erase_at_end): New. (vector<>::clear, resize): Use it. * include/bits/vector.tcc (vector<>::erase(iterator, iterator), _M_fill_assign, _M_assign_aux): Likewise. * testsuite/23_containers/vector/modifiers/erase/1.cc: New. From-SVN: r108227 |
||
---|---|---|
.. | ||
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 |