26 Numerics library [numerics]

26.6 Numeric arrays [numarray]

26.6.4 Class slice [class.slice]

26.6.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.