Home
last modified time | relevance | path

Searched refs:common_view (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.common.view/
H A Dctad.compile.pass.cpp43 decltype(std::ranges::common_view(v)), in testCTAD()
44 std::ranges::common_view<View> in testCTAD()
47 decltype(std::ranges::common_view(std::move(v))), in testCTAD()
48 std::ranges::common_view<View> in testCTAD()
51 decltype(std::ranges::common_view(r)), in testCTAD()
52 std::ranges::common_view<std::ranges::ref_view<Range>> in testCTAD()
55 decltype(std::ranges::common_view(std::move(r))), in testCTAD()
56 std::ranges::common_view<std::ranges::owning_view<Range>> in testCTAD()
59 decltype(std::ranges::common_view(br)), in testCTAD()
60 std::ranges::common_view<std::ranges::ref_view<BorrowedRange>> in testCTAD()
[all …]
H A Dbegin.pass.cpp36 static_assert( BeginEnabled<std::ranges::common_view<CopyableView> const&>); in test()
37 static_assert( BeginEnabled<std::ranges::common_view<MutableView>&>); in test()
38 static_assert(!BeginEnabled<std::ranges::common_view<MutableView> const&>); in test()
43 std::ranges::common_view<SizedRandomAccessView> common(view); in test()
50 std::ranges::common_view<SizedRandomAccessView> const common(view); in test()
67 std::ranges::common_view<SizedForwardView> common(view); in main()
77 std::ranges::common_view<MoveOnlyView> common(std::move(view)); in main()
85 std::ranges::common_view<CopyableView> const common(view); in main()
H A Dend.pass.cpp30 std::ranges::common_view<SizedRandomAccessView> common(view); in test()
38 std::ranges::common_view<SizedRandomAccessView> const common(view); in test()
58 std::ranges::common_view<SizedForwardView> common(view); in main()
64 std::ranges::common_view<CopyableView> common(view); in main()
72 std::ranges::common_view<SizedForwardView> const common(view); in main()
78 std::ranges::common_view<CopyableView> const common(view); in main()
H A Dsize.pass.cpp28 static_assert( SizeEnabled<std::ranges::common_view<SizedForwardView> const&>); in test()
29 static_assert(!SizeEnabled<std::ranges::common_view<CopyableView> const&>); in test()
34 std::ranges::common_view<SizedForwardView> common(view); in test()
40 std::ranges::common_view<SizedForwardView> const common(view); in test()
H A Dctor.default.pass.cpp23 static_assert(!std::default_initializable<std::ranges::common_view<MoveOnlyView>>); in main()
24 static_assert( std::default_initializable<std::ranges::common_view<DefaultConstructibleView>>); in main()
26 std::ranges::common_view<DefaultConstructibleView> common; in main()
H A Dborrowing.compile.pass.cpp23 static_assert(!std::ranges::borrowed_range<std::ranges::common_view<Uncommon>>);
24 static_assert(!std::ranges::borrowed_range<std::ranges::common_view<std::ranges::owning_view<Uncomm…
25 static_assert( std::ranges::borrowed_range<std::ranges::common_view<std::ranges::ref_view<Uncommon>…
H A Dctor.view.pass.cpp27 std::ranges::common_view<MoveOnlyView> common(std::move(view)); in test()
33 std::ranges::common_view<CopyableView> const common(view); in test()
48 std::ranges::common_view<MoveOnlyView> const common(std::move(view)); in main()
H A Dbase.pass.cpp32 std::ranges::common_view<CopyableView> common(view); in test()
43 std::ranges::common_view<MoveOnlyView> common(std::move(view)); in test()
52 const std::ranges::common_view<CopyableView> common(view); in test()
H A Dadaptor.pass.cpp52 std::same_as<std::ranges::common_view<NonCommonView>> auto result = std::views::common(view); in test()
64 std::same_as<std::ranges::common_view<SomeView>> auto result = view | std::views::common; in test()
74 using Result = std::ranges::common_view<std::ranges::transform_view<SomeView, decltype(f)>>; in test()
85 using Result = std::ranges::transform_view<std::ranges::common_view<SomeView>, decltype(f)>; in test()
/llvm-project-15.0.7/libcxx/include/__ranges/
H A Dcommon_view.h39 class common_view : public view_interface<common_view<_View>> {
44 common_view() requires default_initializable<_View> = default;
47 constexpr explicit common_view(_View __v) : __base_(std::move(__v)) { } in common_view() function
99 common_view(_Range&&)
100 -> common_view<views::all_t<_Range>>;
103 inline constexpr bool enable_borrowed_range<common_view<_View>> = enable_borrowed_range<_View>;
119 noexcept(noexcept(common_view{std::forward<_Range>(__range)}))
120 -> decltype( common_view{std::forward<_Range>(__range)})
121 { return common_view{std::forward<_Range>(__range)}; }
/llvm-project-15.0.7/libcxx/include/
H A Dranges182 class common_view;
193 inline constexpr bool enable_borrowed_range<common_view<T>> = enable_borrowed_range<T>;
279 #include <__ranges/common_view.h>
H A DCMakeLists.txt455 __ranges/common_view.h
H A Dmodule.modulemap.in963 module common_view { private header "__ranges/common_view.h" }
/llvm-project-15.0.7/libcxx/docs/Status/
H A DRangesPaper.csv160 `[range.common] <https://wg21.link/range.common>`_,`common_view <https://llvm.org/D105753>`_,[range…
H A DCxx2bIssues.csv24 "`3405 <https://wg21.link/LWG3405>`__","``common_view``'s converting constructor is bad, too","Nove…
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn516 "__ranges/common_view.h",