2 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
7 <title>move_to_front_update_policy Interface
14 <tt>move_to_front_update_policy
22 <p>A list-update policy that unconditionally moves elements to the front of the list.
27 <a href =
"../../../../include/ext/pb_assoc/move_to_front_update_policy.hpp"><tt>move_to_front_update_policy.hpp
</tt>
33 <a href =
"#link1">Template parameters.
44 <a href =
"#link2">Constructors, destructor, and related.
54 Protected Types and Constants:
59 <a href =
"#link3">Metadata definitions.
74 <a href =
"#link4">Metadata operations.
87 <a name =
"link1">Template parameters.
92 <table WIDTH =
"100%" BORDER =
"1">
93 <TR><TD Width =
"20%" ALIGN =
"left"><b>Parameter
</b></TD><TD Width =
"50%" ALIGN =
"left"><b>Description
</b></TD><TD Width =
"30%" ALIGN =
"left"><b>Default Value
</b></TD></TR>
98 <pre><a name =
"Metadata_Reference3735929465">Metadata_Reference
</a></pre>
104 <p>Metadata reference type.
</p>
110 <pre>std::allocator
<
111 <a href =
"move_to_front_update_metadata.html"><tt>move_to_front_update_metadata
</tt></a>>::
122 <a name =
"link2">Constructors, destructor, and related.
127 <table WIDTH =
"100%" BORDER =
"1">
128 <TR><TD Width =
"45%" ALIGN =
"left"><b>Method
</b></TD><TD Width =
"55%" ALIGN =
"left"><b>Description
</b></TD></TR>
135 (
<font color =
"olive">move_to_front_update_policy
</font> &r_other)
</pre>
141 <p>Swaps content.
</p>
151 <a name =
"link3">Metadata definitions.
156 <table WIDTH =
"100%" BORDER =
"1">
157 <TR><TD Width =
"30%" ALIGN =
"left"><b>Type
</b></TD><TD Width =
"55%" ALIGN =
"left"><b>Definition
</b></TD><TD Width =
"15%" ALIGN =
"left"><b>Description
</b></TD></TR>
162 <pre><a name =
"metadata_type3735929937">metadata_type
</a></pre>
168 <pre><a href =
"move_to_front_update_metadata.html"><tt>move_to_front_update_metadata
</tt></a></pre>
174 <p>Metadata on which this functor operates.
</p>
183 <pre><a name =
"metadata_reference3735929497">metadata_reference
</a></pre>
189 <pre><a href =
"#Metadata_Reference3735929465">Metadata_Reference
</a></pre>
195 <p>Reference to metadata on which this functor operates.
</p>
205 <a name =
"link4">Metadata operations.
210 <table WIDTH =
"100%" BORDER =
"1">
211 <TR><TD Width =
"45%" ALIGN =
"left"><b>Method
</b></TD><TD Width =
"55%" ALIGN =
"left"><b>Description
</b></TD></TR>
216 <pre><a href =
"#metadata_type3735929937">metadata_type
</a>
218 ()
<b>const
</b></pre>
224 <p>Creates a metadata object.
</p>
235 (
<a href =
"#metadata_reference3735929497">metadata_reference
</a> r_data)
<b>const
</b></pre>
241 <p>Decides whether a metadata object should be moved to the front of the list.
</p>