vector.tcc (vector<>operator=(const vector<>&): Reset pointers after deallocation when memory can be reused. 2013-03-08 François Dumont <fdumont@gcc.gnu.org> * include/bits/vector.tcc (vector<>operator=(const vector<>&): Reset pointers after deallocation when memory can be reused. * testsuite/23_containers/vector/allocator/minimal.cc: Insert elements to really challenge C++11 allocator integration. * testsuite/23_containers/vector/allocator/copy.cc: Likewise. * testsuite/23_containers/vector/allocator/copy_assign.cc: Likewise. * testsuite/23_containers/vector/allocator/move_assign.cc: Likewise. * testsuite/23_containers/vector/allocator/swap.cc: Likewise and swap vector back before checks on memory/personality mapping are performed. * testsuite/23_containers/forward_list/allocator/minimal.cc: Insert element to really challenge C++11 allocator integration. * testsuite/23_containers/forward_list/allocator/copy.cc: Likewise. * testsuite/23_containers/forward_list/allocator/copy_assign.cc: Likewise. * testsuite/23_containers/forward_list/allocator/move_assign.cc: Likewise. * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise and swap forward_list back before checks on memory/personality mapping are performed. From-SVN: r196557
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... | |
52591.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... |