template< class U > move_iterator& operator=( const move_iterator<U>& other ); | (until C++17) | |
template< class U > constexpr move_iterator& operator=( const move_iterator<U>& other ); | (since C++17) |
Copy assignment operator. The underlying iterator is assigned the value of the underlying iterator of other
, i.e. other.base()
.
other | - | iterator adaptor to assign |
*this
.
constructs a new iterator adaptor (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/iterator/move_iterator/operator=