29 Numerics library [numerics]

29.7 Numeric arrays [numarray]

29.7.4 Class slice [class.slice]

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