[libcxx-commits] [PATCH] D90999: [libc++] Implements ranges::enable_borrowed_range

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 25 02:48:28 PST 2020


Mordante updated this revision to Diff 307561.
Mordante edited the summary of this revision.
Mordante added a comment.

Move the enable_borrowed_range to a helper header to avoid including <ranges> in <span> and <string_view> as suggested by @miscco.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90999/new/

https://reviews.llvm.org/D90999

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__ranges_enable_helpers
  libcxx/include/module.modulemap
  libcxx/include/ranges
  libcxx/include/span
  libcxx/include/string_view
  libcxx/test/libcxx/double_include.sh.cpp
  libcxx/test/libcxx/ranges/version.compile.pass.cpp
  libcxx/test/std/containers/views/enable_borrowed_range.compile.pass.cpp
  libcxx/test/std/ranges/range.range/enable_borrowed_range.compile.pass.cpp
  libcxx/test/std/strings/string.view/enable_borrowed_range.compile.pass.cpp
  libcxx/www/cxx2a_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90999.307561.patch
Type: text/x-patch
Size: 27600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201125/576197a5/attachment-0001.bin>


More information about the libcxx-commits mailing list