.TH "__gnu_pbds::lu_move_to_front_policy< _Alloc >" 3cxx "Sun Jan 6 2013" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::lu_move_to_front_policy< _Alloc > \- .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef _Alloc \fBallocator_type\fP" .br .ti -1c .RI "typedef .br __rebind_m::other::reference \fBmetadata_reference\fP" .br .ti -1c .RI "typedef \fBnull_type\fP \fBmetadata_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBmetadata_type\fP \fBoperator()\fP () const " .br .ti -1c .RI "bool \fBoperator()\fP (\fBmetadata_reference\fP r_metadata) const " .br .in -1c .SH "Detailed Description" .PP .SS "template>class __gnu_pbds::lu_move_to_front_policy< _Alloc >" A list-update policy that unconditionally moves elements to the front of the list\&. A null type means that each link in a list-based container does not actually need metadata\&. .PP Definition at line 58 of file list_update_policy\&.hpp\&. .SH "Member Typedef Documentation" .PP .SS "template> typedef __rebind_m::other::reference \fB__gnu_pbds::lu_move_to_front_policy\fP< _Alloc >::\fBmetadata_reference\fP" .PP Reference to metadata on which this functor operates\&. .PP Definition at line 71 of file list_update_policy\&.hpp\&. .SS "template> typedef \fBnull_type\fP \fB__gnu_pbds::lu_move_to_front_policy\fP< _Alloc >::\fBmetadata_type\fP" .PP Metadata on which this functor operates\&. .PP Definition at line 64 of file list_update_policy\&.hpp\&. .SH "Member Function Documentation" .PP .SS "template> \fBmetadata_type\fP \fB__gnu_pbds::lu_move_to_front_policy\fP< _Alloc >::operator() () const\fC [inline]\fP" .PP Creates a metadata object\&. .PP Definition at line 75 of file list_update_policy\&.hpp\&. .SS "template> bool \fB__gnu_pbds::lu_move_to_front_policy\fP< _Alloc >::operator() (\fBmetadata_reference\fPr_metadata) const\fC [inline]\fP" .PP Decides whether a metadata object should be moved to the front of the list\&. .PP Definition at line 81 of file list_update_policy\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.