reference.html:

- Remove declaration/documentation of non-const operator().
	- Update documentation of operator() const to state that the called
	  object is not cv-qualified.


[SVN r10687]
This commit is contained in:
Douglas Gregor
2001-07-22 05:30:15 +00:00
parent e34716babd
commit f79765cce1

View File

@ -54,7 +54,6 @@
<a href="#functionN_clear"><b>void</b> clear()</a>; <a href="#functionN_clear"><b>void</b> clear()</a>;
<i>// Invocation</i> <i>// Invocation</i>
<a href="#functionN_call">result_type <b>operator</b>()(Arg1 a1, Arg2 a2, <i>...</i>, Arg<i>N</i> a<i>N</i>)</a>;
<a href="#functionN_call_const">result_type <b>operator</b>()(Arg1 a1, Arg2 a2, <i>...</i>, Arg<i>N</i> a<i>N</i>) <b>const</b></a>; <a href="#functionN_call_const">result_type <b>operator</b>()(Arg1 a1, Arg2 a2, <i>...</i>, Arg<i>N</i> a<i>N</i>) <b>const</b></a>;
}; };
@ -180,10 +179,10 @@
<li><b>Postconditions</b>: <code><a href="#empty">empty</a>()</code>.</li> <li><b>Postconditions</b>: <code><a href="#empty">empty</a>()</code>.</li>
</ul> </ul>
<p> <a name="functionN_call"><code> result_type <b>operator</b>()(Arg1 a1, Arg2 a2, <i>...</i>, Arg<i>N</i> a<i>N</i>);</code></a> <p> <a name="functionN_call_const"><code> result_type <b>operator</b>()(Arg1 a1, Arg2 a2, <i>...</i>, Arg<i>N</i> a<i>N</i>) <b>const</b>;</code></a>
<ul> <ul>
<li><b>Requires</b>: <code>!<a href="#empty">empty</a>()</code>.</li> <li><b>Requires</b>: <code>!<a href="#empty">empty</a>()</code>.</li>
<li><b>Effects</b>: <i>target</i> is the underlying function target. It is not <code><b>const</b></code> or <code>volatile</code> qualified. <li><b>Effects</b>: <i>target</i> is the underlying function target. It is not <code><b>const</b></code> or <code><b>volatile</b></code> qualified.
<ol> <ol>
<li><code>policy_type policy;</code></li> <li><code>policy_type policy;</code></li>
<li><code>policy.precall(this);</code></li> <li><code>policy.precall(this);</code></li>
@ -193,19 +192,6 @@
<li><b>Returns</b>: the value returned by <i>target</i>.</li> <li><b>Returns</b>: the value returned by <i>target</i>.</li>
</ul> </ul>
<p> <a name="functionN_call_const"><code> result_type <b>operator</b>()(Arg1 a1, Arg2 a2, <i>...</i>, Arg<i>N</i> a<i>N</i>) <b>const</b>;</code></a>
<ul>
<li><b>Requires</b>: <code>!<a href="#empty">empty</a>()</code>.</li>
<li><b>Effects</b>: <i>const-target</i> is the underlying function target. It is <code><b>const</b></code> qualified but not <code>volatile</code> qualified.
<ol>
<li><code>policy_type policy;</code></li>
<li><code>policy.precall(this);</code></li>
<li><code><i>const-target</i>(a1, a2, <i>...</i>, a<i>N</i>);</code></li>
<li><code>policy.postcall(this);</code></li>
</ol>
<li><b>Returns</b>: the value returned by <i>const-target</i>.</li>
</ul>
<h2><a name="function">Class template <code>function</code></a></h2> <h2><a name="function">Class template <code>function</code></a></h2>
<p> Class template <code>function</code> is a thin wrapper around the numbered class templates <code>function0</code>, <code>function1</code>, etc. It accepts up to <i>MAX_ARGS</i> arguments, but when passed <i>N</i> arguments it will derive from <code>function<i>N</i></code> specialized with the arguments it receives. <p> Class template <code>function</code> is a thin wrapper around the numbered class templates <code>function0</code>, <code>function1</code>, etc. It accepts up to <i>MAX_ARGS</i> arguments, but when passed <i>N</i> arguments it will derive from <code>function<i>N</i></code> specialized with the arguments it receives.
@ -247,7 +233,7 @@
<address><a href="mailto:gregod@cs.rpi.edu">Douglas Gregor</a></address> <address><a href="mailto:gregod@cs.rpi.edu">Douglas Gregor</a></address>
<!-- Created: Fri Jul 13 10:57:20 EDT 2001 --> <!-- Created: Fri Jul 13 10:57:20 EDT 2001 -->
<!-- hhmts start --> <!-- hhmts start -->
Last modified: Sat Jul 14 16:05:46 EDT 2001 Last modified: Sun Jul 22 01:29:50 EDT 2001
<!-- hhmts end --> <!-- hhmts end -->
</body> </body>
</html> </html>