Namespaces
Variants
Views
Actions

std::reverse_iterator::operator=

From cppreference.com
< cpp‎ | iterator‎ | reverse iterator
Revision as of 14:47, 2 November 2012 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
template< class U >
reverse_iterator& operator=( const reverse_iterator<U>& other );

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

Contents

[edit] Parameters

other - iterator adaptor to assign

[edit] Return value

*this

[edit] Example

[edit] See also

constructs a new iterator adaptor
(public member function) [edit]