operator-(std::move_iterator<Iter>, std::move_sentinel)

Returns the distance between a move_iterator and a move_sentinel.

# Declarations

template< std::sized_sentinel_for<Iter> S >
friend constexpr std::iter_difference_t<Iter>
operator-( const std::move_sentinel<S>& s, const move_iterator& i );

(since C++20)

template< std::sized_sentinel_for<Iter> S >
friend constexpr std::iter_difference_t<Iter>
operator-( const move_iterator& i, const std::move_sentinel<S>& s );

(since C++20)

# Parameters

# Example

This section is incompleteReason: no example

# See also