aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2016-08-11 17:45:23 +0300
committerVille Voutilainen <ville@gcc.gnu.org>2016-08-11 17:45:23 +0300
commit68a51b68bd6c04b937bd1283279cd1203d0e4a16 (patch)
tree25fbfc32a1ac472c3780e5c66a6ef0e9c4ad66b7 /gcc
parent3f1b33737d6392133cdc0f86100d1d0df977a984 (diff)
downloadgcc-68a51b68bd6c04b937bd1283279cd1203d0e4a16.zip
gcc-68a51b68bd6c04b937bd1283279cd1203d0e4a16.tar.gz
gcc-68a51b68bd6c04b937bd1283279cd1203d0e4a16.tar.bz2
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. From-SVN: r239370
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions