std::reverse_iterator<Iter>::operator= (3) - Linux Manuals

std::reverse_iterator<Iter>::operator=: std::reverse_iterator<Iter>::operator=

NAME

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

Synopsis


template< class U > (until C++17)
reverse_iterator& operator=( const reverse_iterator<U>& other );
template< class U > (since C++17)
constexpr reverse_iterator& operator=( const reverse_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)