gcc/libstdc++-v3/testsuite/util
Jonathan Wakely a7d47f3526 PR libstdc++/79254 fix exception-safety in std::string::operator=
PR libstdc++/79254
	* config/abi/pre/gnu.ver: Add new symbols.
	* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::_M_copy_assign): New overloaded functions to perform
	copy assignment.
	(basic_string::operator=(const basic_string&)): Dispatch to
	_M_copy_assign.
	* include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::_M_copy_assign(const basic_string&, true_type)):
	Define, performing rollback on exception.
	* testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
	Test exception-safety guarantee.
	* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
	Likewise.
	* testsuite/util/testsuite_allocator.h (uneq_allocator::swap): Make
	std::swap visible.

From-SVN: r244986
2017-01-27 16:17:04 +00:00
..
common_type Update copyright years. 2017-01-01 13:07:43 +01:00
debug Update copyright years. 2017-01-01 13:07:43 +01:00
exception Update copyright years. 2017-01-01 13:07:43 +01:00
hash_fn Update copyright years. 2017-01-01 13:07:43 +01:00
io Update copyright years. 2017-01-01 13:07:43 +01:00
native_type Update copyright years. 2017-01-01 13:07:43 +01:00
performance Add missing <cassert> include to testcase 2017-01-06 17:51:24 +00:00
regression Update copyright years. 2017-01-01 13:07:43 +01:00
statistic Update copyright years. 2017-01-01 13:07:43 +01:00
thread Update copyright years. 2017-01-01 13:07:43 +01:00
replacement_memory_operators.h Update copyright years. 2017-01-01 13:07:43 +01:00
specfun_testcase.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_abi_check.cc Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_abi.cc Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_abi.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_allocator.cc Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_allocator.h PR libstdc++/79254 fix exception-safety in std::string::operator= 2017-01-27 16:17:04 +00:00
testsuite_api.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_character.cc Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_character.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_common_types.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_container_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_containergen.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_containers.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_counter_type.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_error.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_fs.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_greedy_ops.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_hooks.cc Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_hooks.h Define testsuite macro for correct thread_local destructors 2017-01-09 13:06:03 +00:00
testsuite_io.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_iterators.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_new_operators.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_performance.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_random.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_regex.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_rng.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_rvalref.h Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_shared.cc Update copyright years. 2017-01-01 13:07:43 +01:00
testsuite_tr1.h Update copyright years. 2017-01-01 13:07:43 +01:00