r239370 - in /trunk/libstdc++-v3: ChangeLog inc...

ville@gcc.gnu.org ville@gcc.gnu.org
Thu Aug 11 14:45:00 GMT 2016


Author: ville
Date: Thu Aug 11 14:45:23 2016
New Revision: 239370

URL: https://gcc.gnu.org/viewcvs?rev=239370&root=gcc&view=rev
Log:
	Implement LWG 2758.
	* include/bits/basic_string.h
	(append(__sv_type, size_type, size_type)): Turn into a template,
	change parameter type, constrain, add a conversion to __sv_type
	from the dependent parameter type.
	(assign(__sv_type, size_type, size_type)): Likewise.
	(insert(size_type, __sv_type, size_type, size_type)): Likewise.
	(replace(size_type, size_type, __sv_type, size_type, size_type)):
	Likewise.
	(compare(size_type, size_type,__sv_type, size_type, size_type)):
	Likewise.
	* testsuite/21_strings/basic_string/lwg2758.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/21_strings/basic_string/lwg2758.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/basic_string.h



More information about the Libstdc++-cvs mailing list