for-range-examples.cpp | 30 T it, step; member in class:value_range_detail::value_range_step_iter 32 value_range_step_iter(const T &it, const T &step) : it(it), step(step) {} 35 value_range_step_iter &operator++() { it += step; return *this; } 40 T it, step, end_; member in class:value_range_detail::value_range_step 42 value_range_step(const T &it, const T &end, const T &step) : 43 it(it), end_(end), step(step) {} 45 iterator begin() const { return iterator(it, step); } [all...] |