forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>invoke</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="../functions.html" title="Functions">
|
||||
<link rel="next" href="invoke_proc.html" title="
|
||||
@ -31,8 +39,33 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.functions.invoke.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id612575"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.description">Description</a>
|
||||
=======
|
||||
<a name="id863812"></a>
|
||||
=======
|
||||
<a name="id828476"></a>
|
||||
=======
|
||||
<a name="id820851"></a>
|
||||
=======
|
||||
<a name="id842590"></a>
|
||||
=======
|
||||
<a name="id831389"></a>
|
||||
=======
|
||||
<a name="id828112"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="invoke.html#fusion.functional.invocation.functions.invoke.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Calls a <a href="../../concepts/def_callable.html" title=" Deferred
|
||||
@ -54,8 +87,33 @@
|
||||
Constructors can be called applying <a href="http://www.boost.org/libs/functional/factory/doc/html/index.html" target="_top">Boost.Functional/Factory</a>.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.functions.invoke.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id612688"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id863883"></a>
|
||||
=======
|
||||
<a name="id828546"></a>
|
||||
=======
|
||||
<a name="id820922"></a>
|
||||
=======
|
||||
<a name="id842661"></a>
|
||||
=======
|
||||
<a name="id831460"></a>
|
||||
=======
|
||||
<a name="id828183"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="invoke.html#fusion.functional.invocation.functions.invoke.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
<span class="keyword">typename</span> <span class="identifier">Function</span><span class="special">,</span>
|
||||
@ -72,8 +130,33 @@
|
||||
<span class="identifier">invoke</span><span class="special">(</span><span class="identifier">Function</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">s</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.functions.invoke.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id613062"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id864150"></a>
|
||||
=======
|
||||
<a name="id828813"></a>
|
||||
=======
|
||||
<a name="id821188"></a>
|
||||
=======
|
||||
<a name="id842927"></a>
|
||||
=======
|
||||
<a name="id831726"></a>
|
||||
=======
|
||||
<a name="id828450"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="invoke.html#fusion.functional.invocation.functions.invoke.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -122,8 +205,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.invocation.functions.invoke.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id613223"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id864276"></a>
|
||||
=======
|
||||
<a name="id828939"></a>
|
||||
=======
|
||||
<a name="id821314"></a>
|
||||
=======
|
||||
<a name="id843053"></a>
|
||||
=======
|
||||
<a name="id831852"></a>
|
||||
=======
|
||||
<a name="id828576"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="invoke.html#fusion.functional.invocation.functions.invoke.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">invoke</span><span class="special">(</span><span class="identifier">f</span><span class="special">,</span><span class="identifier">s</span><span class="special">);</span>
|
||||
@ -138,21 +246,96 @@
|
||||
as arguments and returns the result of the call expression.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.functions.invoke.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id613356"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.header">Header</a>
|
||||
=======
|
||||
<a name="id864361"></a>
|
||||
=======
|
||||
<a name="id829024"></a>
|
||||
=======
|
||||
<a name="id821400"></a>
|
||||
=======
|
||||
<a name="id843139"></a>
|
||||
=======
|
||||
<a name="id831938"></a>
|
||||
=======
|
||||
<a name="id828661"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="invoke.html#fusion.functional.invocation.functions.invoke.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">functional</span><span class="special">/</span><span class="identifier">invocation</span><span class="special">/</span><span class="identifier">invoke</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.functions.invoke.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id613459"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.example">Example</a>
|
||||
=======
|
||||
<a name="id864704"></a>
|
||||
=======
|
||||
<a name="id829094"></a>
|
||||
=======
|
||||
<a name="id821469"></a>
|
||||
=======
|
||||
<a name="id843208"></a>
|
||||
=======
|
||||
<a name="id832007"></a>
|
||||
=======
|
||||
<a name="id828730"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="invoke.html#fusion.functional.invocation.functions.invoke.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><a href="http://www.sgi.com/tech/stl/plus.html" target="_top"><tt class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">plus</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">add</span><span class="special">;</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">invoke</span><span class="special">(</span><span class="identifier">add</span><span class="special">,</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1</span><span class="special">))</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.functions.invoke.see_also"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id613626"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.see_also">See
|
||||
=======
|
||||
<a name="id864819"></a>
|
||||
=======
|
||||
<a name="id829209"></a>
|
||||
=======
|
||||
<a name="id821584"></a>
|
||||
=======
|
||||
<a name="id843323"></a>
|
||||
=======
|
||||
<a name="id832122"></a>
|
||||
=======
|
||||
<a name="id828846"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="invoke.html#fusion.functional.invocation.functions.invoke.see_also">See
|
||||
>>>>>>> .merge-right.r57125
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -168,7 +351,7 @@
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
Schwinger<p>
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||
|
Reference in New Issue
Block a user