PR libstdc++/88084 - Implement LWG 2777
authorJonathan Wakely <jwakely@redhat.com>
Mon, 19 Nov 2018 10:53:59 +0000 (10:53 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 19 Nov 2018 10:53:59 +0000 (10:53 +0000)
commitd86b600d897573373606f052fc76cf9102d4be34
treea51963a8a153c034bccdbdc54355cc5bcf0d1c63
parent0ea52812a8a6c60c580529d1d3dbe144f8e6fc2f
PR libstdc++/88084 - Implement LWG 2777

* include/std/string_view (basic_string_view::copy): Use traits to
copy.
* testsuite/21_strings/basic_string_view/operations/copy/char/2.cc:
New test.
* testsuite/21_strings/basic_string_view/operations/copy/wchar_t/2.cc:
New test.

From-SVN: r266269
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/string_view
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/wchar_t/2.cc [new file with mode: 0644]