.TH "__gnu_pbds::lu_move_to_front_policy< _Alloc >" 3cxx "Tue Jul 18 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::lu_move_to_front_policy< _Alloc > .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef _Alloc \fBallocator_type\fP" .br .ti -1c .RI "typedef \fBdetail::rebind_traits\fP< _Alloc, \fBmetadata_type\fP >::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\&. .SH "Member Typedef Documentation" .PP .SS "template> typedef \fBdetail::rebind_traits\fP<_Alloc,\fBmetadata_type\fP>::reference \fB__gnu_pbds::lu_move_to_front_policy\fP< _Alloc >::metadata_reference" .PP Reference to metadata on which this functor operates\&. .SS "template> typedef \fBnull_type\fP \fB__gnu_pbds::lu_move_to_front_policy\fP< _Alloc >::metadata_type" .PP Metadata on which this functor operates\&. .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\&. .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\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.