[libcxx-commits] [libcxx] 46afdde - [libcxx][nfc] Update the synopsis comment in <ranges> to include drop_view.
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 24 11:09:34 PDT 2021
Author: zoecarver
Date: 2021-06-24T11:09:25-07:00
New Revision: 46afddec413f8dbdf9775073d9c3b8c83cd6b637
URL: https://github.com/llvm/llvm-project/commit/46afddec413f8dbdf9775073d9c3b8c83cd6b637
DIFF: https://github.com/llvm/llvm-project/commit/46afddec413f8dbdf9775073d9c3b8c83cd6b637.diff
LOG: [libcxx][nfc] Update the synopsis comment in <ranges> to include drop_view.
Added:
Modified:
libcxx/include/ranges
Removed:
################################################################################
diff --git a/libcxx/include/ranges b/libcxx/include/ranges
index 338ea0d04c38..0397363184ba 100644
--- a/libcxx/include/ranges
+++ b/libcxx/include/ranges
@@ -94,6 +94,13 @@ namespace std::ranges {
template<class T>
requires is_object_v<T>
class empty_view;
+
+ // [range.drop], drop view
+ template<view V>
+ class drop_view;
+
+ template<class T>
+ inline constexpr bool enable_borrowed_range<drop_view<T>> = enable_borrowed_range<T>;
}
*/
More information about the libcxx-commits
mailing list