26 Numerics library [numerics]

26.7 Numeric arrays [numarray]

26.7.4 Class slice [class.slice]

26.7.4.3 slice access functions [slice.access]

size_t start() const; size_t size() const; size_t stride() const;

Returns: The start, length, or stride specified by a slice object.

Complexity: Constant time.