operator-(reverse_iterator)
Aus cppreference.com
<metanoindex/>
<tbody> </tbody> template< class Iterator > typename reverse_iterator<Iterator>::difference_type operator-( const reverse_iterator<Iterator>& lhs, const reverse_iterator<Iterator>& rhs ); |
(bis C + +11) | |
template< class Iterator1, class Iterator2 > auto operator-( const reverse_iterator<Iterator1>& lhs, const reverse_iterator<Iterator2>& rhs ) -> decltype(rhs.base() - lhs.base()); |
(seit C++11) | |
Gibt den Abstand zwischen zwei Iterator-Adapter .
Original:
Returns the distance between two iterator adaptors.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parameter
| lhs, rhs | - | Iterator-Adapter zur Berechnung der Differenz
Original: iterator adaptors to compute the difference of The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rückgabewert
rhs.base() - lhs.base()
