Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libstdc++-v3 / docs / html / ext / pb_assoc / sample_probe_fn.html
blob2d4306da43266eeb188b2ca1acb85b2df6d615d3
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 <html>
6 <head>
7 <title>sample_probe_fn Interface
8 </title>
10 </head>
12 <body>
13 <h1>
14 <tt>sample_probe_fn
15 </tt>
17 Interface
20 </h1>
22 <p>A sample probe policy.
23 </p>
25 <p>This class serves to show the interface a probe functor needs to support.
26 </p>
28 <ol>
29 <li>
30 <a href = "../doc/sample_probe_fn.hpp"><tt>sample_probe_fn.hpp</tt>
31 </a>
33 </li>
35 <li>
36 Public Methods:
39 <ol>
40 <li>
41 <a href = "#link1">Constructors, destructor, and related.
42 </a>
44 </li>
46 </ol>
48 </li>
50 <li>
51 Protected Methods:
54 <ol>
55 <li>
56 <a href = "#link2">Offset methods.
57 </a>
59 </li>
61 </ol>
63 </li>
65 </ol>
68 <h2>
69 <a name = "link1">Constructors, destructor, and related.
70 </a>
72 </h2>
74 <table WIDTH = "100%" BORDER = "1">
75 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
78 <tr>
79 <td>
80 <pre> sample_probe_fn
81 ()</pre>
84 </td>
86 <td>
87 <p>Default constructor.</p>
90 <p>Must be default constructible.</p>
93 </td>
95 </tr>
97 <tr>
98 <td>
99 <pre> sample_probe_fn
100 (<b>const</b> sample_probe_fn &amp;r_other)</pre>
103 </td>
105 <td>
106 <p>Copy constructor.</p>
109 <p>Must be copy constructible.</p>
112 </td>
114 </tr>
116 <tr>
117 <td>
118 <pre><b>inline</b> <b>void</b>
119 swap
120 (sample_probe_fn &amp;r_other)</pre>
123 </td>
125 <td>
126 <p>Swaps content.</p>
129 <p>Must be swappable (if there is such a word).</p>
132 </td>
134 </tr>
136 </table>
138 <h2>
139 <a name = "link2">Offset methods.
140 </a>
142 </h2>
144 <table WIDTH = "100%" BORDER = "1">
145 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
148 <tr>
149 <td>
150 <pre><b>inline</b> size_type
151 <b>operator</b>()
152 (const_key_reference r_key,
153 size_type i) <b>const</b></pre>
156 </td>
158 <td>
159 <p>Returns the <font color = "#666666"><tt>i</tt></font>-th offset from the hash value of some key <font color = "#666666"><tt>r_key</tt></font>.</p>
162 <p><p><tt>size_type</tt> is the size type on which the functor operates.</p></p>
165 </td>
167 </tr>
169 </table>
173 </body>
175 </html>