◐ Shell
clean mode source ↗

operator<,<=,>,>=(std::move_iterator) - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

template< class Iterator1, class Iterator2 > bool operator==( const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs );

(1)

template< class Iterator1, class Iterator2 > bool operator!=( const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs );

(2)

template< class Iterator1, class Iterator2 > bool operator<( const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs );

(3)

template< class Iterator1, class Iterator2 > bool operator<=( const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs );

(4)

template< class Iterator1, class Iterator2 > bool operator>( const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs );

(5)

template< class Iterator1, class Iterator2 > bool operator>=( const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs );

(6)

Compares the underlying iterators.

Parámetros

lhs, rhs - iterator adaptors to compare

Return Value

1) lhs.base() == rhs.base()

2) lhs.base() != rhs.base()

3) lhs.base() < rhs.base()

4) lhs.base() <= rhs.base()

5) lhs.base() > rhs.base()

6) lhs.base() >= rhs.base()

Ejemplo