| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array | ||
| bitset | ||
| deque | ||
| forward_list | ||
| headers | ||
| list | ||
| map | ||
| multimap | ||
| multiset | ||
| priority_queue | ||
| queue | ||
| set | ||
| stack | ||
| unordered_map | ||
| unordered_multimap | ||
| unordered_multiset | ||
| unordered_set | ||
| vector |
2011-06-12 François Dumont <francois.cppdevs@free.fr> Paolo Carlini <paolo.carlini@oracle.com> * include/bits/allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. * include/bits/stl_vector.h (_M_shrink_to_fit): Declare. (shrink_to_fit): Use the latter. * include/debug/vector (shrink_to_fit): Likewise. * include/bits/vector.tcc (_M_shrink_to_fit): Define. * include/bits/stl_deque.h (_M_shrink_to_fit): Declare. (shrink_to_fit): Use the latter. * include/debug/deque (shrink_to_fit): Likewise. * include/bits/deque.tcc (_M_shrink_to_fit): Define. * include/bits/vector.tcc (vector<bool>::_M_reallocate): Add. * include/bits/stl_bvector.h (_M_shrink_to_fit): Declare. (shrink_to_fit): Use the latter. (reserve): Use _M_reallocate, move inline. (_Bvector_base<>::_S_nword): Add, use it throughout. * include/debug/string (shrink_to_fit): Redo. * include/ext/vstring.h (shrink_to_fit): Optimize. * include/bits/basic_string.h (shrink_to_fit): Likewise. * testsuite/21_strings/debug/shrink_to_fit.cc: New. * testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise. * testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc: Likewise. * testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc: Likewise. * testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r174967
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| array | Loading commit data... | |
| bitset | Loading commit data... | |
| deque | Loading commit data... | |
| forward_list | Loading commit data... | |
| headers | Loading commit data... | |
| list | Loading commit data... | |
| map | Loading commit data... | |
| multimap | Loading commit data... | |
| multiset | Loading commit data... | |
| priority_queue | Loading commit data... | |
| queue | Loading commit data... | |
| set | Loading commit data... | |
| stack | Loading commit data... | |
| unordered_map | Loading commit data... | |
| unordered_multimap | Loading commit data... | |
| unordered_multiset | Loading commit data... | |
| unordered_set | Loading commit data... | |
| vector | Loading commit data... |