2011-06-07 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/move.h (struct __move_if_noexcept_cond): Add. (move_if_noexcept): Use the latter. * include/bits/stl_iterator.h (__make_move_if_noexcept_iterator, _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR): Add. * include/bits/stl_uninitialized.h (__uninitialized_move_if_noexcept_a): Add. * include/bits/vector.tcc (vector<>::reserve): Use _GLIBCXX_MAKE_MOVE_IF_NOEXCEPT_ITERATOR. (vector<>::_M_insert_aux, _M_fill_insert, _M_default_append, _M_range_insert): Use __uninitialized_move_if_noexcept_a. * testsuite/23_containers/vector/modifiers/moveable2.cc: New. * testsuite/23_containers/vector/capacity/resize/moveable2.cc: Likewise. * testsuite/23_containers/vector/capacity/reserve/moveable2.cc: Likewise. From-SVN: r174756
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| common_type | Loading commit data... | |
| debug | Loading commit data... | |
| exception | Loading commit data... | |
| hash_fn | Loading commit data... | |
| io | Loading commit data... | |
| native_type | Loading commit data... | |
| performance | Loading commit data... | |
| regression | Loading commit data... | |
| statistic | Loading commit data... | |
| thread | Loading commit data... | |
| replacement_memory_operators.h | Loading commit data... | |
| testsuite_abi.cc | Loading commit data... | |
| testsuite_abi.h | Loading commit data... | |
| testsuite_abi_check.cc | Loading commit data... | |
| testsuite_allocator.cc | Loading commit data... | |
| testsuite_allocator.h | Loading commit data... | |
| testsuite_api.h | Loading commit data... | |
| testsuite_character.cc | Loading commit data... | |
| testsuite_character.h | Loading commit data... | |
| testsuite_common_types.h | Loading commit data... | |
| testsuite_container_traits.h | Loading commit data... | |
| testsuite_containers.h | Loading commit data... | |
| testsuite_error.h | Loading commit data... | |
| testsuite_greedy_ops.h | Loading commit data... | |
| testsuite_hooks.cc | Loading commit data... | |
| testsuite_hooks.h | Loading commit data... | |
| testsuite_io.h | Loading commit data... | |
| testsuite_iterators.h | Loading commit data... | |
| testsuite_performance.h | Loading commit data... | |
| testsuite_random.h | Loading commit data... | |
| testsuite_rng.h | Loading commit data... | |
| testsuite_rvalref.h | Loading commit data... | |
| testsuite_shared.cc | Loading commit data... | |
| testsuite_tr1.h | Loading commit data... |