operator<,<=,>,>=(std::move_iterator)
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> 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.
Parameter
| 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()Beispiel
| This section is incomplete Reason: no example |