Subtraction operators

Synopses

Declared in <absl/types/any_span.h>

Returns an iterator moved back by d positions.

Iter
operator‐(difference_type d) const;

Returns the distance to another iterator.

difference_type
operator‐(Iter const& other) const;

Return Value

  • The moved iterator.

  • The number of positions from other to this iterator.

Parameters

Name

Description

d

Number of positions to move back.

other

The iterator to measure against.

Created with MrDocs