move_to_front_update_policy
 Interface
A list-update policy that unconditionally moves elements to the front of the list.
../../../../include/ext/pb_assoc/move_to_front_update_policy.hppmove_to_front_update_policy.hpp #link1Template parameters.
Public Methods:
#link2Constructors, destructor, and related.
Protected Types and Constants:
#link3Metadata definitions.
Protected Methods:
#link4Metadata operations.
Template parameters.
Parameter Description Default Value Metadata_Reference Metadata reference type.
std::allocator<
  
move_to_front_update_metadata.htmlmove_to_front_update_metadata >::
    reference
Constructors, destructor, and related.
Method Description void  swap
  (
move_to_front_update_policy &r_other) Swaps content.
Metadata definitions.
Type Definition Description metadata_type move_to_front_update_metadata.htmlmove_to_front_update_metadata Metadata on which this functor operates.
metadata_reference #Metadata_Reference3735929465Metadata_Reference Reference to metadata on which this functor operates.
Metadata operations.
Method Description #metadata_type3735929937metadata_type   
operator()
  () 
const Creates a metadata object.
bool  
operator()
  (
#metadata_reference3735929497metadata_reference  r_data) const Decides whether a metadata object should be moved to the front of the list.
