Lines Matching refs:common
32 std::ranges::common_view<CopyableView> common(view); in test() local
33 assert(common.base().begin_ == buf); in test()
34 assert(std::move(common).base().begin_ == buf); in test()
36 ASSERT_SAME_TYPE(decltype(common.base()), CopyableView); in test()
37 ASSERT_SAME_TYPE(decltype(std::move(common).base()), CopyableView); in test()
38 static_assert(hasLValueQualifiedBase(common)); in test()
43 std::ranges::common_view<MoveOnlyView> common(std::move(view)); in test() local
44 assert(std::move(common).base().begin_ == buf); in test()
46 ASSERT_SAME_TYPE(decltype(std::move(common).base()), MoveOnlyView); in test()
47 static_assert(!hasLValueQualifiedBase(common)); in test()
52 const std::ranges::common_view<CopyableView> common(view); in test() local
53 assert(common.base().begin_ == buf); in test()
54 assert(std::move(common).base().begin_ == buf); in test()
56 ASSERT_SAME_TYPE(decltype(common.base()), CopyableView); in test()
57 ASSERT_SAME_TYPE(decltype(std::move(common).base()), CopyableView); in test()
58 static_assert(hasLValueQualifiedBase(common)); in test()