libstdc++: add range constructor for std::string_view (P1391R4)
authorJonathan Wakely <jwakely@redhat.com>
Sun, 17 Nov 2019 01:32:55 +0000 (01:32 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 17 Nov 2019 01:32:55 +0000 (01:32 +0000)
commit8857080c81761eb1344c3b5404b5e25e9cc949eb
tree540c435e1caf44d2761d188db56b20b96d913759
parent37f33df706851a00b2f5c0d429f6b273e8ab0029
libstdc++: add range constructor for std::string_view (P1391R4)

* include/std/string_view (basic_string_view(It, End)): Add range
constructor and deduction guide from P1391R4.
* testsuite/21_strings/basic_string_view/cons/char/range.cc: New test.

From-SVN: r278371
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/string_view
libstdc++-v3/testsuite/21_strings/basic_string_view/cons/char/range.cc [new file with mode: 0644]