aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2020-07-03 08:13:19 +0200
committerFrançois Dumont <fdumont@gcc.gnu.org>2020-07-08 08:02:16 +0200
commitc832cf1c1d114aed70c2f84566cf4d63de0a56d0 (patch)
tree3ad06482bfec1acc87dd302917afe424385ecef1 /gcc
parentfccb41b909cb207174d3270ce69e6729e2db28fa (diff)
downloadgcc-c832cf1c1d114aed70c2f84566cf4d63de0a56d0.zip
gcc-c832cf1c1d114aed70c2f84566cf4d63de0a56d0.tar.gz
gcc-c832cf1c1d114aed70c2f84566cf4d63de0a56d0.tar.bz2
libstdc++: Fix [multi]map/[multi]set move constructors noexcept qualification
Container move constructors shall not consider their allocator move constructor qualification. libstdc++-v3/ChangeLog: * include/bits/stl_tree.h (_Rb_tree_impl(_Rb_tree_impl&&)): Add noexcept qualification based only on _Compare one. * testsuite/23_containers/map/cons/noexcept_move_construct.cc: Add static asserts. * testsuite/23_containers/multimap/cons/noexcept_move_construct.cc: Likewise. * testsuite/23_containers/multiset/cons/noexcept_move_construct.cc: Likewise. * testsuite/23_containers/set/cons/noexcept_move_construct.cc: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions