="../examples.html#example2">Example 2</a> in the examples section
provides a complete program showing how to use <code>const_mem_fun</code>.
<p>

<h4><a name="x_mem_fun">Variants for other types of member functions</a></h4>

<p>
Consider the following, non-compiling code:
</p>

<blockquote><pre>
<span class=keyword>struct</span> <span class=identifier>employee</span>
<span class=special>{</span>
  <span class=special>...</span>
  <span class=identifier>std</span><span class=special>::</span><span class=ide