75 class iterator:
public std::iterator<std::random_access_iterator_tag, T, difference_type> {
161 return TSeq<T>(begin, end, step);
175 std::ostringstream ret;
176 ret <<
"Sequence of values. Begin: " << *val->
begin()
177 <<
" - End: " << *val->
end()
178 <<
" - Step: " << val->
step();
typename std::make_signed< T >::type difference_type
bool operator==(const iterator &other)
bool operator!=(const iterator &other)
iterator(T start, T step)
std::string printValue(const TDatime &val)
Print a TDatime at the prompt.
A pseudo container class which is a generator of indices.
TSeq(T begin, T end, T step=1)