名前空間
変種
操作

operator-(reverse_iterator)

提供: cppreference.com

 
 
 
std::reverse_iterator
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
reverse_iterator::reverse_iterator
reverse_iterator::operator=
reverse_iterator::base
reverse_iterator::operator*
reverse_iterator::operator->
reverse_iterator::operator[]
reverse_iterator::operator++
reverse_iterator::operator+
reverse_iterator::operator+=
reverse_iterator::operator--
reverse_iterator::operator-
reverse_iterator::operator-=
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator==
operator!=
operator<
operator>
operator+
operator-
 
template< class Iterator >

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

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

auto operator-( const reverse_iterator<Iterator1>& lhs,

                const reverse_iterator<Iterator2>& rhs ) -> decltype(rhs.base() - lhs.base());
(C++11およびそれ以降)
2イテレータアダプタ間の距離を返します。.
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.

[編集] パラメータ

lhs, rhs -
の差を計算するためのイテレータアダプタ
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.

[編集] 値を返します

rhs.base() - lhs.base()

[編集]