operator for creating range object
make constructors constexpr