[v3 PATCH] Inconsistency wrt Allocators in basic_string assignment vs. basic_string::assign (LWG2579)
Nina Dinka Ranns
dinka.ranns@gmail.com
Thu May 9 08:26:00 GMT 2019
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lwg2579.diff
Type: text/x-patch
Size: 5155 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190509/cd8a2f72/attachment.bin>
More information about the Libstdc++
mailing list