Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/
H A Dctor.other.pass.cpp20 struct convertible_sentinel_wrapper { struct
21 explicit convertible_sentinel_wrapper() = default;
22 constexpr convertible_sentinel_wrapper(const T& it) : it_(it) {} in convertible_sentinel_wrapper() argument
26 …constexpr convertible_sentinel_wrapper(const convertible_sentinel_wrapper<U>& other) : it_(other.i… in convertible_sentinel_wrapper() argument
28 constexpr friend bool operator==(convertible_sentinel_wrapper const& self, const T& other) { in operator ==()
39 …constexpr convertible_sentinel_wrapper<int*> end() { return convertible_sentinel_wrapper<int*>(buf… in end() argument
40 constexpr convertible_sentinel_wrapper<const int*> end() const { in end()
41 return convertible_sentinel_wrapper<const int*>(buffer_ + size_); in end()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/sentinel/
H A Dctor.other.pass.cpp21 struct convertible_sentinel_wrapper { struct
22 explicit convertible_sentinel_wrapper() = default;
23 constexpr convertible_sentinel_wrapper(const T& it) : it_(it) {} in convertible_sentinel_wrapper() argument
27 …constexpr convertible_sentinel_wrapper(const convertible_sentinel_wrapper<U>& other) : it_(other.i… in convertible_sentinel_wrapper() function
29 constexpr friend bool operator==(convertible_sentinel_wrapper const& self, const T& other) { in operator ==()
38 using sentinel = convertible_sentinel_wrapper<BufferView<int*>*>; argument
39 using const_sentinel = convertible_sentinel_wrapper<const BufferView<int*>*>;