]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: _GLIBCXX_DEBUG Fix allocator-extended move constructor
authorFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 26 Mar 2021 20:22:52 +0000 (21:22 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 28 Mar 2021 20:06:33 +0000 (22:06 +0200)
commitd04c246cae674da081e1c9d8ba631560fee2fa91
tree79fc27c8c9b462fcbe779fc100074bc4041943e2
parent46720db72cadfb85501e102d94e06683300a2327
libstdc++: _GLIBCXX_DEBUG Fix allocator-extended move constructor

libstdc++-v3/ChangeLog:

* include/debug/forward_list
(forward_list(forward_list&&, const allocator_type&)): Add noexcept qualification.
* include/debug/list (list(list&&, const allocator_type&)): Likewise and add
call to safe container allocator aware move constructor.
* include/debug/vector (vector(vector&&, const allocator_type&)):
Fix noexcept qualification.
* testsuite/23_containers/forward_list/cons/noexcept_move_construct.cc:
Add allocator-extended move constructor noexceot qualification check.
* testsuite/23_containers/list/cons/noexcept_move_construct.cc: Likewise.
libstdc++-v3/include/debug/forward_list
libstdc++-v3/include/debug/list
libstdc++-v3/include/debug/vector
libstdc++-v3/testsuite/23_containers/forward_list/cons/noexcept_move_construct.cc
libstdc++-v3/testsuite/23_containers/list/cons/noexcept_move_construct.cc