gcc/libstdc++-v3/testsuite/21_strings
Nina Dinka Ranns 046af809f3 LWG2788 basic_string spurious use of a default constructible allocator
This only change the cxx11 basic_string, because COW strings don't
correctly propagate allocators anyway.

2019-05-30  Nina Dinka Ranns  <dinka.ranns@gmail.com>

	LWG2788 basic_string spurious use of a default constructible allocator
	* include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::_M_replace_dispatch): Construct temporary string with
	the current allocator.
	* testsuite/21_strings/basic_string/allocator/char/lwg2788.cc: New.
	* testsuite/21_strings/basic_string/allocator/wchar_t/lwg2788.cc: New.

From-SVN: r271789
2019-05-30 20:48:48 +01:00
..
basic_string LWG2788 basic_string spurious use of a default constructible allocator 2019-05-30 20:48:48 +01:00
basic_string_view Fix basic_string_view typedefs and enforce preconditions 2019-04-24 16:17:53 +01:00
c_strings Update copyright years. 2019-01-01 13:31:55 +01:00
char_traits/requirements P0482R5 char8_t: Updates to existing standard library tests 2019-02-22 01:16:08 +00:00
debug Update copyright years. 2019-01-01 13:31:55 +01:00
headers P0482R5 char8_t: Updates to existing standard library tests 2019-02-22 01:16:08 +00:00