aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-10 10:29:52 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-10 22:05:22 +0100
commitc5efc6eca8e3eee7038ae218cf7e2dbe9ed9d82a (patch)
treefe988dbbe222495378317a536125a0aa1582041b /gcc
parentcda469a59e222496248025e0834a15d466f79d4a (diff)
downloadgcc-c5efc6eca8e3eee7038ae218cf7e2dbe9ed9d82a.zip
gcc-c5efc6eca8e3eee7038ae218cf7e2dbe9ed9d82a.tar.gz
gcc-c5efc6eca8e3eee7038ae218cf7e2dbe9ed9d82a.tar.bz2
libstdc++: Use direct-initialization for std::vector<bool>'s allocator [PR115854]
The consensus in the standard committee is that this change shouldn't be necessary, and the Allocator requirements should require conversions between rebound allocators to be implicit. But we can make it work for now anyway. libstdc++-v3/ChangeLog: PR libstdc++/115854 * include/bits/stl_bvector.h (_Bvector_base): Convert allocator to rebound type explicitly. * testsuite/23_containers/vector/allocator/115854.cc: New test. * testsuite/23_containers/vector/bool/allocator/115854.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions