aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-03-14 14:51:19 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-03-14 14:51:19 +0000
commit4f83482f4682c397c61d5edf60e39975d704d44e (patch)
treec0330af42a7929961e5bf69a771eaf9e4b6b40e2 /gcc
parent9b74f93310e3c0ff495dd8fb15b547b28e9be506 (diff)
downloadgcc-4f83482f4682c397c61d5edf60e39975d704d44e.zip
gcc-4f83482f4682c397c61d5edf60e39975d704d44e.tar.gz
gcc-4f83482f4682c397c61d5edf60e39975d704d44e.tar.bz2
PR libstdc++/79162 disambiguate assignment from string_view
PR libstdc++/79162 * include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string<C,T,A>::operator=(basic_string_view<C,T>)): Replace with a constrained template. [!_GLIBCXX_USE_CXX11_ABI] (basic_string<C,T,A>::operator=(basic_string_view<C,T>)): Likewise. * testsuite/21_strings/basic_string/cons/char/79162.cc: New test. * testsuite/21_strings/basic_string/cons/wchar_t/79162.cc: New test. From-SVN: r246128
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions