itertools::range::constructor

#include <itertools/range.hpp>

Synopsis

  1. range ()
  2. range (long first, long last) noexcept
  3. range (long first, long last, long step)
  4. range (long last)

Documentation

1) Default constructor - Deprecated

Note: For full index range in slicing use range::all

2) Constructor

3) Constructor

4) Constructor

Parameters

  • first: First index of the range

  • last: End of the range (excluded)

  • step: Step-size between two indices