Megosztás a következőn keresztül:


move_iterator::operator+=

Adds an offset to the stored iterator, so that the stored iterator points to the element at the new current location. The operator then moves the new current element.

move_iterator& operator+=(
    difference_type _Off
);

Parameters

  • _Off
    An offset to add to the current position to determine the new current position.

Return Value

Returns the new current element.

Remarks

The operator adds _Off to the stored iterator. Then returns *this.

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

move_iterator Class

<iterator>

Standard Template Library