mirror of
https://github.com/boostorg/function.git
synced 2025-07-18 15:12:09 +02:00
Lots of documentation fixes - thanks Dave
[SVN r12505]
This commit is contained in:
@ -69,8 +69,8 @@
|
|||||||
<b>typename</b> Policy,
|
<b>typename</b> Policy,
|
||||||
<b>typename</b> Mixin,
|
<b>typename</b> Mixin,
|
||||||
<b>typename</b> Allocator>
|
<b>typename</b> Allocator>
|
||||||
<b>void</b> <a href="#swap_functionN">swap</a>(<b>const</b> function<em>N</em><Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b>,
|
<b>void</b> <a href="#swap_functionN">swap</a>(function<em>N</em><ResultType, Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b>,
|
||||||
<b>const</b> function<em>N</em><Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b>);
|
function<em>N</em><ResultType, Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b>);
|
||||||
|
|
||||||
// For any <i>N</i> in [0, <i>MAX_ARGS</i>]
|
// For any <i>N</i> in [0, <i>MAX_ARGS</i>]
|
||||||
<b>template</b><<b>typename</b> ResultType,
|
<b>template</b><<b>typename</b> ResultType,
|
||||||
@ -82,20 +82,20 @@
|
|||||||
<b>typename</b> Arg<i>N+2</i> = <i>implementation-defined</i>,
|
<b>typename</b> Arg<i>N+2</i> = <i>implementation-defined</i>,
|
||||||
<i>...</i>
|
<i>...</i>
|
||||||
<b>typename</b> Arg<i>MAX_ARGS</i> = <i>implementation-defined</i>>
|
<b>typename</b> Arg<i>MAX_ARGS</i> = <i>implementation-defined</i>>
|
||||||
<b>class</b> <a href="#function">function</a> : <b>public</b> <a href="#functionN">function<i>N</i></a><Arg1, Arg2, <i>...</i>, Arg<i>N</i>>
|
<b>class</b> <a href="#function">function</a> : <b>public</b> <a href="#functionN">function<i>N</i></a><ResultType, Arg1, Arg2, <i>...</i>, Arg<i>N</i>>
|
||||||
{
|
{
|
||||||
<i>// Construction</i>
|
<i>// Construction</i>
|
||||||
function();
|
function();
|
||||||
function(<b>const</b> function<b>&</b>);
|
function(<b>const</b> function<b>&</b>);
|
||||||
function(<b>const</b> function<i>N</i><Arg1, Arg2, ..., Arg<i>N</i>><b>&</b>);
|
function(<b>const</b> function<i>N</i><ResultType, Arg1, Arg2, ..., Arg<i>N</i>><b>&</b>);
|
||||||
<b>template</b><<b>typename</b> F> function<i>N</i>(F);
|
<b>template</b><<b>typename</b> F> function<i>N</i>(F);
|
||||||
|
|
||||||
<i>// Assignment</i>
|
<i>// Assignment</i>
|
||||||
function<b>&</b> <b>operator</b>=(<b>const</b> function<b>&</b>);
|
function<b>&</b> <b>operator</b>=(<b>const</b> function<b>&</b>);
|
||||||
function<b>&</b> <b>operator</b>=(<b>const</b> function<i>N</i><Arg1, Arg2, ..., Arg<i>N</i>><b>&</b>);
|
function<b>&</b> <b>operator</b>=(<b>const</b> function<i>N</i><ResultType, Arg1, Arg2, ..., Arg<i>N</i>><b>&</b>);
|
||||||
<b>template</b><<b>typename</b> F> function<b>&</b> <b>operator</b>=(F);
|
<b>template</b><<b>typename</b> F> function<b>&</b> <b>operator</b>=(F);
|
||||||
<b>void</b> set(<b>const</b> function<b>&</b>);
|
<b>void</b> set(<b>const</b> function<b>&</b>);
|
||||||
<b>void</b> set(<b>const</b> function<i>N</i><Arg1, Arg2, ..., Arg<i>N</i>><b>&</b>);
|
<b>void</b> set(<b>const</b> function<i>N</i><ResultType, Arg1, Arg2, ..., Arg<i>N</i>><b>&</b>);
|
||||||
<b>template</b><<b>typename</b> F> <b>void</b> set(F);
|
<b>template</b><<b>typename</b> F> <b>void</b> set(F);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -104,8 +104,8 @@
|
|||||||
<b>typename</b> Arg2,
|
<b>typename</b> Arg2,
|
||||||
<i>...</i>
|
<i>...</i>
|
||||||
<b>typename</b> Arg<i>MAX_ARGS</i>>
|
<b>typename</b> Arg<i>MAX_ARGS</i>>
|
||||||
<b>void</b> <a href="#swap_function">swap</a>(<b>const</b> function<Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b>,
|
<b>void</b> <a href="#swap_function">swap</a>(function<ResultType, Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b>,
|
||||||
<b>const</b> function<Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b>);
|
function<ResultType, Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b>);
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@ -263,8 +263,8 @@
|
|||||||
<b>typename</b> Policy,
|
<b>typename</b> Policy,
|
||||||
<b>typename</b> Mixin,
|
<b>typename</b> Mixin,
|
||||||
<b>typename</b> Allocator>
|
<b>typename</b> Allocator>
|
||||||
<b>void</b> <a name="swap_functionN">swap</a>(<b>const</b> function<i>N</i><Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b> f,
|
<b>void</b> <a name="swap_functionN">swap</a>(function<i>N</i><ResultType, Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b> f,
|
||||||
<b>const</b> function<i>N</i><Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b> g);
|
function<i>N</i><ResultType, Arg1, Arg2, <i>...</i>, Arg<i>N</i>, Policy, Mixin, Allocator><b>&</b> g);
|
||||||
</pre>
|
</pre>
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>Effects</b>: <code>f.<a href="#functionN_swap">swap</a>(g);</code></li>
|
<li><b>Effects</b>: <code>f.<a href="#functionN_swap">swap</a>(g);</code></li>
|
||||||
@ -277,8 +277,8 @@
|
|||||||
<b>typename</b> Arg2,
|
<b>typename</b> Arg2,
|
||||||
<i>...</i>
|
<i>...</i>
|
||||||
<b>typename</b> Arg<i>MAX_ARGS</i>>
|
<b>typename</b> Arg<i>MAX_ARGS</i>>
|
||||||
<b>void</b> <a name="swap_function">swap</a>(<b>const</b> function<Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b> f,
|
<b>void</b> <a name="swap_function">swap</a>(function<ResultType, Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b> f,
|
||||||
<b>const</b> function<Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b> g);
|
function<ResultType, Arg1, Arg2, <i>...</i>, Arg<i>MAX_ARGS</i>><b>&</b> g);
|
||||||
</pre>
|
</pre>
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>Effects</b>: <code>f.<a href="#functionN_swap">swap</a>(g);</code></li>
|
<li><b>Effects</b>: <code>f.<a href="#functionN_swap">swap</a>(g);</code></li>
|
||||||
@ -288,7 +288,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: Wed Dec 5 18:14:37 EST 2001
|
Last modified: Fri Jan 25 10:00:28 EST 2002
|
||||||
<!-- hhmts end -->
|
<!-- hhmts end -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user