[libcxx-commits] [PATCH] D102426: [libcxx][ranges] Implement `ranges::borrowed_range`.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 13 11:44:00 PDT 2021
Mordante added a comment.
Wasn't this already in the subrange patch?
================
Comment at: libcxx/test/std/ranges/range.range/borrowed_range.compile.pass.cpp:63
+static_assert( std::ranges::borrowed_range<const BorrowedRange&>);
+static_assert( std::ranges::borrowed_range<BorrowedRange&&>);
----------------
Can you test with some standard library types, for example `std:;string`, `std::vector`, `std::string_view`, and `std::span`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102426/new/
https://reviews.llvm.org/D102426
More information about the libcxx-commits
mailing list