operator<,<=,>,>=(std::move_iterator)
From cppreference.com
< cpp | iterator | move iterator
template< class Iterator1, class Iterator2 >
bool operator==( const move_iterator<Iterator1>& lhs, |
(1) | |
template< class Iterator1, class Iterator2 >
bool operator!=( const move_iterator<Iterator1>& lhs, |
(2) | |
template< class Iterator1, class Iterator2 >
bool operator<( const move_iterator<Iterator1>& lhs, |
(3) | |
template< class Iterator1, class Iterator2 >
bool operator<=( const move_iterator<Iterator1>& lhs, |
(4) | |
template< class Iterator1, class Iterator2 >
bool operator>( const move_iterator<Iterator1>& lhs, |
(5) | |
template< class Iterator1, class Iterator2 >
bool operator>=( const move_iterator<Iterator1>& lhs, |
(6) | |
Compares the underlying iterators.
[edit] Parameters
lhs, rhs | - | iterator adaptors to compare |
[edit] 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()
[edit] Example
This section is incomplete Reason: no example |