.TH "std::move_iterator< _Iterator >" 3cxx "Sun Jan 10 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::move_iterator< _Iterator > .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef __traits_type::difference_type \fBdifference_type\fP" .br .ti -1c .RI "typedef __traits_type::iterator_category \fBiterator_category\fP" .br .ti -1c .RI "using \fBiterator_type\fP = _Iterator" .br .ti -1c .RI "typedef _Iterator \fBpointer\fP" .br .ti -1c .RI "typedef \fBconditional\fP< \fBis_reference\fP< __base_ref >::value, typename \fBremove_reference\fP< __base_ref >::type &&, __base_ref >::type \fBreference\fP" .br .ti -1c .RI "typedef __traits_type::value_type \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "template constexpr \fBmove_iterator\fP (const \fBmove_iterator\fP< _Iter > &__i)" .br .ti -1c .RI "constexpr \fBmove_iterator\fP (iterator_type __i)" .br .ti -1c .RI "constexpr iterator_type \fBbase\fP () const" .br .ti -1c .RI "constexpr reference \fBoperator*\fP () const" .br .ti -1c .RI "constexpr \fBmove_iterator\fP \fBoperator+\fP (difference_type __n) const" .br .ti -1c .RI "constexpr \fBmove_iterator\fP & \fBoperator++\fP ()" .br .ti -1c .RI "constexpr \fBmove_iterator\fP \fBoperator++\fP (int)" .br .ti -1c .RI "constexpr \fBmove_iterator\fP & \fBoperator+=\fP (difference_type __n)" .br .ti -1c .RI "constexpr \fBmove_iterator\fP \fBoperator\-\fP (difference_type __n) const" .br .ti -1c .RI "constexpr \fBmove_iterator\fP & \fBoperator\-\-\fP ()" .br .ti -1c .RI "constexpr \fBmove_iterator\fP \fBoperator\-\-\fP (int)" .br .ti -1c .RI "constexpr \fBmove_iterator\fP & \fBoperator\-=\fP (difference_type __n)" .br .ti -1c .RI "constexpr pointer \fBoperator\->\fP () const" .br .ti -1c .RI "constexpr reference \fBoperator[]\fP (difference_type __n) const" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::move_iterator< _Iterator >" Class template move_iterator is an iterator adapter with the same behavior as the underlying iterator except that its dereference operator implicitly converts the value returned by the underlying iterator's dereference operator to an rvalue reference\&. Some generic algorithms can be called with move iterators to replace copying with moving\&. .PP Definition at line 1286 of file bits/stl_iterator\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.