Dead
[official-gcc.git] / gomp-20050608-branch / libstdc++-v3 / docs / html / ext / pb_assoc / move_to_front_update_policy.html
blobf9a47e3b22112d3a4b20108c764bcf9b28890eff
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 <html>
6 <head>
7 <title>move_to_front_update_policy Interface
8 </title>
10 </head>
12 <body>
13 <h1>
14 <tt>move_to_front_update_policy
15 </tt>
17 Interface
20 </h1>
22 <p>A list-update policy that unconditionally moves elements to the front of the list.
23 </p>
25 <ol>
26 <li>
27 <a href = "../../../../include/ext/pb_assoc/move_to_front_update_policy.hpp"><tt>move_to_front_update_policy.hpp</tt>
28 </a>
30 </li>
32 <li>
33 <a href = "#link1">Template parameters.
34 </a>
36 </li>
38 <li>
39 Public Methods:
42 <ol>
43 <li>
44 <a href = "#link2">Constructors, destructor, and related.
45 </a>
47 </li>
49 </ol>
51 </li>
53 <li>
54 Protected Types and Constants:
57 <ol>
58 <li>
59 <a href = "#link3">Metadata definitions.
60 </a>
62 </li>
64 </ol>
66 </li>
68 <li>
69 Protected Methods:
72 <ol>
73 <li>
74 <a href = "#link4">Metadata operations.
75 </a>
77 </li>
79 </ol>
81 </li>
83 </ol>
86 <h2>
87 <a name = "link1">Template parameters.
88 </a>
90 </h2>
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>
96 <tr>
97 <td>
98 <pre><a name = "Metadata_Reference3735929465">Metadata_Reference</a></pre>
101 </td>
103 <td>
104 <p>Metadata reference type.</p>
107 </td>
109 <td>
110 <pre>std::allocator&lt;
111 <a href = "move_to_front_update_metadata.html"><tt>move_to_front_update_metadata</tt></a>&gt;::
112 reference
115 </td>
117 </tr>
119 </table>
121 <h2>
122 <a name = "link2">Constructors, destructor, and related.
123 </a>
125 </h2>
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>
131 <tr>
132 <td>
133 <pre><b>void</b>
134 swap
135 (<font color = "olive">move_to_front_update_policy</font> &amp;r_other)</pre>
138 </td>
140 <td>
141 <p>Swaps content.</p>
144 </td>
146 </tr>
148 </table>
150 <h2>
151 <a name = "link3">Metadata definitions.
152 </a>
154 </h2>
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>
160 <tr>
161 <td>
162 <pre><a name = "metadata_type3735929937">metadata_type</a></pre>
165 </td>
167 <td>
168 <pre><a href = "move_to_front_update_metadata.html"><tt>move_to_front_update_metadata</tt></a></pre>
171 </td>
173 <td>
174 <p>Metadata on which this functor operates.</p>
177 </td>
179 </tr>
181 <tr>
182 <td>
183 <pre><a name = "metadata_reference3735929497">metadata_reference</a></pre>
186 </td>
188 <td>
189 <pre><a href = "#Metadata_Reference3735929465">Metadata_Reference</a></pre>
192 </td>
194 <td>
195 <p>Reference to metadata on which this functor operates.</p>
198 </td>
200 </tr>
202 </table>
204 <h2>
205 <a name = "link4">Metadata operations.
206 </a>
208 </h2>
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>
214 <tr>
215 <td>
216 <pre><a href = "#metadata_type3735929937">metadata_type</a>
217 <b>operator</b>()
218 () <b>const</b></pre>
221 </td>
223 <td>
224 <p>Creates a metadata object.</p>
227 </td>
229 </tr>
231 <tr>
232 <td>
233 <pre><b>bool</b>
234 <b>operator</b>()
235 (<a href = "#metadata_reference3735929497">metadata_reference</a> r_data) <b>const</b></pre>
238 </td>
240 <td>
241 <p>Decides whether a metadata object should be moved to the front of the list.</p>
244 </td>
246 </tr>
248 </table>
252 </body>
254 </html>