41 #ifndef PB_DS_SAMPLE_UPDATE_POLICY_HPP
42 #define PB_DS_SAMPLE_UPDATE_POLICY_HPP
GNU extensions for policy-based data structures for public use.
A sample list-update policy.
sample_update_policy(const sample_update_policy &)
Copy constructor.
bool operator()(metadata_reference) const
Decides whether a metadata object should be moved to the front of the list. A list-update based conta...
sample_update_policy()
Default constructor.
metadata_type operator()() const
Creates a metadata object.
void swap(sample_update_policy &other)
Swaps content.
some_metadata_type metadata_type
Metadata on which this functor operates.