Example #1
0
 move_iterator(const move_iterator<U>& u)
    :  m_it(u.base())
 {}
Example #2
0
 friend move_iterator operator+(difference_type n, const move_iterator& x)
 {  return move_iterator(x.base() + n);   }
Example #3
0
 friend difference_type operator-(const move_iterator& x, const move_iterator& y)
 {  return x.base() - y.base();   }
Example #4
0
 friend bool operator>=(const move_iterator& x, const move_iterator& y)
 {  return x.base() >= y.base();  }
Example #5
0
 friend bool operator< (const move_iterator& x, const move_iterator& y)
 {  return x.base() < y.base();   }
Example #6
0
 move_iterator(const move_iterator<ConvertibleTo<I> >& u) :
   current_{u.base()} {}