aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2014-10-31 20:49:40 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2014-10-31 20:49:40 +0000
commitccd615e3fdf2d2b80577d27e884884e9f758e8ea (patch)
treeb2e6ecad35b86d5807204670bcf8e10569378ee0 /gcc
parent9ccb17b4c47e4c43367cc78059d5deac32672de8 (diff)
downloadgcc-ccd615e3fdf2d2b80577d27e884884e9f758e8ea.zip
gcc-ccd615e3fdf2d2b80577d27e884884e9f758e8ea.tar.gz
gcc-ccd615e3fdf2d2b80577d27e884884e9f758e8ea.tar.bz2
Make std::vector<bool> meet C++11 allocator requirements.
* include/bits/stl_bvector.h (_Bvector_base): Use allocator_traits. (_Bvector_base::_Bvector_impl): Use allocator's pointer type. (_Bvector_base::_M_end_addr()): Convert to raw pointer. (vector<bool>): Use allocator_traits and _M_end_addr. Add allocator extended constructors. * include/bits/vector.tcc (vector<bool>): Use allocator_traits and _M_end_addr. * testsuite/23_containers/vector/bool/allocator/copy.cc: New. * testsuite/23_containers/vector/bool/allocator/minimal.cc: New. * testsuite/23_containers/vector/bool/allocator/noexcept.cc: New. * testsuite/23_containers/vector/bool/allocator/copy_assign.cc: New. * testsuite/23_containers/vector/bool/allocator/move.cc: New. * testsuite/23_containers/vector/bool/allocator/swap.cc: New. * testsuite/23_containers/vector/bool/allocator/ext_ptr.cc: New. * testsuite/23_containers/vector/bool/allocator/move_assign.cc: New. From-SVN: r216988
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions