41 #ifndef PB_DS_LU_POLICY_HPP
42 #define PB_DS_LU_POLICY_HPP
44 #include <bits/c++config.h>
56 template<
typename _Alloc = std::allocator<
char> >
66 typedef typename _Alloc::template rebind<metadata_type>
__rebind_m;
91 template<std::
size_t Max_Count = 5,
typename _Alloc = std::allocator<
char> >
97 typedef typename allocator_type::size_type
size_type;
111 typedef typename _Alloc::template rebind<metadata_type>
__rebind_m;
_Alloc::template rebind< metadata_type > __rebind_m
Definition: list_update_policy.hpp:66
metadata_type operator()() const
Creates a metadata object.
Definition: list_update_policy.hpp:74
_Alloc allocator_type
Definition: list_update_policy.hpp:96
Definition: list_update_policy.hpp:57
Base class for list-update counter policy.
Definition: lu_counter_metadata.hpp:46
Definition: list_update_policy.hpp:103
Represents no type, or absence of type, for template tricks.
Definition: tag_and_trait.hpp:210
bool operator()(metadata_reference r_data) const
Definition: list_update_policy.hpp:125
_Alloc::template rebind< metadata_type > __rebind_m
Definition: list_update_policy.hpp:111
__rebind_m::other::reference metadata_reference
Reference to metadata on which this functor operates.
Definition: list_update_policy.hpp:70
bool operator()(metadata_reference r_metadata) const
Definition: list_update_policy.hpp:80
metadata_type operator()() const
Creates a metadata object.
Definition: list_update_policy.hpp:119
lu_counter_metadata< size_type > operator()(size_type max_size) const
Definition: lu_counter_metadata.hpp:73
allocator_type::size_type size_type
Definition: list_update_policy.hpp:97
null_type metadata_type
Metadata on which this functor operates.
Definition: list_update_policy.hpp:63
__rebind_m::other::reference metadata_reference
Reference to metadata on which this functor operates.
Definition: list_update_policy.hpp:115
detail::lu_counter_policy_base< size_type > base_type
Definition: list_update_policy.hpp:110
_Alloc allocator_type
Definition: list_update_policy.hpp:60
Definition: list_update_policy.hpp:92
static null_type s_metadata
Definition: list_update_policy.hpp:84
detail::lu_counter_metadata< size_type > metadata_type
Metadata on which this functor operates.
Definition: list_update_policy.hpp:107