DOKK / manpages / debian 11 / libstdc++-9-doc / __gnu_pbds::lu_move_to_front_policy.3cxx.en
__gnu_pbds::lu_move_to_front_policy< _Alloc >(3cxx) __gnu_pbds::lu_move_to_front_policy< _Alloc >(3cxx)

__gnu_pbds::lu_move_to_front_policy< _Alloc >


typedef _Alloc allocator_type
typedef __rebind_m::other::reference metadata_reference
Reference to metadata on which this functor operates. typedef null_type metadata_type
Metadata on which this functor operates.


metadata_type operator() () const
Creates a metadata object. bool operator() (metadata_reference r_metadata) const
Decides whether a metadata object should be moved to the front of the list.

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.

Definition at line 57 of file list_update_policy.hpp.

Reference to metadata on which this functor operates.

Definition at line 70 of file list_update_policy.hpp.

Metadata on which this functor operates.

Definition at line 63 of file list_update_policy.hpp.

Creates a metadata object.

Definition at line 74 of file list_update_policy.hpp.

Decides whether a metadata object should be moved to the front of the list.

Definition at line 80 of file list_update_policy.hpp.

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Feb 7 2021 libstdc++