(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) | template <class Iterator1, class Iterator2> bool operator>= (const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs); |
operator on move iterators | equivalent used on base iterators |
---|---|
ma == mb | ba == bb |
ma != mb | !(ba == bb) |
ma < mb | ba < bb |
ma <= mb | !(bb < ba) |
ma > mb | bb < ba |
ma >= mb | !(ba < bb) |
<iterator>
.true
if the condition holds, and false
otherwise.