Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
H A Dtuple.include.ranges.pass.cpp23 class SizedSentinel { class
26 friend constexpr ptrdiff_t operator-(const SizedSentinel&, int*);
27 friend constexpr ptrdiff_t operator-(int*, const SizedSentinel&);
30 static_assert(std::sized_sentinel_for<SizedSentinel, Iterator>);
31 using SizedRange = std::ranges::subrange<Iterator, SizedSentinel>;
58 static_assert(test_tuple_element<1, SizedRange, SizedSentinel>()); in main()