Searched defs:finite_iterator (Results 1 – 2 of 2) sorted by relevance
99 struct finite_iterator // handles repeat(min, max)[p] struct101 finite_iterator(T const min_, T const max_) in finite_iterator() function105 typedef T type;106 T start() const { return 0; } in start()107 bool got_max(T i) const { return i >= max; } in got_max()108 bool got_min(T i) const { return i >= min; } in got_min()110 T const min;111 T const max;
100 struct finite_iterator struct102 finite_iterator(T const min, T const max) in finite_iterator() function106 typedef T type;107 T start() const { return 0; } in start()108 bool got_max(T i) const { return i >= max; } in got_max()109 bool got_min(T i) const { return i >= min; } in got_min()111 T const min;112 T const max;