المتغيرات
فضاءات التسمية
أفعال

operator-({{{1}}})

من cppreference.com
template< class Iterator >

typename reverse_iterator<Iterator>::difference_type
    operator-( const <Iterator>& lhs,

               const <Iterator>& rhs );
(until C++11)
template< class Iterator1, class Iterator2 >

auto operator-( const <Iterator1>& lhs,

                const <Iterator2>& rhs ) -> decltype(rhs.base() - lhs.base());
(until C++11)

Returns the distance between two iterator adaptors.

[تعديل] Parameters

lhs, rhs - iterator adaptors to compute the difference of

[تعديل] Return value

rhs.base() - lhs.base()

[تعديل] Example