Lines Matching refs:Sent
33 using Sent = sentinel_wrapper<int*>; in test() typedef
35 using R = std::ranges::subrange<It, Sent, std::ranges::subrange_kind::unsized>; in test()
36 R r = R(It(a), Sent(It(a + 3))); in test()
38 ASSERT_SAME_TYPE(decltype(std::get<1>(r)), Sent); in test()
40 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<R&&>(r))), Sent); in test()
42 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<const R&>(r))), Sent); in test()
44 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<const R&&>(r))), Sent); in test()
52 using Sent = sentinel_wrapper<int*>; in test() typedef
54 using R = std::ranges::subrange<It, Sent, std::ranges::subrange_kind::sized>; in test()
55 R r = R(It(a), Sent(It(a + 3)), 3); in test()
57 ASSERT_SAME_TYPE(decltype(std::get<1>(r)), Sent); in test()
59 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<R&&>(r))), Sent); in test()
61 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<const R&>(r))), Sent); in test()
63 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<const R&&>(r))), Sent); in test()
72 using Sent = sentinel_wrapper<It>; in test() typedef
74 using R = std::ranges::subrange<It, Sent>; in test()
75 R r = R(It(a), Sent(It(a + 3))); in test()
77 ASSERT_SAME_TYPE(decltype(std::get<1>(r)), Sent); in test()
79 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<R&&>(r))), Sent); in test()
81 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<const R&>(r))), Sent); in test()
83 ASSERT_SAME_TYPE(decltype(std::get<1>(static_cast<const R&&>(r))), Sent); in test()