.TH "std::move_iterator< _Iterator >" 3cxx "Sat Nov 3 2018" "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 "typedef _Iterator \fBiterator_type\fP" .br .ti -1c .RI "typedef _Iterator \fBpointer\fP" .br .ti -1c .RI "typedef conditional< \fBis_reference\fP< __base_ref >::value, typename remove_reference< __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 "\fBmove_iterator\fP (iterator_type __i)" .br .ti -1c .RI "template \fBmove_iterator\fP (const \fBmove_iterator\fP< _Iter > &__i)" .br .ti -1c .RI "iterator_type \fBbase\fP () const" .br .ti -1c .RI "reference \fBoperator*\fP () const" .br .ti -1c .RI "\fBmove_iterator\fP \fBoperator+\fP (difference_type __n) const" .br .ti -1c .RI "\fBmove_iterator\fP & \fBoperator++\fP ()" .br .ti -1c .RI "\fBmove_iterator\fP \fBoperator++\fP (int)" .br .ti -1c .RI "\fBmove_iterator\fP & \fBoperator+=\fP (difference_type __n)" .br .ti -1c .RI "\fBmove_iterator\fP \fBoperator\-\fP (difference_type __n) const" .br .ti -1c .RI "\fBmove_iterator\fP & \fBoperator\-\-\fP ()" .br .ti -1c .RI "\fBmove_iterator\fP \fBoperator\-\-\fP (int)" .br .ti -1c .RI "\fBmove_iterator\fP & \fBoperator\-=\fP (difference_type __n)" .br .ti -1c .RI "pointer \fBoperator\->\fP () const" .br .ti -1c .RI "reference \fBoperator[]\fP (difference_type __n) const" .br .in -1c .SS "Protected Types" .in +1c .ti -1c .RI "typedef __traits_type::reference \fB__base_ref\fP" .br .ti -1c .RI "typedef iterator_traits< _Iterator > \fB__traits_type\fP" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "_Iterator \fB_M_current\fP" .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 1010 of file bits/stl_iterator\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.