Home
last modified time | relevance | path

Searched defs:DiffTypeIterator (Results 1 – 2 of 2) sorted by relevance

/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/
H A Dranges.count.pass.cpp231 struct DiffTypeIterator { in test() argument
237 constexpr DiffTypeIterator() = default; in test() argument
241 constexpr DiffTypeIterator& operator++() { ++it; return *this; } in test() argument
230 struct DiffTypeIterator { test() struct
232 value_typetest::DiffTypeIterator test() argument
234 ittest::DiffTypeIterator test() argument
239 operator *test::DiffTypeIterator test() argument
240 operator ++test::DiffTypeIterator test() argument
H A Dranges.count_if.pass.cpp252 struct DiffTypeIterator { in test() struct
253 using difference_type = signed char; in test()
254 using value_type = int; in test()
256 int* it = nullptr; in test()
259 constexpr DiffTypeIterator(int* i) : it(i) {} in test() function
261 constexpr int& operator*() const { return *it; } in test()
262 constexpr DiffTypeIterator& operator++() { ++it; return *this; } in test()
263 constexpr void operator++(int) { ++it; } in test()