libstdc++: __gnu_pbds::lu_move_to_front_policy< _Alloc > Class Template Reference (original) (raw)

#include <[list_update_policy.hpp](a01256%5Fsource.html)>

Public Types
typedef _Alloc allocator_type
typedef detail::rebind_traits< _Alloc, metadata_type >::reference metadata_reference
typedef null_type metadata_type

Detailed Description

template<typename _Alloc = std::allocator>
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 58 of file list_update_policy.hpp.

Member Typedef Documentation

allocator_type

template<typename _Alloc = std::allocator>

metadata_reference

template<typename _Alloc = std::allocator>

metadata_type

template<typename _Alloc = std::allocator>

Member Function Documentation

operator()() [1/2]

template<typename _Alloc = std::allocator>

operator()() [2/2]

template<typename _Alloc = std::allocator>

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

Definition at line 79 of file list_update_policy.hpp.


The documentation for this class was generated from the following file: