operator-(std::move_iterator<Iter>, std::move_sentinel)
From cppreference.com
 
 
 < cpp | iterator | move iterator 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Iterator library 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
 
  
 
 
 
 
 
  
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)(C++20)(C++20)(C++23)(C++20)(C++20)
(deprecated in C++17)
(C++20)
(C++20)
(C++20)(C++20)
  (C++20)
(C++20)
(C++20)
(C++20)
(C++14)
(C++11)
(C++11)
(C++20)(C++20)
(C++20)(C++20)
(C++20)
(C++20)
(C++20)
(C++23)
(C++23)
(C++23)
(C++23)
(C++23)
(C++11)(C++14)
(C++14)(C++14)
  std::move_iterator 
 
 
 
 
 
 
 Member functions
 Non-member functions
(until C++20)(C++20)
(C++20)
operator-(move_sentinel)
(C++20)
(C++20)
(C++20)
(C++11)
template< std::sized_sentinel_for <Iter> S >
 (1) 
 (since C++20) 
friend constexpr std::iter_difference_t <Iter>
template< std::sized_sentinel_for <Iter> S >
 (2) 
 (since C++20) 
friend constexpr std::iter_difference_t <Iter>
Returns the distance between a move_iterator and a move_sentinel.
These function templates are not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when std::move_iterator <Iter> is an associated class of the arguments.
Contents
[edit] Parameters
 i
 -
 std::move_iterator <Iter>
[edit] Return value
1) s.base() - i.base()
2) i.base() - s.base()
[edit] Example
 This section is incomplete
Reason: no example
Reason: no example