Searched defs:infinite_iterator (Results 1 – 2 of 2) sorted by relevance
118 struct infinite_iterator // handles repeat(min, inf)[p] struct120 infinite_iterator(T const min_) in infinite_iterator() function123 typedef T type;124 T start() const { return 0; } in start()125 bool got_max(T /*i*/) const { return false; } in got_max()126 bool got_min(T i) const { return i >= min; } in got_min()128 T const min;
120 struct infinite_iterator struct122 infinite_iterator(T const min) in infinite_iterator() argument125 typedef T type;126 T start() const { return 0; } in start()127 bool got_max(T /*i*/) const { return false; } in got_max()128 bool got_min(T i) const { return i >= min; } in got_min()130 T const min;