Searched refs:CountIter (Results 1 – 2 of 2) sorted by relevance
189 class CountIter : public std::iterator<std::forward_iterator_tag, size_t, size_t, size_t, size_t> {191 CountIter() : count_(0) {} in CountIter() function192 explicit CountIter(size_t count) : count_(count) {} in CountIter() function193 CountIter& operator++() {197 CountIter operator++(int) {200 return CountIter(ret);202 bool operator==(const CountIter& other) const {205 bool operator!=(const CountIter& other) const {218 static inline IterationRange<ZipLeftIter<Iter, CountIter>> ZipCount(IterationRange<Iter> iter) { in ZipCount()219 return IterationRange(ZipLeftIter(iter.begin(), CountIter(0)), in ZipCount()[all …]
2125 using HConstEnvInputRef = TransformIterator<CountIter, EnvInputSelector>;2127 IterationRange<CountIter> range(Range(Size())); in GetEnvInputs()