[libcxx-commits] [PATCH] D110718: [libc++] Implement P1391

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 29 08:00:36 PDT 2021


jloser created this revision.
jloser added reviewers: ldionne, Quuxplusone, Mordante.
jloser requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Implement P1391 <https://reviews.llvm.org/P1391> (https://wg21.link/p1391) which allows
`std::string_view` to be constructible from any contiguous range of
characters.

Note that a different C++20 paper handles the generic range constructor
for `std::string_view`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110718

Files:
  libcxx/docs/Status/Cxx20Papers.csv
  libcxx/include/string_view
  libcxx/test/std/strings/string.view/string.view.cons/deduct.pass.cpp
  libcxx/test/std/strings/string.view/string.view.cons/from_iterator_iterator.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110718.375894.patch
Type: text/x-patch
Size: 5825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210929/77d4e980/attachment.bin>


More information about the libcxx-commits mailing list