operator-(std::basic_const_iterator)

Returns the distance between basic_const_iterator and its sentinel.

# Declarations

template< std::sized_sentinel_for<Iter> S >
constexpr difference_type operator-( const S& s ) const;

(since C++23)

template< /*not-a-const-iterator*/ S >
requires std::sized_sentinel_for<S, Iter>
friend constexpr difference_type
operator-( const S& s, const basic_const_iterator& i );

(since C++23)

# Parameters

# Example

This section is incompleteReason: no example