operator+,-(ranges::chunk_view::iterator)
friend constexpr /*iterator*/ operator+( const /*iterator*/& i, difference_type pos ) |
(1) | (since C++23) |
friend constexpr /*iterator*/ operator+( difference_type pos, const /*iterator*/& i ) |
(2) | (since C++23) |
friend constexpr /*iterator*/ operator-( const /*iterator*/& i, difference_type pos ) |
(3) | (since C++23) |
friend constexpr difference_type operator-( const /*iterator*/& i, const /*iterator*/& j ) |
(4) | (since C++23) |
friend constexpr difference_type operator-( std::default_sentinel_t, const /*iterator*/& i ) |
(5) | (since C++23) |
friend constexpr difference_type operator-( const /*iterator*/& i, std::default_sentinel_t ) |
(6) | (since C++23) |
Performs iterator arithmetic or calculates the distance.
Let current_
, end_
, n_
, and missing_
be the underlying data members.
Equivalent to:
These functions are not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when chunk_view::iterator<Const>
is an associated class of the arguments.
Parameters
i, j | - | the iterators |
pos | - | the position relative to current location |
Return value
Example
This section is incomplete Reason: no example |
See also
advances or decrements the underlying iterator (public member function) |