69 static_assert(std::is_integral<T>::value,
"Only integral types are supported.");
81 TSeq(T theBegin, T theEnd, T theStep = 1):
153 return (other - *
this) > 0;
156 return other < *
this;
159 return !(*
this > other);
162 return !(other > *
this);
215 return TSeq<T>(begin, end, step);
229 std::ostringstream ret;
230 ret <<
"A sequence of values: " << *val->
begin()
231 <<
" <= i < " << *val->
end();
232 auto step = val->
step();
234 ret <<
" in steps of " << step;
typename std::make_signed< T >::type difference_type
std::random_access_iterator_tag iterator_category
iterator(T start, T step)
bool operator>=(const iterator &other) const
iterator operator-(difference_type v) const
const T operator[](const difference_type &v) const
bool operator!=(const iterator &other) const
bool operator>(const iterator &other) const
iterator & operator-=(const difference_type &v)
iterator & operator+=(const difference_type &v)
difference_type operator-(const iterator &other) const
bool operator==(const iterator &other) const
bool operator<(const iterator &other) const
iterator operator+(difference_type v) const
bool operator<=(const iterator &other) const
A pseudo container class which is a generator of indices.
typename std::make_signed< T >::type difference_type
TSeq(T theBegin, T theEnd, T theStep=1)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...