[v3 PATCH] Inconsistency wrt Allocators in basic_string assignment vs. basic_string::assign (LWG2579)
Jonathan Wakely
jwakely@redhat.com
Tue May 14 11:49:00 GMT 2019
On 09/05/19 09:26 +0100, Nina Dinka Ranns wrote:
>Tested on Linux x86_64
>Inconsistency wrt Allocators in basic_string assignment vs.
>basic_string::assign (LWG2579)
>
>2019-05-09 Nina Dinka Ranns <dinka.ranns@gmail.com>
> Inconsistency wrt Allocators in basic_string assignment vs.
>basic_string::assign (LWG2579)
> * include/bits/basic_string.h:
> operator=(const basic_string& __str): moved allocator
>decision from operator= to assign
> assign(const basic_string& __str): moved allocator decision
>from operator= to assign
> * testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
>Adding tests
> * testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
>Adding tests
Tested and committed to trunk (with some ChangeLog reformatting,
please take a look at the ChangeLog entry I committed for future
reference).
Thanks!
More information about the Libstdc++
mailing list