OSDN Git Service

* include/bits/allocator.h (__shrink_to_fit_aux::_S_do_it): Create
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 21:14:03 +0000 (21:14 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 21:14:03 +0000 (21:14 +0000)
commit593a3fb38532b1dbff317aad43640c29f5462598
tree8c75f00fd0fc61e236df531630752c1eab7a8d8f
parent23371076addef1c1a970ab4bb29c99ade876f289
* include/bits/allocator.h (__shrink_to_fit_aux::_S_do_it): Create
the new object with the same allocator.
* testsuite/23_containers/vector/capacity/shrink_to_fit2.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181235 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/allocator.h
libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit2.cc [new file with mode: 0644]