A sample list-update policy.
Definition at line 47 of file sample_update_policy.hpp.
◆ metadata_type
◆ sample_update_policy() [1/2]
__gnu_pbds::sample_update_policy::sample_update_policy |
( |
| ) |
|
◆ sample_update_policy() [2/2]
◆ operator()() [1/2]
metadata_type __gnu_pbds::sample_update_policy::operator() |
( |
| ) |
const |
|
protected |
Creates a metadata object.
◆ operator()() [2/2]
bool __gnu_pbds::sample_update_policy::operator() |
( |
metadata_reference |
| ) |
const |
|
protected |
Decides whether a metadata object should be moved to the front of the list. A list-update based containers object will call this method to decide whether to move a node to the front of the list. The method shoule return true if the node should be moved to the front of the list.
◆ swap()
The documentation for this struct was generated from the following file: