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 |
|---|---|---|
| .. | ||
| allocator | Loading commit data... | |
| bool | Loading commit data... | |
| capacity | Loading commit data... | |
| cons | Loading commit data... | |
| data_access | Loading commit data... | |
| debug | Loading commit data... | |
| element_access | Loading commit data... | |
| ext_pointer | Loading commit data... | |
| modifiers | Loading commit data... | |
| profile | Loading commit data... | |
| requirements | Loading commit data... | |
| types | Loading commit data... | |
| 14340.cc | Loading commit data... | |
| 15523.cc | Loading commit data... | |
| 18604.cc | Loading commit data... | |
| 26412-1.cc | Loading commit data... | |
| 26412-2.cc | Loading commit data... | |
| 40192.cc | Loading commit data... | |
| check_construct_destroy.cc | Loading commit data... | |
| debug_mode_requires_reallocation-1.cc | Loading commit data... | |
| debug_mode_requires_reallocation-2.cc | Loading commit data... | |
| init-list.cc | Loading commit data... | |
| range_access.cc | Loading commit data... | |
| zero_sized_allocations.cc | Loading commit data... |