.TH "__gnu_pbds::lu_move_to_front_policy< _Alloc >" 3cxx "Tue Jul 2 2019" "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 __rebind_m::other::reference \fBmetadata_reference\fP" .br .RI "Reference to metadata on which this functor operates\&. " .ti -1c .RI "typedef \fBnull_type\fP \fBmetadata_type\fP" .br .RI "Metadata on which this functor operates\&. " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBmetadata_type\fP \fBoperator()\fP () const" .br .RI "Creates a metadata object\&. " .ti -1c .RI "bool \fBoperator()\fP (\fBmetadata_reference\fP r_metadata) const" .br .RI "Decides whether a metadata object should be moved to the front of the list\&. " .in -1c .SH "Detailed Description" .PP .SS "template> .br 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 57 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 70 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 63 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 74 of file list_update_policy\&.hpp\&. .SS "template> bool \fB__gnu_pbds::lu_move_to_front_policy\fP< _Alloc >::operator() (\fBmetadata_reference\fP r_metadata) const\fC [inline]\fP" .PP Decides whether a metadata object should be moved to the front of the list\&. .PP Definition at line 80 of file list_update_policy\&.hpp\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.