This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Move allocator in std::string and RB tree move constructors
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Jul 2016 21:49:06 +0100
- Subject: Re: [PATCH] Move allocator in std::string and RB tree move constructors
- Authentication-results: sourceware.org; auth=none
- References: <20160722150642.GA22965@redhat.com>
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 constructor.
This new constructor adds a new symbol, which needs a new symbol
version (so the abi-check is failing currently).
I'll update the baselines and add that new version, and then I can
also un-revert the basic_string::allocator_type::pointer changes I did
recently.