Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libstdc++-v3 / docs / html / ext / pb_assoc / order_statistics_key_cmp.html
blobd85f4fa99008bda4b3f7bc90d91187c81ae15283
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 <html>
6 <head>
7 <title>order_statistics_key_cmp Interface
8 </title>
10 </head>
12 <body>
13 <h1>
14 <tt>order_statistics_key_cmp
15 </tt>
17 Interface
20 </h1>
22 <p>A comparison functor. Transforms any comparison functor operating on logical keys to a comparison functor operating on order statistics keys.
23 </p>
25 <ol>
26 <li>
27 <a href = "../../../../include/ext/pb_assoc/order_statistics_key.hpp"><tt>order_statistics_key.hpp</tt>
28 </a>
30 </li>
32 <li>
33 <a href = "#link1">Template parameters.
34 </a>
36 </li>
38 <li>
39 <a href = "#link2">Base classes.
40 </a>
42 </li>
44 <li>
45 Public Types and Constants:
48 <ol>
49 <li>
50 <a href = "#link3">Policy definitions.
51 </a>
53 </li>
55 <li>
56 <a href = "#link4">Key-type definitions.
57 </a>
59 </li>
61 </ol>
63 </li>
65 <li>
66 Public Methods:
69 <ol>
70 <li>
71 <a href = "#link5">Constructors, destructor, and related.
72 </a>
74 </li>
76 <li>
77 <a href = "#link6">Operators.
78 </a>
80 </li>
82 <li>
83 <a href = "#link7">Policy access methods.
84 </a>
86 </li>
88 </ol>
90 </li>
92 </ol>
95 <h2>
96 <a name = "link1">Template parameters.
97 </a>
99 </h2>
101 <table WIDTH = "100%" BORDER = "1">
102 <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>
105 <tr>
106 <td>
107 <pre><a name = "Cmp_Fn3735929122">Cmp_Fn</a></pre>
110 </td>
112 <td>
113 <p>Comparison functor.</p>
116 </td>
118 <td>
119 <pre>std::less&lt;<a href = "#Key3735928856">Key</a>&gt;</pre>
122 </td>
124 </tr>
126 <tr>
127 <td>
128 <pre><a name = "Allocator3735929488">Allocator</a></pre>
131 </td>
133 <td>
134 <p>Allocator type.</p>
137 <p>The allocator is only used for definitions, e.g., size_type, pointer, and reference.</p>
140 </td>
142 <td>
143 <pre>std::allocator&lt;<b>char</b>&gt;</pre>
146 </td>
148 </tr>
150 </table>
152 <h2>
153 <a name = "link2">Base classes.
154 </a>
156 </h2>
158 <table WIDTH = "100%" BORDER = "1">
159 <TR><TD Width = "80%" ALIGN = "left"><b>Class</b></TD><TD Width = "20%" ALIGN = "left"><b>Derivation Type</b></TD></TR>
162 <tr>
163 <td>
164 <pre>std::binary_function&lt;
165 order_statistics_key&lt;
166 <b>typename</b> <a href = "#Cmp_Fn3735929122">Cmp_Fn</a>::first_argument_type, <a href = "#Allocator3735929488">Allocator</a>&gt;,
167 order_statistics_key&lt;
168 <b>typename</b> <a href = "#Cmp_Fn3735929122">Cmp_Fn</a>::second_argument_type, <a href = "#Allocator3735929488">Allocator</a>&gt;,
169 <b>bool</b>&gt;</pre>
172 </td>
174 <td>
175 <p>public</p>
178 </td>
180 </tr>
182 </table>
184 <h2>
185 <a name = "link3">Policy definitions.
186 </a>
188 </h2>
190 <table WIDTH = "100%" BORDER = "1">
191 <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>
194 <tr>
195 <td>
196 <pre><a name = "allocator3735929520">allocator</a></pre>
199 </td>
201 <td>
202 <pre><a href = "#Allocator3735929488">Allocator</a></pre>
205 </td>
207 <td>
208 <p>Allocator type.</p>
211 </td>
213 </tr>
215 <tr>
216 <td>
217 <pre><a name = "cmp_fn3735929186">cmp_fn</a></pre>
220 </td>
222 <td>
223 <pre><a href = "#Cmp_Fn3735929122">Cmp_Fn</a></pre>
226 </td>
228 <td>
229 <p>Comparison functor type.</p>
232 </td>
234 </tr>
236 </table>
238 <h2>
239 <a name = "link4">Key-type definitions.
240 </a>
242 </h2>
244 <table WIDTH = "100%" BORDER = "1">
245 <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>
248 <tr>
249 <td>
250 <pre><a name = "key_type3735929433">key_type</a></pre>
253 </td>
255 <td>
256 <pre>order_statistics_key&lt;
257 <b>typename</b> <a href = "#Cmp_Fn3735929122">Cmp_Fn</a>::first_argument_type, <a href = "#Allocator3735929488">Allocator</a>&gt;</pre>
260 </td>
262 <td>
263 <p>Key type.</p>
266 </td>
268 </tr>
270 <tr>
271 <td>
272 <pre><a name = "const_key_reference3735929552">const_key_reference</a></pre>
275 </td>
277 <td>
278 <pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::<b>template</b> rebind&lt;
279 <a href = "#key_type3735929433">key_type</a>&gt;::other::const_reference</pre>
282 </td>
284 <td>
285 <p>Const key reference type.</p>
288 </td>
290 </tr>
292 </table>
294 <h2>
295 <a name = "link5">Constructors, destructor, and related.
296 </a>
298 </h2>
300 <table WIDTH = "100%" BORDER = "1">
301 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
304 <tr>
305 <td>
306 <pre><b>inline</b>
307 order_statistics_key_cmp
308 ()</pre>
311 </td>
313 <td>
314 <p>Default constructor.</p>
317 </td>
319 </tr>
321 <tr>
322 <td>
323 <pre><b>inline</b>
324 order_statistics_key_cmp
325 (<b>const</b> <a href = "#Cmp_Fn3735929122">Cmp_Fn</a> &amp;r_cmp_fn)</pre>
328 </td>
330 <td>
331 <p>Constructor taking a comparison functor.</p>
334 </td>
336 </tr>
338 </table>
340 <h2>
341 <a name = "link6">Operators.
342 </a>
344 </h2>
346 <table WIDTH = "100%" BORDER = "1">
347 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
350 <tr>
351 <td>
352 <pre><b>inline</b> <b>bool</b>
353 <b>operator</b>()
354 (<a href = "#const_key_reference3735929552">const_key_reference</a> r_lhs_key,
355 <a href = "#const_key_reference3735929552">const_key_reference</a> r_rhs_key) <b>const</b></pre>
358 </td>
360 <td>
361 <p>Compares two keys.</p>
364 </td>
366 </tr>
368 </table>
370 <h2>
371 <a name = "link7">Policy access methods.
372 </a>
374 </h2>
376 <table WIDTH = "100%" BORDER = "1">
377 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
380 <tr>
381 <td>
382 <pre><b>inline</b> <a href = "#cmp_fn3735929186">cmp_fn</a> &amp;
383 get_cmp_fn
384 ()</pre>
387 </td>
389 <td>
390 <p>Access to the comparison functor object used.</p>
393 </td>
395 </tr>
397 <tr>
398 <td>
399 <pre><b>inline</b> <b>const</b> <a href = "#cmp_fn3735929186">cmp_fn</a> &amp;
400 get_cmp_fn
401 () <b>const</b></pre>
404 </td>
406 <td>
407 <p>Const access to the comparison functor object used.</p>
410 </td>
412 </tr>
414 </table>
418 </body>
420 </html>