Re: [PATCH] Move allocator in std::string and RB tree move constructors

2016-07-28 Thread Jonathan Wakely
On 22/07/16 16:06 +0100, Jonathan Wakely wrote: The move constructors for strings and RB trees were not move constructing the allocator. PR libstdc++/71964 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string::_Alloc_hider(pointer, _Alloc&&)): Add construc

[PATCH] Move allocator in std::string and RB tree move constructors

2016-07-22 Thread Jonathan Wakely
The move constructors for strings and RB trees were not move constructing the allocator. PR libstdc++/71964 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string::_Alloc_hider(pointer, _Alloc&&)): Add constructor. * include/bits/stl_tree.h (_Rb_tree(