std::move_iterator<Iter>::operator= (3) - Linux Man Pages

std::move_iterator<Iter>::operator=: std::move_iterator<Iter>::operator=

NAME

std::move_iterator<Iter>::operator= - std::move_iterator<Iter>::operator=

Synopsis


template< class U > (until C++17)
move_iterator& operator=( const move_iterator<U>& other );
template< class U > (since C++17)
constexpr move_iterator& operator=( const move_iterator<U>& other );


The underlying iterator is assigned the value of the underlying iterator of other, i.e. other.base().

Parameters


other - iterator adaptor to assign

Return value


*this

Example


 This section is incomplete
 Reason: no example

See also


              constructs a new iterator adaptor
constructor (public member function)