std::move_iterator
std::move_iterator
Defined in header <iterator> | ||
---|---|---|
template< class Iterator > class move_iterator; | (since C++11) |
std::move_iterator
is an iterator adaptor which behaves exactly like the underlying iterator (which must be at least an InputIterator
), except that dereferencing converts the value returned by the underlying iterator into an rvalue. If this iterator is used as an input iterator, the effect is that the values are moved from, rather than co