1 #ifndef SAKI_INT_ITER_H 2 #define SAKI_INT_ITER_H 17 constexpr
explicit IntIter(
int c) : mCurr(c) {}
20 using iterator_category = std::input_iterator_tag;
21 using difference_type = int;
24 using reference = T &;
31 IntIter &operator++() noexcept
37 bool operator==(IntIter that)
const noexcept
39 return mCurr == that.mCurr;
42 bool operator!=(IntIter that)
const noexcept
44 return !(*
this == that);
53 template<
typename T,
int END>
77 #endif // SAKI_INT_ITER_H Definition: int_iter.h:14
Definition: int_iter.h:54