2011-07-25 Paolo Carlini <paolo.carlini@oracle.com> Nathan Ridge <zeratul976@hotmail.com> PR libstdc++/49836 * include/bits/stl_vector.h (vector<>::_M_emplace_back_aux): Declare. (vector<>::push_back(const value_type&)): Use it. * include/bits/vector.tcc: Define. (vector<>::emplace_back(_Args&&...)): Use it. * testsuite/util/testsuite_tr1.h (CopyConsOnlyType, MoveConsOnlyType): Add. * testsuite/23_containers/vector/modifiers/push_back/49836.cc: New. * testsuite/23_containers/deque/modifiers/push_back/49836.cc: Likewise. * testsuite/23_containers/deque/modifiers/push_front/49836.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. Co-Authored-By: Nathan Ridge <zeratul976@hotmail.com> From-SVN: r176761
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... |