45 template<
typename Size_Type>
50 template<
typename Size_Type = std::
size_t>
54 typedef Size_Type size_type;
62 mutable size_type m_count;
66 template<
typename Size_Type>
70 typedef Size_Type size_type;
73 operator()(size_type max_size)
const
76 template<
typename Metadata_Reference>
78 operator()(Metadata_Reference r_data, size_type m_max_count)
const
80 if (++r_data.m_count != m_max_count)
Base class for list-update counter policy.
A list-update metadata type that moves elements to the front of the list based on the counter algorit...
GNU extensions for policy-based data structures for public use.