forked from boostorg/fusion
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title> Adapters</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functional.html" title="Functional">
|
||||
<link rel="prev" href="invocation/limits.html" title="Limits">
|
||||
<link rel="previous" href="invocation/limits.html" title="Limits">
|
||||
<link rel="next" href="adapters/fused.html" title="fused">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,8 +23,12 @@
|
||||
<a accesskey="p" href="invocation/limits.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functional.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="adapters/fused.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.functional.adapters"></a><a href="adapters.html" title=" Adapters"> Adapters</a></h3></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
<a name="fusion.functional.adapters"></a><a href="adapters.html" title=" Adapters"> Adapters</a>
|
||||
</h3></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="adapters/fused.html">fused</a></span></dt>
|
||||
<dt><span class="section"><a href="adapters/fused_procedure.html">fused_procedure</a></span></dt>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>fused</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapters.html" title=" Adapters">
|
||||
<link rel="prev" href="../adapters.html" title=" Adapters">
|
||||
<link rel="previous" href="../adapters.html" title=" Adapters">
|
||||
<link rel="next" href="fused_procedure.html" title="fused_procedure">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,10 +23,14 @@
|
||||
<a accesskey="p" href="../adapters.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapters.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="fused_procedure.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.fused"></a><a href="fused.html" title="fused">fused</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.fused"></a><a href="fused.html" title="fused">fused</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.fused.description"></a><h5>
|
||||
<a name="id1290323"></a>
|
||||
<a name="id615823"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -41,35 +45,35 @@
|
||||
<p>
|
||||
The type of the target function is allowed to be const qualified or a reference.
|
||||
Const qualification is preserved and propagated appropriately (in other
|
||||
words, only const versions of <code class="literal">operator()</code> can be used
|
||||
words, only const versions of <tt class="literal">operator()</tt> can be used
|
||||
for a target function object that is const or, if the target function object
|
||||
is held by value, the adapter is const - these semantics have nothing to
|
||||
do with the const qualification of a member function, which is referring
|
||||
to the type of object pointed to by <code class="literal">this</code> which is specified
|
||||
to the type of object pointed to by <tt class="literal">this</tt> which is specified
|
||||
with the first element in the sequence passed to the adapter).
|
||||
</p>
|
||||
<p>
|
||||
If the target function is a pointer to a class members, the corresponding
|
||||
object can be specified as a reference, pointer, or smart pointer. In case
|
||||
of the latter, a freestanding <code class="literal">get_pointer</code> function must
|
||||
be defined (Boost provides this function for <code class="literal">std::auto_ptr</code>
|
||||
and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>).
|
||||
of the latter, a freestanding <tt class="literal">get_pointer</tt> function must
|
||||
be defined (Boost provides this function for <tt class="literal">std::auto_ptr</tt>
|
||||
and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></tt></a>).
|
||||
</p>
|
||||
<a name="fusion.functional.adapters.fused.header"></a><h5>
|
||||
<a name="id1290442"></a>
|
||||
<a name="id615953"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.header">Header</a>
|
||||
</h5>
|
||||
<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">adapter</span><span class="special">/</span><span class="identifier">fused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused.synopsis"></a><h5>
|
||||
<a name="id1290533"></a>
|
||||
<a name="id616056"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<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>
|
||||
<span class="keyword">class</span> <span class="identifier">fused</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused.template_parameters"></a><h5>
|
||||
<a name="id1290601"></a>
|
||||
<a name="id616133"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.template_parameters">Template
|
||||
parameters</a>
|
||||
</h5>
|
||||
@ -80,43 +84,31 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Default
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Function</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">Function</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
A <a href="../concepts/def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred
|
||||
Callable Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
<td><p>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.fused.model_of"></a><h5>
|
||||
<a name="id1290704"></a>
|
||||
<a name="id616247"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -130,29 +122,29 @@
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">R</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">R</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const qualified <a href="../concepts/def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred
|
||||
Callable Object</a> type or reference type thereof
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">r</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">r</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An object convertible to <code class="computeroutput"><span class="identifier">R</span></code>
|
||||
An object convertible to <tt class="computeroutput"><span class="identifier">R</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">s</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">s</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A <a href="../../sequence.html" title="Sequence">Sequence</a> of arguments that
|
||||
are accepted by <code class="computeroutput"><span class="identifier">r</span></code>
|
||||
are accepted by <tt class="computeroutput"><span class="identifier">r</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An instance of <code class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span></code>
|
||||
An instance of <tt class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span></tt>
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.fused.expression_semantics"></a><h5>
|
||||
<a name="id1290898"></a>
|
||||
<a name="id616464"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -162,77 +154,61 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Semantics
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, initializes the target
|
||||
function with <code class="computeroutput"><span class="identifier">r</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
function with <tt class="computeroutput"><span class="identifier">r</span></tt>.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">>()</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">R</span></code>'s default constructor.
|
||||
</p>
|
||||
</td>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">>()</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, attempts to use <tt class="computeroutput"><span class="identifier">R</span></tt>'s default constructor.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Calls <code class="computeroutput"><span class="identifier">r</span></code> with the
|
||||
elements in <code class="computeroutput"><span class="identifier">s</span></code> as
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Calls <tt class="computeroutput"><span class="identifier">r</span></tt> with the
|
||||
elements in <tt class="computeroutput"><span class="identifier">s</span></tt> as
|
||||
its arguments.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.fused.example"></a><h5>
|
||||
<a name="id1291125"></a>
|
||||
<a name="id616717"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="identifier">fused</span><span class="special"><</span> <a href="http://www.sgi.com/tech/stl/plus.html" target="_top"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">plus</span></code></a><span class="special"><</span><span class="keyword">long</span><span class="special">></span> <span class="special">></span> <span class="identifier">f</span><span class="special">;</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><a href="../../container/generation/functions/make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2l</span><span class="special">))</span> <span class="special">==</span> <span class="number">3l</span><span class="special">);</span>
|
||||
<pre class="programlisting"><span class="identifier">fused</span><span class="special"><</span> <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">long</span><span class="special">></span> <span class="special">></span> <span class="identifier">f</span><span class="special">;</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">f</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">2l</span><span class="special">))</span> <span class="special">==</span> <span class="number">3l</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused.see_also"></a><h5>
|
||||
<a name="id1291280"></a>
|
||||
<a name="id616892"></a>
|
||||
<a href="fused.html#fusion.functional.adapters.fused.see_also">See also</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a></li>
|
||||
<li><a href="fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a></li>
|
||||
<li><a href="../invocation/functions/invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></a></li>
|
||||
<li><a href="fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a></li>
|
||||
<li><a href="fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a></li>
|
||||
<li><a href="../invocation/functions/invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a></li>
|
||||
<li><a href="../generation/functions/mk_fused.html" title="
|
||||
make_fused"><code class="computeroutput"><span class="identifier">make_fused</span></code></a></li>
|
||||
<li><a href="../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
|
||||
make_fused"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a></li>
|
||||
<li><a href="../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>fused_function_object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapters.html" title=" Adapters">
|
||||
<link rel="prev" href="fused_procedure.html" title="fused_procedure">
|
||||
<link rel="previous" href="fused_procedure.html" title="fused_procedure">
|
||||
<link rel="next" href="unfused.html" title="unfused">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,10 +23,14 @@
|
||||
<a accesskey="p" href="fused_procedure.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapters.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="unfused.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.fused_function_object"></a><a href="fused_function_object.html" title="fused_function_object">fused_function_object</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.fused_function_object"></a><a href="fused_function_object.html" title="fused_function_object">fused_function_object</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.fused_function_object.description"></a><h5>
|
||||
<a name="id1292905"></a>
|
||||
<a name="id618706"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -41,25 +45,25 @@
|
||||
<p>
|
||||
The type of the target function is allowed to be const qualified or a reference.
|
||||
Const qualification is preserved and propagated appropriately (in other
|
||||
words, only const versions of <code class="literal">operator()</code> can be used
|
||||
words, only const versions of <tt class="literal">operator()</tt> can be used
|
||||
for an target function object that is const or, if the target function
|
||||
object is held by value, the adapter is const).
|
||||
</p>
|
||||
<a name="fusion.functional.adapters.fused_function_object.header"></a><h5>
|
||||
<a name="id1292973"></a>
|
||||
<a name="id618779"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.header">Header</a>
|
||||
</h5>
|
||||
<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">adapter</span><span class="special">/</span><span class="identifier">fused_function_object</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused_function_object.synopsis"></a><h5>
|
||||
<a name="id1293067"></a>
|
||||
<a name="id618883"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Function</span><span class="special">></span>
|
||||
<span class="keyword">class</span> <span class="identifier">fused_function_object</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused_function_object.template_parameters"></a><h5>
|
||||
<a name="id1293140"></a>
|
||||
<a name="id618963"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.template_parameters">Template
|
||||
parameters</a>
|
||||
</h5>
|
||||
@ -70,43 +74,31 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Default
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Function</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">Function</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
<a href="../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic Function
|
||||
Object</a> type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
<td><p>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.fused_function_object.model_of"></a><h5>
|
||||
<a name="id1293242"></a>
|
||||
<a name="id619078"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.model_of">Model
|
||||
of</a>
|
||||
</h5>
|
||||
@ -121,29 +113,29 @@
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">R</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">R</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const qualified <a href="../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> type or reference type thereof
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">r</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">r</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An object convertible to <code class="computeroutput"><span class="identifier">R</span></code>
|
||||
An object convertible to <tt class="computeroutput"><span class="identifier">R</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">s</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">s</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A <a href="../../sequence.html" title="Sequence">Sequence</a> of arguments that
|
||||
are accepted by <code class="computeroutput"><span class="identifier">r</span></code>
|
||||
are accepted by <tt class="computeroutput"><span class="identifier">r</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An instance of <code class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span></code>
|
||||
An instance of <tt class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span></tt>
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.fused_function_object.expression_semantics"></a><h5>
|
||||
<a name="id1310916"></a>
|
||||
<a name="id619296"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -153,69 +145,53 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Semantics
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">fused_function_object</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">fused_function_object</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, initializes the target
|
||||
function with <code class="computeroutput"><span class="identifier">r</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
function with <tt class="computeroutput"><span class="identifier">r</span></tt>.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">fused_function_object</span><span class="special"><</span><span class="identifier">R</span><span class="special">>()</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">R</span></code>'s default constructor.
|
||||
</p>
|
||||
</td>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">fused_function_object</span><span class="special"><</span><span class="identifier">R</span><span class="special">>()</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, attempts to use <tt class="computeroutput"><span class="identifier">R</span></tt>'s default constructor.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Calls <code class="computeroutput"><span class="identifier">r</span></code> with the
|
||||
elements in <code class="computeroutput"><span class="identifier">s</span></code> as
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Calls <tt class="computeroutput"><span class="identifier">r</span></tt> with the
|
||||
elements in <tt class="computeroutput"><span class="identifier">s</span></tt> as
|
||||
its arguments.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.fused_function_object.example"></a><h5>
|
||||
<a name="id1311142"></a>
|
||||
<a name="id619551"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">SeqOfSeqs</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Func</span><span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../../algorithm/transformation/metafunctions/transform.html" title="transform"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">transform</span></code></a><span class="special"><</span> <span class="identifier">zip_view</span><span class="special"><</span><span class="identifier">SeqOfSeqs</span><span class="special">></span> <span class="keyword">const</span><span class="special">,</span>
|
||||
<span class="keyword">typename</span> <a href="../../algorithm/transformation/metafunctions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">transform</span></tt></a><span class="special"><</span> <span class="identifier">zip_view</span><span class="special"><</span><span class="identifier">SeqOfSeqs</span><span class="special">></span> <span class="keyword">const</span><span class="special">,</span>
|
||||
<span class="identifier">fused_function_object</span><span class="special"><</span><span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&></span> <span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">n_ary_transform</span><span class="special">(</span><span class="identifier">SeqOfSeqs</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">s</span><span class="special">,</span> <span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">f</span><span class="special">)</span>
|
||||
<span class="special">{</span>
|
||||
<span class="keyword">return</span> <a href="../../algorithm/transformation/functions/transform.html" title="transform"><code class="computeroutput"><span class="identifier">transform</span></code></a><span class="special">(</span><span class="identifier">zip_view</span><span class="special"><</span><span class="identifier">SeqOfSeqs</span><span class="special">>(</span><span class="identifier">s</span><span class="special">),</span>
|
||||
<span class="keyword">return</span> <a href="../../algorithm/transformation/functions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><span class="identifier">zip_view</span><span class="special"><</span><span class="identifier">SeqOfSeqs</span><span class="special">>(</span><span class="identifier">s</span><span class="special">),</span>
|
||||
<span class="identifier">fused_function_object</span><span class="special"><</span><span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&>(</span><span class="identifier">f</span><span class="special">));</span>
|
||||
<span class="special">}</span>
|
||||
|
||||
@ -237,25 +213,25 @@
|
||||
|
||||
<span class="keyword">void</span> <span class="identifier">try_it</span><span class="special">()</span>
|
||||
<span class="special">{</span>
|
||||
<a href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<a href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">c</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0.5f</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <span class="identifier">n_ary_transform</span><span class="special">(</span><a href="../../container/generation/functions/vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">sub</span><span class="special">()));</span>
|
||||
<a href="../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<a href="../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">c</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0.5f</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <span class="identifier">n_ary_transform</span><span class="special">(</span><a href="../../container/generation/functions/vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">sub</span><span class="special">()));</span>
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused_function_object.see_also"></a><h5>
|
||||
<a name="id1312074"></a>
|
||||
<a name="id620606"></a>
|
||||
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.see_also">See
|
||||
also</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a></li>
|
||||
<li><a href="fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a></li>
|
||||
<li><a href="fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a></li>
|
||||
<li><a href="fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a></li>
|
||||
<li><a href="../invocation/functions/invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">invoke_function_object</span></code></a></li>
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">invoke_function_object</span></tt></a></li>
|
||||
<li><a href="../generation/functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a></li>
|
||||
<li><a href="../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a></li>
|
||||
<li><a href="../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>fused_procedure</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapters.html" title=" Adapters">
|
||||
<link rel="prev" href="fused.html" title="fused">
|
||||
<link rel="previous" href="fused.html" title="fused">
|
||||
<link rel="next" href="fused_function_object.html" title="fused_function_object">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,10 +23,14 @@
|
||||
<a accesskey="p" href="fused.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapters.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="fused_function_object.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.fused_procedure"></a><a href="fused_procedure.html" title="fused_procedure">fused_procedure</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.fused_procedure"></a><a href="fused_procedure.html" title="fused_procedure">fused_procedure</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.fused_procedure.description"></a><h5>
|
||||
<a name="id1291415"></a>
|
||||
<a name="id617042"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -38,24 +42,24 @@
|
||||
Sequence</a> that contains the arguments for the target function.
|
||||
</p>
|
||||
<p>
|
||||
The result is discared and the adapter's return type is <code class="computeroutput"><span class="keyword">void</span></code>.
|
||||
The result is discared and the adapter's return type is <tt class="computeroutput"><span class="keyword">void</span></tt>.
|
||||
</p>
|
||||
<p>
|
||||
The type of the target function is allowed to be const qualified or a reference.
|
||||
Const qualification is preserved and propagated appropriately (in other
|
||||
words, only const versions of <code class="literal">operator()</code> can be used
|
||||
words, only const versions of <tt class="literal">operator()</tt> can be used
|
||||
for a target function object that is const or, if the target function object
|
||||
is held by value, the adapter is const - these semantics have nothing to
|
||||
do with the const qualification of a member function, which is referring
|
||||
to the type of object pointed to by <code class="literal">this</code> which is specified
|
||||
to the type of object pointed to by <tt class="literal">this</tt> which is specified
|
||||
with the first element in the sequence passed to the adapter).
|
||||
</p>
|
||||
<p>
|
||||
If the target function is a pointer to a members function, the corresponding
|
||||
object can be specified as a reference, pointer, or smart pointer. In case
|
||||
of the latter, a freestanding <code class="literal">get_pointer</code> function must
|
||||
be defined (Boost provides this function for <code class="literal">std::auto_ptr</code>
|
||||
and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>).
|
||||
of the latter, a freestanding <tt class="literal">get_pointer</tt> function must
|
||||
be defined (Boost provides this function for <tt class="literal">std::auto_ptr</tt>
|
||||
and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></tt></a>).
|
||||
</p>
|
||||
<p>
|
||||
The target function must not be a pointer to a member object (dereferencing
|
||||
@ -63,20 +67,20 @@
|
||||
case is not implemented).
|
||||
</p>
|
||||
<a name="fusion.functional.adapters.fused_procedure.header"></a><h5>
|
||||
<a name="id1291557"></a>
|
||||
<a name="id617199"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.header">Header</a>
|
||||
</h5>
|
||||
<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">adapter</span><span class="special">/</span><span class="identifier">fused_procedure</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused_procedure.synopsis"></a><h5>
|
||||
<a name="id1291650"></a>
|
||||
<a name="id617302"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<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>
|
||||
<span class="keyword">class</span> <span class="identifier">fused_procedure</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused_procedure.template_parameters"></a><h5>
|
||||
<a name="id1291720"></a>
|
||||
<a name="id617380"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.template_parameters">Template
|
||||
parameters</a>
|
||||
</h5>
|
||||
@ -87,42 +91,30 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Default
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Function</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">Function</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
<a href="../concepts/callable.html" title=" Callable Object">Callable Object</a>
|
||||
type
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
<td><p>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.fused_procedure.model_of"></a><h5>
|
||||
<a name="id1291822"></a>
|
||||
<a name="id617493"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.model_of">Model
|
||||
of</a>
|
||||
</h5>
|
||||
@ -137,28 +129,28 @@
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">R</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">R</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const qualified <a href="../concepts/callable.html" title=" Callable Object">Callable
|
||||
Object</a> type or reference type thereof
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">r</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">r</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An object convertible to <code class="computeroutput"><span class="identifier">R</span></code>
|
||||
An object convertible to <tt class="computeroutput"><span class="identifier">R</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">s</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">s</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A <a href="../../sequence.html" title="Sequence">Sequence</a> of arguments that
|
||||
are accepted by <code class="computeroutput"><span class="identifier">r</span></code>
|
||||
are accepted by <tt class="computeroutput"><span class="identifier">r</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An instance of <code class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span></code>
|
||||
An instance of <tt class="computeroutput"><span class="identifier">fused</span><span class="special"><</span><span class="identifier">R</span><span class="special">></span></tt>
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.fused_procedure.expression_semantics"></a><h5>
|
||||
<a name="id1292018"></a>
|
||||
<a name="id617712"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -168,91 +160,75 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Semantics
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">fused_procedure</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">fused_procedure</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">r</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, initializes the target
|
||||
function with <code class="computeroutput"><span class="identifier">r</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
function with <tt class="computeroutput"><span class="identifier">r</span></tt>.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">fused_procedure</span><span class="special"><</span><span class="identifier">R</span><span class="special">>()</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">R</span></code>'s default constructor.
|
||||
</p>
|
||||
</td>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">fused_procedure</span><span class="special"><</span><span class="identifier">R</span><span class="special">>()</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, attempts to use <tt class="computeroutput"><span class="identifier">R</span></tt>'s default constructor.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Calls <code class="computeroutput"><span class="identifier">r</span></code> with the
|
||||
elements in <code class="computeroutput"><span class="identifier">s</span></code> as
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Calls <tt class="computeroutput"><span class="identifier">r</span></tt> with the
|
||||
elements in <tt class="computeroutput"><span class="identifier">s</span></tt> as
|
||||
its arguments.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.fused_procedure.example"></a><h5>
|
||||
<a name="id1292245"></a>
|
||||
<a name="id617967"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">class</span> <span class="identifier">SequenceOfSequences</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Func</span><span class="special">></span>
|
||||
<span class="keyword">void</span> <span class="identifier">n_ary_for_each</span><span class="special">(</span><span class="identifier">SequenceOfSequences</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">s</span><span class="special">,</span> <span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">f</span><span class="special">)</span>
|
||||
<span class="special">{</span>
|
||||
<a href="../../algorithm/iteration/functions/for_each.html" title="for_each"><code class="computeroutput"><span class="identifier">for_each</span></code></a><span class="special">(</span><a href="../../view/zip_view.html" title="zip_view"><code class="computeroutput"><span class="identifier">zip_view</span></code></a><span class="special"><</span><span class="identifier">SequenceOfSequences</span><span class="special">>(</span><span class="identifier">s</span><span class="special">),</span>
|
||||
<a href="../../algorithm/iteration/functions/for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a><span class="special">(</span><a href="../../view/zip_view.html" title="zip_view"><tt class="computeroutput"><span class="identifier">zip_view</span></tt></a><span class="special"><</span><span class="identifier">SequenceOfSequences</span><span class="special">>(</span><span class="identifier">s</span><span class="special">),</span>
|
||||
<span class="identifier">fused_procedure</span><span class="special"><</span><span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&>(</span><span class="identifier">f</span><span class="special">));</span>
|
||||
<span class="special">}</span>
|
||||
|
||||
<span class="keyword">void</span> <span class="identifier">try_it</span><span class="special">()</span>
|
||||
<span class="special">{</span>
|
||||
<a href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<a href="../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">;</span>
|
||||
<span class="identifier">n_ary_for_each</span><span class="special">(</span><a href="../../container/generation/functions/vector_tie.html" title="vector_tie"><code class="computeroutput"><span class="identifier">vector_tie</span></code></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">_1</span> <span class="special">-=</span> <span class="identifier">_2</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">a</span> <span class="special">==</span> <a href="../../container/generation/functions/make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0.5f</span><span class="special">));</span>
|
||||
<span class="identifier">n_ary_for_each</span><span class="special">(</span><a href="../../container/generation/functions/vector_tie.html" title="vector_tie"><tt class="computeroutput"><span class="identifier">vector_tie</span></tt></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">_1</span> <span class="special">-=</span> <span class="identifier">_2</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">a</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">0.5f</span><span class="special">));</span>
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.fused_procedure.see_also"></a><h5>
|
||||
<a name="id1292782"></a>
|
||||
<a name="id618572"></a>
|
||||
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.see_also">See
|
||||
also</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a></li>
|
||||
<li><a href="fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a></li>
|
||||
<li><a href="fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a></li>
|
||||
<li><a href="fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a></li>
|
||||
<li><a href="../invocation/functions/invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></a></li>
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a></li>
|
||||
<li><a href="../generation/functions/mk_fused_proc.html" title="
|
||||
make_fused_procedure"><code class="computeroutput"><span class="identifier">make_fused_procedure</span></code></a></li>
|
||||
make_fused_procedure"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Limits</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapters.html" title=" Adapters">
|
||||
<link rel="prev" href="unfused_typed.html" title="unfused_typed">
|
||||
<link rel="previous" href="unfused_typed.html" title="unfused_typed">
|
||||
<link rel="next" href="../generation.html" title="Generation">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,21 +23,25 @@
|
||||
<a accesskey="p" href="unfused_typed.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapters.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../generation.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.limits"></a><a href="limits.html" title="Limits">Limits</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.limits"></a><a href="limits.html" title="Limits">Limits</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.limits.header"></a><h5>
|
||||
<a name="id1316037"></a>
|
||||
<a name="id625055"></a>
|
||||
<a href="limits.html#fusion.functional.adapters.limits.header">Header</a>
|
||||
</h5>
|
||||
<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">adapter</span><span class="special">/</span><span class="identifier">limits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.limits.macros"></a><h5>
|
||||
<a name="id1316129"></a>
|
||||
<a name="id625158"></a>
|
||||
<a href="limits.html#fusion.functional.adapters.limits.macros">Macros</a>
|
||||
</h5>
|
||||
<p>
|
||||
The following macros can be defined to change the maximum arity. The value
|
||||
used for these macros must not exceed <code class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></code>.
|
||||
used for these macros must not exceed <tt class="computeroutput"><span class="identifier">FUSION_MAX_VECTOR_SIZE</span></tt>.
|
||||
The default is 6.
|
||||
</p>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>unfused</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapters.html" title=" Adapters">
|
||||
<link rel="prev" href="fused_function_object.html" title="fused_function_object">
|
||||
<link rel="previous" href="fused_function_object.html" title="fused_function_object">
|
||||
<link rel="next" href="unfused_typed.html" title="unfused_typed">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,10 +23,14 @@
|
||||
<a accesskey="p" href="fused_function_object.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapters.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="unfused_typed.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.unfused"></a><a href="unfused.html" title="unfused">unfused</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.unfused"></a><a href="unfused.html" title="unfused">unfused</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.unfused.description"></a><h5>
|
||||
<a name="id1312214"></a>
|
||||
<a name="id620760"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -42,7 +46,7 @@
|
||||
</p>
|
||||
<p>
|
||||
The nullary overload of the call operator can be removed by setting the
|
||||
second template parameter to <code class="computeroutput"><span class="keyword">false</span></code>,
|
||||
second template parameter to <tt class="computeroutput"><span class="keyword">false</span></tt>,
|
||||
which is very useful if the result type computation would result in a compile
|
||||
error, otherwise (nullary call operator's prototypes can't be templates
|
||||
and thus are instantiated as early as the class template).
|
||||
@ -54,25 +58,25 @@
|
||||
<p>
|
||||
The type of the target function is allowed to be const qualified or a reference.
|
||||
Const qualification is preserved and propagated appropriately. In other
|
||||
words, only const versions of <code class="literal">operator()</code> can be used
|
||||
words, only const versions of <tt class="literal">operator()</tt> can be used
|
||||
if the target function object is const - or, in case the target function
|
||||
object is held by value, the adapter is const.
|
||||
</p>
|
||||
<a name="fusion.functional.adapters.unfused.header"></a><h5>
|
||||
<a name="id1312314"></a>
|
||||
<a name="id620869"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.header">Header</a>
|
||||
</h5>
|
||||
<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">adapter</span><span class="special">/</span><span class="identifier">unfused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.unfused.synopsis"></a><h5>
|
||||
<a name="id1312406"></a>
|
||||
<a name="id620972"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Function</span><span class="special">,</span> <span class="keyword">bool</span> <span class="identifier">AllowNullary</span> <span class="special">=</span> <span class="keyword">true</span><span class="special">></span>
|
||||
<span class="keyword">class</span> <span class="identifier">unfused</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.unfused.template_parameters"></a><h5>
|
||||
<a name="id1312501"></a>
|
||||
<a name="id621078"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.template_parameters">Template
|
||||
parameters</a>
|
||||
</h5>
|
||||
@ -83,62 +87,44 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Default
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Function</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">Function</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
A unary <a href="../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
<td><p>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">AllowNullary</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">AllowNullary</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Boolean constant
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
true
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.unfused.model_of"></a><h5>
|
||||
<a name="id1312635"></a>
|
||||
<a name="id621227"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -152,33 +138,33 @@
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const qualified, unary <a href="../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> type or reference type thereof
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An object convertible to <code class="computeroutput"><span class="identifier">F</span></code>
|
||||
An object convertible to <tt class="computeroutput"><span class="identifier">F</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">UL</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">UL</span></tt></span></dt>
|
||||
<dd><p>
|
||||
The type <code class="computeroutput"><span class="identifier">unfused</span><span class="special"><</span><span class="identifier">F</span><span class="special">></span></code>
|
||||
The type <tt class="computeroutput"><span class="identifier">unfused</span><span class="special"><</span><span class="identifier">F</span><span class="special">></span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">ul</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">ul</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An instance of <code class="computeroutput"><span class="identifier">UL</span></code>,
|
||||
initialized with <code class="computeroutput"><span class="identifier">f</span></code>
|
||||
An instance of <tt class="computeroutput"><span class="identifier">UL</span></tt>,
|
||||
initialized with <tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Arguments to <code class="computeroutput"><span class="identifier">ul</span></code>
|
||||
Arguments to <tt class="computeroutput"><span class="identifier">ul</span></tt>
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.unfused.expression_semantics"></a><h5>
|
||||
<a name="id1312873"></a>
|
||||
<a name="id621496"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -188,61 +174,45 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Semantics
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">UL</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">UL</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, initializes the target
|
||||
function with <code class="computeroutput"><span class="identifier">f</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
function with <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">UL</span><span class="special">()</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">F</span></code>'s default constructor.
|
||||
</p>
|
||||
</td>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">UL</span><span class="special">()</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, attempts to use <tt class="computeroutput"><span class="identifier">F</span></tt>'s default constructor.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">ul</span><span class="special">(</span><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Calls <code class="computeroutput"><span class="identifier">f</span></code> with a
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">ul</span><span class="special">(</span><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Calls <tt class="computeroutput"><span class="identifier">f</span></tt> with a
|
||||
<a href="../../sequence.html" title="Sequence">Sequence</a> that contains references
|
||||
to the arguments <code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
to the arguments <tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt>.
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.unfused.example"></a><h5>
|
||||
<a name="id1313108"></a>
|
||||
<a name="id621760"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">fused_incrementer</span>
|
||||
@ -256,7 +226,7 @@
|
||||
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
<span class="keyword">void</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">Seq</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">s</span><span class="special">)</span> <span class="keyword">const</span>
|
||||
<span class="special">{</span>
|
||||
<a href="../../algorithm/iteration/functions/for_each.html" title="for_each"><code class="computeroutput"><span class="identifier">for_each</span></code></a><span class="special">(</span><span class="identifier">s</span><span class="special">,++</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">);</span>
|
||||
<a href="../../algorithm/iteration/functions/for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a><span class="special">(</span><span class="identifier">s</span><span class="special">,++</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">);</span>
|
||||
<span class="special">}</span>
|
||||
<span class="special">};</span>
|
||||
|
||||
@ -269,13 +239,13 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.unfused.see_also"></a><h5>
|
||||
<a name="id1313547"></a>
|
||||
<a name="id622256"></a>
|
||||
<a href="unfused.html#fusion.functional.adapters.unfused.see_also">See also</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="unfused_typed.html" title="unfused_typed"><code class="computeroutput"><span class="identifier">unfused_typed</span></code></a></li>
|
||||
<li><a href="unfused_typed.html" title="unfused_typed"><tt class="computeroutput"><span class="identifier">unfused_typed</span></tt></a></li>
|
||||
<li><a href="../generation/functions/mk_unfused.html" title="
|
||||
make_unfused"><code class="computeroutput"><span class="identifier">make_unfused</span></code></a></li>
|
||||
make_unfused"><tt class="computeroutput"><span class="identifier">make_unfused</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>unfused_typed</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapters.html" title=" Adapters">
|
||||
<link rel="prev" href="unfused.html" title="unfused">
|
||||
<link rel="previous" href="unfused.html" title="unfused">
|
||||
<link rel="next" href="limits.html" title="Limits">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,10 +23,14 @@
|
||||
<a accesskey="p" href="unfused.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapters.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="limits.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.unfused_typed"></a><a href="unfused_typed.html" title="unfused_typed">unfused_typed</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.adapters.unfused_typed"></a><a href="unfused_typed.html" title="unfused_typed">unfused_typed</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.unfused_typed.description"></a><h5>
|
||||
<a name="id1313632"></a>
|
||||
<a name="id622348"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -46,36 +50,36 @@
|
||||
<p>
|
||||
The type of the target function is allowed to be const qualified or a reference.
|
||||
Const qualification is preserved and propagated appropriately (in other
|
||||
words, only const versions of <code class="literal">operator()</code> can be used
|
||||
words, only const versions of <tt class="literal">operator()</tt> can be used
|
||||
if the target function object is const - or, in case the target function
|
||||
object is held by value, the adapter is const).
|
||||
</p>
|
||||
<div class="sidebar"><p>
|
||||
<span class="inlinemediaobject"><img src="../../../images/note.png" alt="note"></span> For Microsoft Visual C++ 7.1 (Visual Studio 2003)
|
||||
<span class="inlinemediaobject"><img src="images/note.png" alt="note"></span> For Microsoft Visual C++ 7.1 (Visual Studio 2003)
|
||||
the detection of the Function Object's const qualification easily causes
|
||||
an internal error. Therefore the adapter is always treated as if it was
|
||||
const.
|
||||
</p></div>
|
||||
<div class="sidebar"><p>
|
||||
<span class="inlinemediaobject"><img src="../../../images/tip.png" alt="tip"></span> If the type sequence passed to this template contains
|
||||
<span class="inlinemediaobject"><img src="images/tip.png" alt="tip"></span> If the type sequence passed to this template contains
|
||||
non-reference elements, the element is copied only once - the call operator's
|
||||
signature is optimized automatically to avoid by-value parameters.
|
||||
</p></div>
|
||||
<a name="fusion.functional.adapters.unfused_typed.header"></a><h5>
|
||||
<a name="id1313766"></a>
|
||||
<a name="id622496"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.header">Header</a>
|
||||
</h5>
|
||||
<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">adapter</span><span class="special">/</span><span class="identifier">unfused_typed</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.unfused_typed.synopsis"></a><h5>
|
||||
<a name="id1313858"></a>
|
||||
<a name="id622599"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Function</span><span class="special">,</span> <span class="keyword">class</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">class</span> <span class="identifier">unfused_typed</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.unfused_typed.template_parameters"></a><h5>
|
||||
<a name="id1313944"></a>
|
||||
<a name="id622694"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.template_parameters">Template
|
||||
parameters</a>
|
||||
</h5>
|
||||
@ -86,61 +90,43 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Default
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Function</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">Function</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
A unary <a href="../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
<td><p>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">Sequence</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
A <a href="../../sequence.html" title="Sequence">Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
<td><p>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.unfused_typed.model_of"></a><h5>
|
||||
<a name="id1314083"></a>
|
||||
<a name="id622850"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.model_of">Model
|
||||
of</a>
|
||||
</h5>
|
||||
@ -155,38 +141,38 @@
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const qualified, unary <a href="../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> type or reference type thereof
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An object convertible to <code class="computeroutput"><span class="identifier">F</span></code>
|
||||
An object convertible to <tt class="computeroutput"><span class="identifier">F</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">S</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">S</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A <a href="../../sequence.html" title="Sequence">Sequence</a> of parameter types
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">UT</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">UT</span></tt></span></dt>
|
||||
<dd><p>
|
||||
The type <code class="computeroutput"><span class="identifier">unfused_typed</span><span class="special"><</span><span class="identifier">F</span><span class="special">,</span><span class="identifier">S</span><span class="special">></span></code>
|
||||
The type <tt class="computeroutput"><span class="identifier">unfused_typed</span><span class="special"><</span><span class="identifier">F</span><span class="special">,</span><span class="identifier">S</span><span class="special">></span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">ut</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">ut</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An instance of <code class="computeroutput"><span class="identifier">UT</span></code>,
|
||||
initialized with <code class="computeroutput"><span class="identifier">f</span></code>
|
||||
An instance of <tt class="computeroutput"><span class="identifier">UT</span></tt>,
|
||||
initialized with <tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Arguments to <code class="computeroutput"><span class="identifier">ut</span></code>, convertible
|
||||
to the types in <code class="computeroutput"><span class="identifier">S</span></code>
|
||||
Arguments to <tt class="computeroutput"><span class="identifier">ut</span></tt>, convertible
|
||||
to the types in <tt class="computeroutput"><span class="identifier">S</span></tt>
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.adapters.unfused_typed.expression_semantics"></a><h5>
|
||||
<a name="id1314370"></a>
|
||||
<a name="id623172"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -196,63 +182,47 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Semantics
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">UT</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">UT</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, initializes the target
|
||||
function with <code class="computeroutput"><span class="identifier">f</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
function with <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">UT</span><span class="special">()</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">F</span></code>'s default constructor.
|
||||
</p>
|
||||
</td>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">UT</span><span class="special">()</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Creates a fused function as described above, attempts to use <tt class="computeroutput"><span class="identifier">F</span></tt>'s default constructor.
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">ut</span><span class="special">(</span><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Calls <code class="computeroutput"><span class="identifier">f</span></code> with an
|
||||
instance of <code class="computeroutput"><span class="identifier">S</span></code> (or
|
||||
a subsequence of <code class="computeroutput"><span class="identifier">S</span></code>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">ut</span><span class="special">(</span><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Calls <tt class="computeroutput"><span class="identifier">f</span></tt> with an
|
||||
instance of <tt class="computeroutput"><span class="identifier">S</span></tt> (or
|
||||
a subsequence of <tt class="computeroutput"><span class="identifier">S</span></tt>
|
||||
starting at the first element, if fewer arguments are given and
|
||||
the overload hasn't been disabled) initialized with <code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code>.
|
||||
</p>
|
||||
</td>
|
||||
the overload hasn't been disabled) initialized with <tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt>.
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.adapters.unfused_typed.example"></a><h5>
|
||||
<a name="id1314621"></a>
|
||||
<a name="id623454"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">add_assign</span> <span class="comment">// applies operator+=
|
||||
@ -320,13 +290,13 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.adapters.unfused_typed.see_also"></a><h5>
|
||||
<a name="id1315937"></a>
|
||||
<a name="id624945"></a>
|
||||
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.see_also">See also</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="unfused.html" title="unfused"><code class="computeroutput"><span class="identifier">unfused</span></code></a></li>
|
||||
<li><a href="../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
|
||||
<li><a href="../../support/deduce_sequence.html" title="deduce_sequence"><code class="computeroutput"><span class="identifier">deduce_sequence</span></code></a></li>
|
||||
<li><a href="unfused.html" title="unfused"><tt class="computeroutput"><span class="identifier">unfused</span></tt></a></li>
|
||||
<li><a href="../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li>
|
||||
<li><a href="../../support/deduce_sequence.html" title="deduce_sequence"><tt class="computeroutput"><span class="identifier">deduce_sequence</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Concepts</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functional.html" title="Functional">
|
||||
<link rel="prev" href="../functional.html" title="Functional">
|
||||
<link rel="previous" href="../functional.html" title="Functional">
|
||||
<link rel="next" href="concepts/callable.html" title=" Callable Object">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,8 +23,12 @@
|
||||
<a accesskey="p" href="../functional.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functional.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="concepts/callable.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.functional.concepts"></a><a href="concepts.html" title="Concepts">Concepts</a></h3></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
<a name="fusion.functional.concepts"></a><a href="concepts.html" title="Concepts">Concepts</a>
|
||||
</h3></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="concepts/callable.html"> Callable Object</a></span></dt>
|
||||
<dt><span class="section"><a href="concepts/reg_callable.html"> Regular Callable
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title> Callable Object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../concepts.html" title="Concepts">
|
||||
<link rel="prev" href="../concepts.html" title="Concepts">
|
||||
<link rel="previous" href="../concepts.html" title="Concepts">
|
||||
<link rel="next" href="reg_callable.html" title=" Regular Callable
|
||||
Object">
|
||||
</head>
|
||||
@ -24,10 +24,14 @@
|
||||
<a accesskey="p" href="../concepts.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="reg_callable.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.concepts.callable"></a><a href="callable.html" title=" Callable Object"> Callable Object</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.concepts.callable"></a><a href="callable.html" title=" Callable Object"> Callable Object</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.concepts.callable.description"></a><h5>
|
||||
<a name="id1283178"></a>
|
||||
<a name="id607866"></a>
|
||||
<a href="callable.html#fusion.functional.concepts.callable.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -36,7 +40,7 @@
|
||||
of a function call operator.
|
||||
</p>
|
||||
<a name="fusion.functional.concepts.callable.models"></a><h5>
|
||||
<a name="id1283206"></a>
|
||||
<a name="id607897"></a>
|
||||
<a href="callable.html#fusion.functional.concepts.callable.models">Models</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -51,7 +55,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.functional.concepts.callable.examples"></a><h5>
|
||||
<a name="id1283243"></a>
|
||||
<a name="id607938"></a>
|
||||
<a href="callable.html#fusion.functional.concepts.callable.examples">Examples</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="special">&</span> <span class="identifier">a_free_function</span>
|
||||
@ -63,7 +67,7 @@
|
||||
</span><span class="identifier">bind</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(),</span> <span class="identifier">_1</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span>
|
||||
<span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span> <span class="special">+=</span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_2</span><span class="special">;</span>
|
||||
<span class="identifier">fusion</span><span class="special">::</span><a href="../generation/functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title> Deferred
|
||||
Callable Object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../concepts.html" title="Concepts">
|
||||
<link rel="prev" href="reg_callable.html" title=" Regular Callable
|
||||
<link rel="previous" href="reg_callable.html" title=" Regular Callable
|
||||
Object">
|
||||
<link rel="next" href="poly.html" title=" Polymorphic Function
|
||||
Object">
|
||||
@ -26,12 +26,16 @@
|
||||
<a accesskey="p" href="reg_callable.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="poly.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.concepts.def_callable"></a><a href="def_callable.html" title=" Deferred
|
||||
Callable Object"> Deferred
|
||||
Callable Object</a></h4></div></div></div>
|
||||
Callable Object</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.concepts.def_callable.description"></a><h5>
|
||||
<a name="id1284161"></a>
|
||||
<a name="id608961"></a>
|
||||
<a href="def_callable.html#fusion.functional.concepts.def_callable.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -40,48 +44,48 @@
|
||||
to determine the result of a call.
|
||||
</p>
|
||||
<a name="fusion.functional.concepts.def_callable.refinement_of"></a><h5>
|
||||
<a name="id1284204"></a>
|
||||
<a name="id609006"></a>
|
||||
<a href="def_callable.html#fusion.functional.concepts.def_callable.refinement_of">Refinement
|
||||
of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="callable.html" title=" Callable Object">Callable Object</a></li></ul></div>
|
||||
<div class="sidebar"><p>
|
||||
note Once C++ supports the <code class="literal">decltype</code> keyword, all models
|
||||
note Once C++ supports the <tt class="literal">decltype</tt> keyword, all models
|
||||
of <a href="callable.html" title=" Callable Object">Callable Object</a>
|
||||
will also be models of <a href="def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred
|
||||
Callable Object</a>, because function objects won't need client-side
|
||||
support for <code class="computeroutput"><span class="identifier">result_of</span></code>.
|
||||
support for <tt class="computeroutput"><span class="identifier">result_of</span></tt>.
|
||||
</p></div>
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const qualified Deferred Callable Object type
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Argument types
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a1</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Objects or references to objects with types <code class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></code>
|
||||
Objects or references to objects with types <tt class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">T1</span>
|
||||
<span class="special">...</span><span class="identifier">TN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">T1</span>
|
||||
<span class="special">...</span><span class="identifier">TN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
<code class="computeroutput"><span class="identifier">T</span></code>i is <code class="computeroutput"><span class="identifier">A</span></code>i <code class="computeroutput"><span class="special">&</span></code>
|
||||
if <code class="computeroutput"><span class="identifier">a</span></code>i is an LValue,
|
||||
same as <code class="computeroutput"><span class="identifier">A</span></code>i, otherwise
|
||||
<tt class="computeroutput"><span class="identifier">T</span></tt>i is <tt class="computeroutput"><span class="identifier">A</span></tt>i <tt class="computeroutput"><span class="special">&</span></tt>
|
||||
if <tt class="computeroutput"><span class="identifier">a</span></tt>i is an LValue,
|
||||
same as <tt class="computeroutput"><span class="identifier">A</span></tt>i, otherwise
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.concepts.def_callable.expression_requirements"></a><h5>
|
||||
<a name="id1284474"></a>
|
||||
<a name="id609308"></a>
|
||||
<a href="def_callable.html#fusion.functional.concepts.def_callable.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h5>
|
||||
@ -91,35 +95,27 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Type
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<a href="http://www.boost.org/libs/utility/utility.htm#result_of" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">result_of</span></code></a><code class="computeroutput"><span class="special"><</span> <span class="identifier">F</span><span class="special">(</span><span class="identifier">T1</span>
|
||||
<span class="special">...</span><span class="identifier">TN</span><span class="special">)</span> <span class="special">>::</span><span class="identifier">type</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
Result of a call with <code class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></code>-typed
|
||||
<td><p>
|
||||
<a href="http://www.boost.org/libs/utility/utility.htm#result_of" target="_top"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">result_of</span></tt></a><tt class="computeroutput"><span class="special"><</span> <span class="identifier">F</span><span class="special">(</span><span class="identifier">T1</span>
|
||||
<span class="special">...</span><span class="identifier">TN</span><span class="special">)</span> <span class="special">>::</span><span class="identifier">type</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Result of a call with <tt class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></tt>-typed
|
||||
arguments
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.concepts.def_callable.models"></a><h5>
|
||||
<a name="id1284637"></a>
|
||||
<a name="id609490"></a>
|
||||
<a href="def_callable.html#fusion.functional.concepts.def_callable.models">Models</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -133,7 +129,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.functional.concepts.def_callable.examples"></a><h5>
|
||||
<a name="id1284677"></a>
|
||||
<a name="id609536"></a>
|
||||
<a href="def_callable.html#fusion.functional.concepts.def_callable.examples">Examples</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="special">&</span> <span class="identifier">a_free_function</span>
|
||||
@ -145,7 +141,7 @@
|
||||
</span><span class="identifier">bind</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(),</span> <span class="identifier">_1</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span>
|
||||
<span class="comment">// Note: Boost.Lambda expressions don't work with __boost_result_of__
|
||||
</span><span class="identifier">fusion</span><span class="special">::</span><a href="../generation/functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title> Polymorphic Function
|
||||
Object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../concepts.html" title="Concepts">
|
||||
<link rel="prev" href="def_callable.html" title=" Deferred
|
||||
<link rel="previous" href="def_callable.html" title=" Deferred
|
||||
Callable Object">
|
||||
<link rel="next" href="../invocation.html" title="Invocation">
|
||||
</head>
|
||||
@ -25,12 +25,16 @@
|
||||
<a accesskey="p" href="def_callable.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../invocation.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.concepts.poly"></a><a href="poly.html" title=" Polymorphic Function
|
||||
Object"> Polymorphic Function
|
||||
Object</a></h4></div></div></div>
|
||||
Object</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.concepts.poly.description"></a><h5>
|
||||
<a name="id1284943"></a>
|
||||
<a name="id609834"></a>
|
||||
<a href="poly.html#fusion.functional.concepts.poly.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -39,7 +43,7 @@
|
||||
Callable Object</a> type.
|
||||
</p>
|
||||
<a name="fusion.functional.concepts.poly.refinement_of"></a><h5>
|
||||
<a name="id1284978"></a>
|
||||
<a name="id609872"></a>
|
||||
<a href="poly.html#fusion.functional.concepts.poly.refinement_of">Refinement
|
||||
of</a>
|
||||
</h5>
|
||||
@ -54,36 +58,36 @@
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const-qualified Polymorphic Function Object type
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An object or reference to an object of type F
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Argument types
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a1</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Objects or references to objects with types <code class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></code>
|
||||
Objects or references to objects with types <tt class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></tt>
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">T1</span>
|
||||
<span class="special">...</span><span class="identifier">TN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">T1</span>
|
||||
<span class="special">...</span><span class="identifier">TN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
<code class="computeroutput"><span class="identifier">T</span></code>i is <code class="computeroutput"><span class="identifier">A</span></code>i <code class="computeroutput"><span class="special">&</span></code>
|
||||
if <code class="computeroutput"><span class="identifier">a</span></code>i is an LValue,
|
||||
same as <code class="computeroutput"><span class="identifier">A</span></code>i, otherwise
|
||||
<tt class="computeroutput"><span class="identifier">T</span></tt>i is <tt class="computeroutput"><span class="identifier">A</span></tt>i <tt class="computeroutput"><span class="special">&</span></tt>
|
||||
if <tt class="computeroutput"><span class="identifier">a</span></tt>i is an LValue,
|
||||
same as <tt class="computeroutput"><span class="identifier">A</span></tt>i, otherwise
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.concepts.poly.expression_requirements"></a><h5>
|
||||
<a name="id1285235"></a>
|
||||
<a name="id610160"></a>
|
||||
<a href="poly.html#fusion.functional.concepts.poly.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h5>
|
||||
@ -94,45 +98,33 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Return Type
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Runtime Complexity
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">a1</span><span class="special">,</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">result_of</span><span class="special"><</span>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">a1</span><span class="special">,</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">result_of</span><span class="special"><</span>
|
||||
<span class="identifier">F</span><span class="special">(</span><span class="identifier">T1</span><span class="special">,</span>
|
||||
<span class="special">...</span><span class="identifier">TN</span><span class="special">)</span> <span class="special">>::</span><span class="identifier">type</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<span class="special">...</span><span class="identifier">TN</span><span class="special">)</span> <span class="special">>::</span><span class="identifier">type</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Unspecified
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.concepts.poly.models"></a><h5>
|
||||
<a name="id1285413"></a>
|
||||
<a name="id610358"></a>
|
||||
<a href="poly.html#fusion.functional.concepts.poly.models">Models</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -147,7 +139,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.functional.concepts.poly.examples"></a><h5>
|
||||
<a name="id1285459"></a>
|
||||
<a name="id610410"></a>
|
||||
<a href="poly.html#fusion.functional.concepts.poly.examples">Examples</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="special">&</span> <span class="identifier">a_free_function</span>
|
||||
@ -157,7 +149,7 @@
|
||||
</span><span class="identifier">bind</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(),</span> <span class="identifier">_1</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span>
|
||||
<span class="comment">// Note: Boost.Lambda expressions don't work with __boost_result_of__
|
||||
</span><span class="identifier">fusion</span><span class="special">::</span><a href="../generation/functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title> Regular Callable
|
||||
Object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../concepts.html" title="Concepts">
|
||||
<link rel="prev" href="callable.html" title=" Callable Object">
|
||||
<link rel="previous" href="callable.html" title=" Callable Object">
|
||||
<link rel="next" href="def_callable.html" title=" Deferred
|
||||
Callable Object">
|
||||
</head>
|
||||
@ -25,12 +25,16 @@
|
||||
<a accesskey="p" href="callable.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="def_callable.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.concepts.reg_callable"></a><a href="reg_callable.html" title=" Regular Callable
|
||||
Object"> Regular Callable
|
||||
Object</a></h4></div></div></div>
|
||||
Object</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.concepts.reg_callable.description"></a><h5>
|
||||
<a name="id1283542"></a>
|
||||
<a name="id608274"></a>
|
||||
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -39,7 +43,7 @@
|
||||
can appear immediately to the left of a function call operator.
|
||||
</p>
|
||||
<a name="fusion.functional.concepts.reg_callable.refinement_of"></a><h5>
|
||||
<a name="id1283580"></a>
|
||||
<a name="id608315"></a>
|
||||
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.refinement_of">Refinement
|
||||
of</a>
|
||||
</h5>
|
||||
@ -47,29 +51,29 @@
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
|
||||
<dd><p>
|
||||
A possibly const qualified Deferred Callable Object type
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
|
||||
<dd><p>
|
||||
An object or reference to an object of type F
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Argument types
|
||||
</p></dd>
|
||||
<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span></code></span></dt>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a1</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span></tt></span></dt>
|
||||
<dd><p>
|
||||
Objects or references to objects with types <code class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></code>
|
||||
Objects or references to objects with types <tt class="computeroutput"><span class="identifier">A1</span>
|
||||
<span class="special">...</span><span class="identifier">AN</span></tt>
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.functional.concepts.reg_callable.expression_requirements"></a><h5>
|
||||
<a name="id1283746"></a>
|
||||
<a name="id608500"></a>
|
||||
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h5>
|
||||
@ -80,43 +84,31 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Expression
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Return Type
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Runtime Complexity
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">a1</span><span class="special">,</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span><span class="special">)</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">a1</span><span class="special">,</span>
|
||||
<span class="special">...</span><span class="identifier">aN</span><span class="special">)</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Unspecified
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Unspecified
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.concepts.reg_callable.models"></a><h5>
|
||||
<a name="id1283868"></a>
|
||||
<a name="id608634"></a>
|
||||
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.models">Models</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -128,7 +120,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.functional.concepts.reg_callable.examples"></a><h5>
|
||||
<a name="id1283901"></a>
|
||||
<a name="id608671"></a>
|
||||
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.examples">Examples</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="special">&</span> <span class="identifier">a_free_function</span>
|
||||
@ -138,7 +130,7 @@
|
||||
</span><span class="identifier">bind</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(),</span> <span class="identifier">_1</span><span class="special">,</span> <span class="number">5</span><span class="special">)</span>
|
||||
<span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span> <span class="special">+=</span> <span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_2</span><span class="special">;</span>
|
||||
<span class="identifier">fusion</span><span class="special">::</span><a href="../generation/functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span><span class="special"><</span><span class="keyword">int</span><span class="special">>())</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Generation</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functional.html" title="Functional">
|
||||
<link rel="prev" href="adapters/limits.html" title="Limits">
|
||||
<link rel="previous" href="adapters/limits.html" title="Limits">
|
||||
<link rel="next" href="generation/functions.html" title="Functions">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,8 +23,12 @@
|
||||
<a accesskey="p" href="adapters/limits.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functional.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="generation/functions.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.functional.generation"></a><a href="generation.html" title="Generation">Generation</a></h3></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
<a name="fusion.functional.generation"></a><a href="generation.html" title="Generation">Generation</a>
|
||||
</h3></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="generation/functions.html">Functions</a></span></dt>
|
||||
<dt><span class="section"><a href="generation/metafunctions.html">Metafunctions</a></span></dt>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Functions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../generation.html" title="Generation">
|
||||
<link rel="prev" href="../generation.html" title="Generation">
|
||||
<link rel="previous" href="../generation.html" title="Generation">
|
||||
<link rel="next" href="functions/mk_fused.html" title="
|
||||
make_fused">
|
||||
</head>
|
||||
@ -24,8 +24,12 @@
|
||||
<a accesskey="p" href="../generation.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../generation.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="functions/mk_fused.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.generation.functions"></a><a href="functions.html" title="Functions">Functions</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.generation.functions"></a><a href="functions.html" title="Functions">Functions</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="functions/mk_fused.html">
|
||||
make_fused</a></span></dt>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_fused</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="../functions.html" title="Functions">
|
||||
<link rel="next" href="mk_fused_proc.html" title="
|
||||
make_fused_procedure">
|
||||
</head>
|
||||
@ -25,31 +25,35 @@
|
||||
<a accesskey="p" href="../functions.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mk_fused_proc.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.functions.mk_fused"></a><a href="mk_fused.html" title="
|
||||
make_fused">
|
||||
make_fused</a></h5></div></div></div>
|
||||
make_fused</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.functions.mk_fused.description"></a><h6>
|
||||
<a name="id1316232"></a>
|
||||
<a name="id625269"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Creates a <a href="../../adapters/fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a> adapter for a given <a href="../../concepts/def_callable.html" title=" Deferred
|
||||
Creates a <a href="../../adapters/fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a> adapter for a given <a href="../../concepts/def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred Callable Object</a>.
|
||||
The usual <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
|
||||
conversion</em></span></a> is applied to the target function.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_fused.synopsis"></a><h6>
|
||||
<a name="id1316293"></a>
|
||||
<a name="id625335"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span>
|
||||
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_fused.html" title="
|
||||
make_fused"><code class="computeroutput"><span class="identifier">make_fused</span></code></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
make_fused"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">make_fused</span><span class="special">(</span><span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused.parameters"></a><h6>
|
||||
<a name="id1316428"></a>
|
||||
<a name="id625487"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -59,87 +63,75 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../concepts/def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred
|
||||
Callable Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The function to transform.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.generation.functions.mk_fused.expression_semantics"></a><h6>
|
||||
<a name="id1316534"></a>
|
||||
<a name="id625602"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_fused</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="bold"><strong>Return type</strong></span>: A specialization of <a href="../../adapters/fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a>.
|
||||
<span class="bold"><b>Return type</b></span>: A specialization of <a href="../../adapters/fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a>.
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><strong>Semantics</strong></span>: Returns a <a href="../../adapters/fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a> adapter for <code class="computeroutput"><span class="identifier">f</span></code>.
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a <a href="../../adapters/fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a> adapter for <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_fused.header"></a><h6>
|
||||
<a name="id1316642"></a>
|
||||
<a name="id625724"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_fused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_fused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused.example"></a><h6>
|
||||
<a name="id1316790"></a>
|
||||
<a name="id625890"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">float</span> <span class="identifier">sub</span><span class="special">(</span><span class="keyword">float</span> <span class="identifier">a</span><span class="special">,</span> <span class="keyword">float</span> <span class="identifier">b</span><span class="special">)</span> <span class="special">{</span> <span class="keyword">return</span> <span class="identifier">a</span> <span class="special">-</span> <span class="identifier">b</span><span class="special">;</span> <span class="special">}</span>
|
||||
|
||||
<span class="keyword">void</span> <span class="identifier">try_it</span><span class="special">()</span>
|
||||
<span class="special">{</span>
|
||||
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">c</span><span class="special">(</span><span class="number">1.0f</span><span class="special">,</span><span class="number">0.5f</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <a href="../../../algorithm/transformation/functions/transform.html" title="transform"><code class="computeroutput"><span class="identifier">transform</span></code></a><span class="special">(</span><a href="../../../algorithm/transformation/functions/zip.html" title="zip"><code class="computeroutput"><span class="identifier">zip</span></code></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">make_fused</span><span class="special">(&</span> <span class="identifier">sub</span><span class="special">)));</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <a href="../../../algorithm/transformation/functions/transform.html" title="transform"><code class="computeroutput"><span class="identifier">transform</span></code></a><span class="special">(</span><a href="../../../algorithm/transformation/functions/zip.html" title="zip"><code class="computeroutput"><span class="identifier">zip</span></code></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">make_fused</span><span class="special">(</span><a href="http://www.sgi.com/tech/stl/minus.html" target="_top"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">minus</span></code></a><span class="special"><</span><span class="keyword">float</span><span class="special">>())));</span>
|
||||
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">c</span><span class="special">(</span><span class="number">1.0f</span><span class="special">,</span><span class="number">0.5f</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <a href="../../../algorithm/transformation/functions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><a href="../../../algorithm/transformation/functions/zip.html" title="zip"><tt class="computeroutput"><span class="identifier">zip</span></tt></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">make_fused</span><span class="special">(&</span> <span class="identifier">sub</span><span class="special">)));</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <a href="../../../algorithm/transformation/functions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><a href="../../../algorithm/transformation/functions/zip.html" title="zip"><tt class="computeroutput"><span class="identifier">zip</span></tt></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">make_fused</span><span class="special">(</span><a href="http://www.sgi.com/tech/stl/minus.html" target="_top"><tt class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">minus</span></tt></a><span class="special"><</span><span class="keyword">float</span><span class="special">>())));</span>
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused.see_also"></a><h6>
|
||||
<a name="id1317323"></a>
|
||||
<a name="id626490"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../../adapters/fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
|
||||
<li><a href="../../adapters/fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li>
|
||||
<li><a href="../metafunctions/mk_fused.html" title="
|
||||
make_fused"><code class="computeroutput"><span class="identifier">make_fused</span></code></a></li>
|
||||
make_fused"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_fused_function_object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="mk_fused_proc.html" title="
|
||||
<link rel="previous" href="mk_fused_proc.html" title="
|
||||
make_fused_procedure">
|
||||
<link rel="next" href="mk_unfused.html" title="
|
||||
make_unfused">
|
||||
@ -26,32 +26,36 @@
|
||||
<a accesskey="p" href="mk_fused_proc.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mk_unfused.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj"></a><a href="mk_fused_fobj.html" title="
|
||||
make_fused_function_object">
|
||||
make_fused_function_object</a></h5></div></div></div>
|
||||
make_fused_function_object</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj.description"></a><h6>
|
||||
<a name="id1318328"></a>
|
||||
<a name="id627605"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Creates a <a href="../../adapters/fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a> adapter
|
||||
Creates a <a href="../../adapters/fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a> adapter
|
||||
for a given <a href="../../concepts/def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred
|
||||
Callable Object</a>. The usual <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
|
||||
conversion</em></span></a> is applied to the target function.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj.synopsis"></a><h6>
|
||||
<a name="id1318390"></a>
|
||||
<a name="id627674"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span>
|
||||
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">make_fused_function_object</span><span class="special">(</span><span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj.parameters"></a><h6>
|
||||
<a name="id1318525"></a>
|
||||
<a name="id627825"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -61,65 +65,53 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The function to transform.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj.expression_semantics"></a><h6>
|
||||
<a name="id1318630"></a>
|
||||
<a name="id627938"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_fused_function_object</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="bold"><strong>Return type</strong></span>: A specialization of <a href="../../adapters/fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a>.
|
||||
<span class="bold"><b>Return type</b></span>: A specialization of <a href="../../adapters/fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a>.
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><strong>Semantics</strong></span>: Returns a <a href="../../adapters/fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a> adapter
|
||||
for <code class="computeroutput"><span class="identifier">f</span></code>.
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a <a href="../../adapters/fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a> adapter
|
||||
for <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj.header"></a><h6>
|
||||
<a name="id1318740"></a>
|
||||
<a name="id628062"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_fused_function_object</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_fused_function_object</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj.example"></a><h6>
|
||||
<a name="id1318889"></a>
|
||||
<a name="id628230"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">sub</span>
|
||||
@ -140,22 +132,22 @@
|
||||
|
||||
<span class="keyword">void</span> <span class="identifier">try_it</span><span class="special">()</span>
|
||||
<span class="special">{</span>
|
||||
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">c</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0.5f</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <a href="../../../algorithm/transformation/functions/transform.html" title="transform"><code class="computeroutput"><span class="identifier">transform</span></code></a><span class="special">(</span><a href="../../../algorithm/transformation/functions/zip.html" title="zip"><code class="computeroutput"><span class="identifier">zip</span></code></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">make_fused_function_object</span><span class="special">(</span><span class="identifier">sub</span><span class="special">())));</span>
|
||||
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">a</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">2.0f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">b</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">1.5f</span><span class="special">);</span>
|
||||
<a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">></span> <span class="identifier">c</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">0.5f</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">c</span> <span class="special">==</span> <a href="../../../algorithm/transformation/functions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><a href="../../../algorithm/transformation/functions/zip.html" title="zip"><tt class="computeroutput"><span class="identifier">zip</span></tt></a><span class="special">(</span><span class="identifier">a</span><span class="special">,</span><span class="identifier">b</span><span class="special">),</span> <span class="identifier">make_fused_function_object</span><span class="special">(</span><span class="identifier">sub</span><span class="special">())));</span>
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_fobj.see_also"></a><h6>
|
||||
<a name="id1319542"></a>
|
||||
<a name="id628966"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../../adapters/fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
|
||||
<li><a href="../../adapters/fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li>
|
||||
<li><a href="../metafunctions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a></li>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_fused_procedure</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="mk_fused.html" title="
|
||||
<link rel="previous" href="mk_fused.html" title="
|
||||
make_fused">
|
||||
<link rel="next" href="mk_fused_fobj.html" title="
|
||||
make_fused_function_object">
|
||||
@ -26,32 +26,36 @@
|
||||
<a accesskey="p" href="mk_fused.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mk_fused_fobj.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc"></a><a href="mk_fused_proc.html" title="
|
||||
make_fused_procedure">
|
||||
make_fused_procedure</a></h5></div></div></div>
|
||||
make_fused_procedure</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc.description"></a><h6>
|
||||
<a name="id1317427"></a>
|
||||
<a name="id626602"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Creates a <a href="../../adapters/fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a> adapter for
|
||||
Creates a <a href="../../adapters/fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a> adapter for
|
||||
a given <a href="../../concepts/def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred
|
||||
Callable Object</a>. The usual <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
|
||||
conversion</em></span></a> applied to the target function.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc.synopsis"></a><h6>
|
||||
<a name="id1317488"></a>
|
||||
<a name="id626669"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span>
|
||||
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_fused_proc.html" title="
|
||||
make_fused_procedure"><code class="computeroutput"><span class="identifier">make_fused_procedure</span></code></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
make_fused_procedure"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">make_fused_procedure</span><span class="special">(</span><span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc.parameters"></a><h6>
|
||||
<a name="id1317624"></a>
|
||||
<a name="id626821"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -61,81 +65,69 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../concepts/callable.html" title=" Callable Object">Callable
|
||||
Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The function to transform.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc.expression_semantics"></a><h6>
|
||||
<a name="id1317730"></a>
|
||||
<a name="id626934"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_fused_procedure</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="bold"><strong>Return type</strong></span>: A specialization of <a href="../../adapters/fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a>.
|
||||
<span class="bold"><b>Return type</b></span>: A specialization of <a href="../../adapters/fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a>.
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><strong>Semantics</strong></span>: Returns a <a href="../../adapters/fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a> adapter for
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>.
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a <a href="../../adapters/fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a> adapter for
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc.header"></a><h6>
|
||||
<a name="id1317837"></a>
|
||||
<a name="id627056"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_fused_procedure</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_fused_procedure</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc.example"></a><h6>
|
||||
<a name="id1317985"></a>
|
||||
<a name="id627223"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span>
|
||||
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span>
|
||||
<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">;</span>
|
||||
<span class="identifier">make_fused_procedure</span><span class="special">(</span><span class="identifier">_1</span> <span class="special">+=</span> <span class="identifier">_2</span> <span class="special">-</span> <span class="identifier">_3</span><span class="special">)(</span><span class="identifier">v</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><a href="../../../sequence/intrinsic/functions/front.html" title="front"><code class="computeroutput"><span class="identifier">front</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">0</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><a href="../../../sequence/intrinsic/functions/front.html" title="front"><tt class="computeroutput"><span class="identifier">front</span></tt></a><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">0</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_fused_proc.see_also"></a><h6>
|
||||
<a name="id1318223"></a>
|
||||
<a name="id627490"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../../adapters/fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
|
||||
<li><a href="../../adapters/fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li>
|
||||
<li><a href="../metafunctions/mk_fused_proc.html" title="
|
||||
make_fused_procedure"><code class="computeroutput"><span class="identifier">make_fused_procedure</span></code></a></li>
|
||||
make_fused_procedure"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_unfused</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="mk_fused_fobj.html" title="
|
||||
<link rel="previous" href="mk_fused_fobj.html" title="
|
||||
make_fused_function_object">
|
||||
<link rel="next" href="../metafunctions.html" title="Metafunctions">
|
||||
</head>
|
||||
@ -25,32 +25,36 @@
|
||||
<a accesskey="p" href="mk_fused_fobj.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.functions.mk_unfused"></a><a href="mk_unfused.html" title="
|
||||
make_unfused">
|
||||
make_unfused</a></h5></div></div></div>
|
||||
make_unfused</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.functions.mk_unfused.description"></a><h6>
|
||||
<a name="id1319645"></a>
|
||||
<a name="id629079"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.functions.mk_unfused.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Creates a <a href="../../adapters/unfused.html" title="unfused"><code class="computeroutput"><span class="identifier">unfused</span></code></a> adapter for a given,
|
||||
Creates a <a href="../../adapters/unfused.html" title="unfused"><tt class="computeroutput"><span class="identifier">unfused</span></tt></a> adapter for a given,
|
||||
unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic Function
|
||||
Object</a>. The usual <a href="../../../notes.html#fusion.notes.element_conversion"><span class="emphasis"><em>element
|
||||
conversion</em></span></a> is applied to the target function.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_unfused.synopsis"></a><h6>
|
||||
<a name="id1319706"></a>
|
||||
<a name="id629146"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.functions.mk_unfused.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">></span>
|
||||
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_unfused.html" title="
|
||||
make_unfused"><code class="computeroutput"><span class="identifier">make_unfused</span></code></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
make_unfused"><tt class="computeroutput"><span class="identifier">make_unfused</span></tt></a><span class="special"><</span><span class="identifier">F</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">make_unfused</span><span class="special">(</span><span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_unfused.parameters"></a><h6>
|
||||
<a name="id1319841"></a>
|
||||
<a name="id629296"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.functions.mk_unfused.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -60,64 +64,52 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The function to transform.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.generation.functions.mk_unfused.expression_semantics"></a><h6>
|
||||
<a name="id1319946"></a>
|
||||
<a name="id629413"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.functions.mk_unfused.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">make_unfused</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="bold"><strong>Return type</strong></span>: A specialization of <a href="../../adapters/unfused.html" title="unfused"><code class="computeroutput"><span class="identifier">unfused</span></code></a>.
|
||||
<span class="bold"><b>Return type</b></span>: A specialization of <a href="../../adapters/unfused.html" title="unfused"><tt class="computeroutput"><span class="identifier">unfused</span></tt></a>.
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><strong>Semantics</strong></span>: Returns a <a href="../../adapters/unfused.html" title="unfused"><code class="computeroutput"><span class="identifier">unfused</span></code></a> adapter for <code class="computeroutput"><span class="identifier">f</span></code>.
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a <a href="../../adapters/unfused.html" title="unfused"><tt class="computeroutput"><span class="identifier">unfused</span></tt></a> adapter for <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.functions.mk_unfused.header"></a><h6>
|
||||
<a name="id1320054"></a>
|
||||
<a name="id629534"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.functions.mk_unfused.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_unfused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_unfused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_unfused.example"></a><h6>
|
||||
<a name="id1320202"></a>
|
||||
<a name="id629701"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.functions.mk_unfused.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">fused_incrementer</span>
|
||||
@ -131,7 +123,7 @@
|
||||
<span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">Seq</span><span class="special">></span>
|
||||
<span class="keyword">void</span> <span class="keyword">operator</span><span class="special">()(</span><span class="identifier">Seq</span> <span class="keyword">const</span> <span class="special">&</span> <span class="identifier">s</span><span class="special">)</span> <span class="keyword">const</span>
|
||||
<span class="special">{</span>
|
||||
<a href="../../../algorithm/iteration/functions/for_each.html" title="for_each"><code class="computeroutput"><span class="identifier">for_each</span></code></a><span class="special">(</span><span class="identifier">s</span><span class="special">,++</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">);</span>
|
||||
<a href="../../../algorithm/iteration/functions/for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a><span class="special">(</span><span class="identifier">s</span><span class="special">,++</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">::</span><span class="identifier">_1</span><span class="special">);</span>
|
||||
<span class="special">}</span>
|
||||
<span class="special">};</span>
|
||||
|
||||
@ -143,15 +135,15 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.functions.mk_unfused.see_also"></a><h6>
|
||||
<a name="id1320621"></a>
|
||||
<a name="id630174"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.functions.mk_unfused.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../../adapters/unfused.html" title="unfused"><code class="computeroutput"><span class="identifier">unfused</span></code></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
|
||||
<li><a href="../../adapters/unfused.html" title="unfused"><tt class="computeroutput"><span class="identifier">unfused</span></tt></a></li>
|
||||
<li><a href="../../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li>
|
||||
<li><a href="../metafunctions/mk_unfused.html" title="
|
||||
make_unfused"><code class="computeroutput"><span class="identifier">make_unfused</span></code></a></li>
|
||||
make_unfused"><tt class="computeroutput"><span class="identifier">make_unfused</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Metafunctions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../generation.html" title="Generation">
|
||||
<link rel="prev" href="functions/mk_unfused.html" title="
|
||||
<link rel="previous" href="functions/mk_unfused.html" title="
|
||||
make_unfused">
|
||||
<link rel="next" href="metafunctions/mk_fused.html" title="
|
||||
make_fused">
|
||||
@ -25,8 +25,12 @@
|
||||
<a accesskey="p" href="functions/mk_unfused.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../generation.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="metafunctions/mk_fused.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.generation.metafunctions"></a><a href="metafunctions.html" title="Metafunctions">Metafunctions</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.generation.metafunctions"></a><a href="metafunctions.html" title="Metafunctions">Metafunctions</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="metafunctions/mk_fused.html">
|
||||
make_fused</a></span></dt>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_fused</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="previous" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="next" href="mk_fused_proc.html" title="
|
||||
make_fused_procedure">
|
||||
</head>
|
||||
@ -25,27 +25,31 @@
|
||||
<a accesskey="p" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mk_fused_proc.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused"></a><a href="mk_fused.html" title="
|
||||
make_fused">
|
||||
make_fused</a></h5></div></div></div>
|
||||
make_fused</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused.description"></a><h6>
|
||||
<a name="id1320742"></a>
|
||||
<a name="id630305"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.metafunctions.mk_fused.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/mk_fused.html" title="
|
||||
make_fused"><code class="computeroutput"><span class="identifier">make_fused</span></code></a>.
|
||||
make_fused"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused.header"></a><h6>
|
||||
<a name="id1320786"></a>
|
||||
<a name="id630353"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.metafunctions.mk_fused.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_fused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_fused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused.synopsis"></a><h6>
|
||||
<a name="id1320934"></a>
|
||||
<a name="id630521"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.metafunctions.mk_fused.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span>
|
||||
@ -58,12 +62,12 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused.see_also"></a><h6>
|
||||
<a name="id1321051"></a>
|
||||
<a name="id630652"></a>
|
||||
<a href="mk_fused.html#fusion.functional.generation.metafunctions.mk_fused.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_fused.html" title="
|
||||
make_fused"><code class="computeroutput"><span class="identifier">make_fused</span></code></a></li></ul></div>
|
||||
make_fused"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a></li></ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_fused_function_object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="mk_fused_proc.html" title="
|
||||
<link rel="previous" href="mk_fused_proc.html" title="
|
||||
make_fused_procedure">
|
||||
<link rel="next" href="mk_unfused.html" title="
|
||||
make_unfused">
|
||||
@ -26,27 +26,31 @@
|
||||
<a accesskey="p" href="mk_fused_proc.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mk_unfused.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj"></a><a href="mk_fused_fobj.html" title="
|
||||
make_fused_function_object">
|
||||
make_fused_function_object</a></h5></div></div></div>
|
||||
make_fused_function_object</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.description"></a><h6>
|
||||
<a name="id1321497"></a>
|
||||
<a name="id631138"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.metafunctions.mk_fused_fobj.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a>.
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.header"></a><h6>
|
||||
<a name="id1321540"></a>
|
||||
<a name="id631185"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.metafunctions.mk_fused_fobj.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_fused_function_object</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_fused_function_object</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.synopsis"></a><h6>
|
||||
<a name="id1321690"></a>
|
||||
<a name="id631353"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.metafunctions.mk_fused_fobj.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span>
|
||||
@ -59,12 +63,12 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.see_also"></a><h6>
|
||||
<a name="id1321808"></a>
|
||||
<a name="id631484"></a>
|
||||
<a href="mk_fused_fobj.html#fusion.functional.generation.metafunctions.mk_fused_fobj.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a></li></ul></div>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a></li></ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_fused_procedure</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="mk_fused.html" title="
|
||||
<link rel="previous" href="mk_fused.html" title="
|
||||
make_fused">
|
||||
<link rel="next" href="mk_fused_fobj.html" title="
|
||||
make_fused_function_object">
|
||||
@ -26,27 +26,31 @@
|
||||
<a accesskey="p" href="mk_fused.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="mk_fused_fobj.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_proc"></a><a href="mk_fused_proc.html" title="
|
||||
make_fused_procedure">
|
||||
make_fused_procedure</a></h5></div></div></div>
|
||||
make_fused_procedure</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.description"></a><h6>
|
||||
<a name="id1321117"></a>
|
||||
<a name="id630721"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.metafunctions.mk_fused_proc.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/mk_fused_proc.html" title="
|
||||
make_fused_procedure"><code class="computeroutput"><span class="identifier">make_fused_procedure</span></code></a>.
|
||||
make_fused_procedure"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.header"></a><h6>
|
||||
<a name="id1321161"></a>
|
||||
<a name="id630769"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.metafunctions.mk_fused_proc.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_fused_procedure</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_fused_procedure</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.synopsis"></a><h6>
|
||||
<a name="id1321312"></a>
|
||||
<a name="id630937"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.metafunctions.mk_fused_proc.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span>
|
||||
@ -59,12 +63,12 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.see_also"></a><h6>
|
||||
<a name="id1321430"></a>
|
||||
<a name="id631069"></a>
|
||||
<a href="mk_fused_proc.html#fusion.functional.generation.metafunctions.mk_fused_proc.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_fused_proc.html" title="
|
||||
make_fused_procedure"><code class="computeroutput"><span class="identifier">make_fused_procedure</span></code></a></li></ul></div>
|
||||
make_fused_procedure"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a></li></ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
make_unfused</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="mk_fused_fobj.html" title="
|
||||
<link rel="previous" href="mk_fused_fobj.html" title="
|
||||
make_fused_function_object">
|
||||
<link rel="next" href="../../../notes.html" title="Notes">
|
||||
</head>
|
||||
@ -25,27 +25,31 @@
|
||||
<a accesskey="p" href="mk_fused_fobj.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../../notes.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.generation.metafunctions.mk_unfused"></a><a href="mk_unfused.html" title="
|
||||
make_unfused">
|
||||
make_unfused</a></h5></div></div></div>
|
||||
make_unfused</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_unfused.description"></a><h6>
|
||||
<a name="id1321875"></a>
|
||||
<a name="id631554"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.metafunctions.mk_unfused.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/mk_unfused.html" title="
|
||||
make_unfused"><code class="computeroutput"><span class="identifier">make_unfused</span></code></a>.
|
||||
make_unfused"><tt class="computeroutput"><span class="identifier">make_unfused</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_unfused.header"></a><h6>
|
||||
<a name="id1321918"></a>
|
||||
<a name="id631603"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.metafunctions.mk_unfused.header">Header</a>
|
||||
</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">generation</span><span class="special">/</span><span class="identifier">make_unfused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<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">include</span><span class="special">/</span><span class="identifier">make_unfused</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_unfused.synopsis"></a><h6>
|
||||
<a name="id1322067"></a>
|
||||
<a name="id631769"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.metafunctions.mk_unfused.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span>
|
||||
@ -58,12 +62,12 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.generation.metafunctions.mk_unfused.see_also"></a><h6>
|
||||
<a name="id1322183"></a>
|
||||
<a name="id631900"></a>
|
||||
<a href="mk_unfused.html#fusion.functional.generation.metafunctions.mk_unfused.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_unfused.html" title="
|
||||
make_unfused"><code class="computeroutput"><span class="identifier">make_unfused</span></code></a></li></ul></div>
|
||||
make_unfused"><tt class="computeroutput"><span class="identifier">make_unfused</span></tt></a></li></ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Invocation</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functional.html" title="Functional">
|
||||
<link rel="prev" href="concepts/poly.html" title=" Polymorphic Function
|
||||
<link rel="previous" href="concepts/poly.html" title=" Polymorphic Function
|
||||
Object">
|
||||
<link rel="next" href="invocation/functions.html" title="Functions">
|
||||
</head>
|
||||
@ -24,8 +24,12 @@
|
||||
<a accesskey="p" href="concepts/poly.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functional.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="invocation/functions.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.functional.invocation"></a><a href="invocation.html" title="Invocation">Invocation</a></h3></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
<a name="fusion.functional.invocation"></a><a href="invocation.html" title="Invocation">Invocation</a>
|
||||
</h3></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="invocation/functions.html">Functions</a></span></dt>
|
||||
<dt><span class="section"><a href="invocation/metafunctions.html">Metafunctions</a></span></dt>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Functions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../invocation.html" title="Invocation">
|
||||
<link rel="prev" href="../invocation.html" title="Invocation">
|
||||
<link rel="previous" href="../invocation.html" title="Invocation">
|
||||
<link rel="next" href="functions/invoke.html" title="invoke">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -23,8 +23,12 @@
|
||||
<a accesskey="p" href="../invocation.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../invocation.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="functions/invoke.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.invocation.functions"></a><a href="functions.html" title="Functions">Functions</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.invocation.functions"></a><a href="functions.html" title="Functions">Functions</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="functions/invoke.html">invoke</a></span></dt>
|
||||
<dt><span class="section"><a href="functions/invoke_proc.html">
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>invoke</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="../functions.html" title="Functions">
|
||||
<link rel="next" href="invoke_proc.html" title="
|
||||
invoke_procedure">
|
||||
</head>
|
||||
@ -24,10 +24,14 @@
|
||||
<a accesskey="p" href="../functions.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="invoke_proc.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.functions.invoke"></a><a href="invoke.html" title="invoke">invoke</a></h5></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.functions.invoke"></a><a href="invoke.html" title="invoke">invoke</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.functions.invoke.description"></a><h6>
|
||||
<a name="id1285720"></a>
|
||||
<a name="id610701"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -42,33 +46,33 @@
|
||||
<p>
|
||||
If the target function is a pointer to a class members, the corresponding
|
||||
object can be specified as a reference, pointer, or smart pointer. In
|
||||
case of the latter, a freestanding <code class="literal">get_pointer</code> function
|
||||
must be defined (Boost provides this function for <code class="literal">std::auto_ptr</code>
|
||||
and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>).
|
||||
case of the latter, a freestanding <tt class="literal">get_pointer</tt> function
|
||||
must be defined (Boost provides this function for <tt class="literal">std::auto_ptr</tt>
|
||||
and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></tt></a>).
|
||||
</p>
|
||||
<p>
|
||||
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>
|
||||
<a name="id1285823"></a>
|
||||
<a name="id610814"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.synopsis">Synopsis</a>
|
||||
</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>
|
||||
<span class="keyword">class</span> <span class="identifier">Sequence</span>
|
||||
<span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke</span></code></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke</span></tt></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<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="special">&</span> <span class="identifier">s</span><span class="special">);</span>
|
||||
|
||||
<span class="keyword">template</span><span class="special"><</span>
|
||||
<span class="keyword">typename</span> <span class="identifier">Function</span><span class="special">,</span>
|
||||
<span class="keyword">class</span> <span class="identifier">Sequence</span>
|
||||
<span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke</span></code></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke</span></tt></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<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>
|
||||
<a name="id1286154"></a>
|
||||
<a name="id611189"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -78,106 +82,88 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
A <a href="../../concepts/def_callable.html" title=" Deferred
|
||||
Callable Object">Deferred
|
||||
Callable Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The function to call.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">s</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">s</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
A <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The arguments.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.invocation.functions.invoke.expression_semantics"></a><h6>
|
||||
<a name="id1286300"></a>
|
||||
<a name="id611349"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.expression_semantics">Expression
|
||||
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>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="bold"><strong>Return type</strong></span>: Return type of <code class="computeroutput"><span class="identifier">f</span></code> when invoked with the elements in
|
||||
<code class="computeroutput"><span class="identifier">s</span></code> as its arguments.
|
||||
<span class="bold"><b>Return type</b></span>: Return type of <tt class="computeroutput"><span class="identifier">f</span></tt> when invoked with the elements in
|
||||
<tt class="computeroutput"><span class="identifier">s</span></tt> as its arguments.
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><strong>Semantics</strong></span>: Invokes <code class="computeroutput"><span class="identifier">f</span></code>
|
||||
with the elements in <code class="computeroutput"><span class="identifier">s</span></code>
|
||||
<span class="bold"><b>Semantics</b></span>: Invokes <tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
with the elements in <tt class="computeroutput"><span class="identifier">s</span></tt>
|
||||
as arguments and returns the result of the call expression.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.functions.invoke.header"></a><h6>
|
||||
<a name="id1286418"></a>
|
||||
<a name="id611482"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.header">Header</a>
|
||||
</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>
|
||||
<a name="id1286510"></a>
|
||||
<a name="id611585"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a href="http://www.sgi.com/tech/stl/plus.html" target="_top"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">plus</span></code></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"><code class="computeroutput"><span class="identifier">make_vector</span></code></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 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>
|
||||
<a name="id1286660"></a>
|
||||
<a name="id611752"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.functions.invoke.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></a></li>
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a></li>
|
||||
<li><a href="invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">invoke_function_object</span></code></a></li>
|
||||
<li><a href="../metafunctions/invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke</span></code></a></li>
|
||||
<li><a href="../../adapters/fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a></li>
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">invoke_function_object</span></tt></a></li>
|
||||
<li><a href="../metafunctions/invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke</span></tt></a></li>
|
||||
<li><a href="../../adapters/fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a></li>
|
||||
<li><a href="../../generation/functions/mk_fused.html" title="
|
||||
make_fused"><code class="computeroutput"><span class="identifier">make_fused</span></code></a></li>
|
||||
make_fused"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
invoke_function_object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="invoke_proc.html" title="
|
||||
<link rel="previous" href="invoke_proc.html" title="
|
||||
invoke_procedure">
|
||||
<link rel="next" href="../metafunctions.html" title="Metafunctions">
|
||||
</head>
|
||||
@ -25,12 +25,16 @@
|
||||
<a accesskey="p" href="invoke_proc.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.functions.invoke_fobj"></a><a href="invoke_fobj.html" title="
|
||||
invoke_function_object">
|
||||
invoke_function_object</a></h5></div></div></div>
|
||||
invoke_function_object</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.functions.invoke_fobj.description"></a><h6>
|
||||
<a name="id1287955"></a>
|
||||
<a name="id613192"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -46,7 +50,7 @@
|
||||
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_fobj.synopsis"></a><h6>
|
||||
<a name="id1288015"></a>
|
||||
<a name="id613255"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -54,7 +58,7 @@
|
||||
<span class="keyword">class</span> <span class="identifier">Sequence</span>
|
||||
<span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_function_object</span></code></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_function_object</span></tt></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">invoke_function_object</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="special">&</span> <span class="identifier">s</span><span class="special">);</span>
|
||||
|
||||
<span class="keyword">template</span><span class="special"><</span>
|
||||
@ -62,11 +66,11 @@
|
||||
<span class="keyword">class</span> <span class="identifier">Sequence</span>
|
||||
<span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_function_object</span></code></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_function_object</span></tt></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">invoke_function_object</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_fobj.parameters"></a><h6>
|
||||
<a name="id1288347"></a>
|
||||
<a name="id613632"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -76,87 +80,69 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The function object to call.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">s</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">s</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The arguments.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.invocation.functions.invoke_fobj.expression_semantics"></a><h6>
|
||||
<a name="id1288493"></a>
|
||||
<a name="id613793"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">invoke_function_object</span><span class="special">(</span><span class="identifier">f</span><span class="special">,</span><span class="identifier">s</span><span class="special">);</span>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="bold"><strong>Return type</strong></span>: Return type of <code class="computeroutput"><span class="identifier">f</span></code> when invoked with the elements in
|
||||
<code class="computeroutput"><span class="identifier">s</span></code> as its arguments.
|
||||
<span class="bold"><b>Return type</b></span>: Return type of <tt class="computeroutput"><span class="identifier">f</span></tt> when invoked with the elements in
|
||||
<tt class="computeroutput"><span class="identifier">s</span></tt> as its arguments.
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><strong>Semantics</strong></span>: Invokes <code class="computeroutput"><span class="identifier">f</span></code>
|
||||
with the elements in <code class="computeroutput"><span class="identifier">s</span></code>
|
||||
<span class="bold"><b>Semantics</b></span>: Invokes <tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
with the elements in <tt class="computeroutput"><span class="identifier">s</span></tt>
|
||||
as arguments and returns the result of the call expression.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.functions.invoke_fobj.header"></a><h6>
|
||||
<a name="id1288612"></a>
|
||||
<a name="id613926"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.header">Header</a>
|
||||
</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_function_object</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.functions.invoke_fobj.example"></a><h6>
|
||||
<a name="id1288705"></a>
|
||||
<a name="id614031"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">struct</span> <span class="identifier">sub</span>
|
||||
@ -178,23 +164,23 @@
|
||||
<span class="keyword">void</span> <span class="identifier">try_it</span><span class="special">()</span>
|
||||
<span class="special">{</span>
|
||||
<span class="identifier">sub</span> <span class="identifier">f</span><span class="special">;</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">1</span><span class="special">)</span> <span class="special">==</span> <span class="identifier">invoke_function_object</span><span class="special">(</span><span class="identifier">f</span><span class="special">,</span><a href="../../../container/generation/functions/make_vector.html" title="make_vector"><code class="computeroutput"><span class="identifier">make_vector</span></code></a><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">1</span><span class="special">)));</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">f</span><span class="special">(</span><span class="number">2</span><span class="special">,</span><span class="number">1</span><span class="special">)</span> <span class="special">==</span> <span class="identifier">invoke_function_object</span><span class="special">(</span><span class="identifier">f</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">2</span><span class="special">,</span><span class="number">1</span><span class="special">)));</span>
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.functions.invoke_fobj.see_also"></a><h6>
|
||||
<a name="id1289189"></a>
|
||||
<a name="id614578"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></a></li>
|
||||
<li><a href="invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a></li>
|
||||
<li><a href="invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></a></li>
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a></li>
|
||||
<li><a href="../metafunctions/invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_function_object</span></code></a></li>
|
||||
<li><a href="../../adapters/fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a></li>
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_function_object</span></tt></a></li>
|
||||
<li><a href="../../adapters/fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a></li>
|
||||
<li><a href="../../generation/functions/mk_fused_fobj.html" title="
|
||||
make_fused_function_object"><code class="computeroutput"><span class="identifier">make_fused_function_object</span></code></a></li>
|
||||
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
invoke_procedure</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="invoke.html" title="invoke">
|
||||
<link rel="previous" href="invoke.html" title="invoke">
|
||||
<link rel="next" href="invoke_fobj.html" title="
|
||||
invoke_function_object">
|
||||
</head>
|
||||
@ -25,12 +25,16 @@
|
||||
<a accesskey="p" href="invoke.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="invoke_fobj.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.functions.invoke_proc"></a><a href="invoke_proc.html" title="
|
||||
invoke_procedure">
|
||||
invoke_procedure</a></h5></div></div></div>
|
||||
invoke_procedure</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.functions.invoke_proc.description"></a><h6>
|
||||
<a name="id1286817"></a>
|
||||
<a name="id611923"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -45,8 +49,8 @@
|
||||
<p>
|
||||
For pointers to class members corresponding object can be specified as
|
||||
a reference, pointer, or smart pointer. In case of the latter, a freestanding
|
||||
<code class="literal">get_pointer</code> function must be defined (Boost provides
|
||||
this function for <code class="literal">std::auto_ptr</code> and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></code></a>).
|
||||
<tt class="literal">get_pointer</tt> function must be defined (Boost provides
|
||||
this function for <tt class="literal">std::auto_ptr</tt> and <a href="http://www.boost.org/libs/smart_ptr/shared_ptr.htm" target="_top"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">shared_ptr</span></tt></a>).
|
||||
</p>
|
||||
<p>
|
||||
The target function must not be a pointer to a member object (dereferencing
|
||||
@ -54,7 +58,7 @@
|
||||
isn't implemented).
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.functions.invoke_proc.synopsis"></a><h6>
|
||||
<a name="id1286916"></a>
|
||||
<a name="id612032"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span>
|
||||
@ -62,7 +66,7 @@
|
||||
<span class="keyword">class</span> <span class="identifier">Sequence</span>
|
||||
<span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_procedure</span></code></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_procedure</span></tt></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">invoke_procedure</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="special">&</span> <span class="identifier">s</span><span class="special">);</span>
|
||||
|
||||
<span class="keyword">template</span><span class="special"><</span>
|
||||
@ -70,11 +74,11 @@
|
||||
<span class="keyword">class</span> <span class="identifier">Sequence</span>
|
||||
<span class="special">></span>
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_procedure</span></code></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_procedure</span></tt></a><span class="special"><</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
<span class="identifier">invoke_procedure</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_proc.parameters"></a><h6>
|
||||
<a name="id1287246"></a>
|
||||
<a name="id612407"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.parameters">Parameters</a>
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -84,106 +88,88 @@
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead><tr>
|
||||
<th>
|
||||
<p>
|
||||
<th><p>
|
||||
Parameter
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Requirement
|
||||
</p>
|
||||
</th>
|
||||
<th>
|
||||
<p>
|
||||
</p></th>
|
||||
<th><p>
|
||||
Description
|
||||
</p>
|
||||
</th>
|
||||
</p></th>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">f</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../concepts/callable.html" title=" Callable Object">Callable
|
||||
Object</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The function to call.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p>
|
||||
<code class="computeroutput"><span class="identifier">s</span></code>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
<td><p>
|
||||
<tt class="computeroutput"><span class="identifier">s</span></tt>
|
||||
</p></td>
|
||||
<td><p>
|
||||
Model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>
|
||||
</p>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
</p></td>
|
||||
<td><p>
|
||||
The arguments.
|
||||
</p>
|
||||
</td>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.functional.invocation.functions.invoke_proc.expression_semantics"></a><h6>
|
||||
<a name="id1287392"></a>
|
||||
<a name="id612565"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">invoke_procedure</span><span class="special">(</span><span class="identifier">f</span><span class="special">,</span><span class="identifier">s</span><span class="special">);</span>
|
||||
</pre>
|
||||
<p>
|
||||
<span class="bold"><strong>Return type</strong></span>: <code class="computeroutput"><span class="keyword">void</span></code>
|
||||
<span class="bold"><b>Return type</b></span>: <tt class="computeroutput"><span class="keyword">void</span></tt>
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><strong>Semantics</strong></span>: Invokes <code class="computeroutput"><span class="identifier">f</span></code>
|
||||
with the elements in <code class="computeroutput"><span class="identifier">s</span></code>
|
||||
<span class="bold"><b>Semantics</b></span>: Invokes <tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
with the elements in <tt class="computeroutput"><span class="identifier">s</span></tt>
|
||||
as arguments.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.functions.invoke_proc.header"></a><h6>
|
||||
<a name="id1287498"></a>
|
||||
<a name="id612683"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">booost</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_procedure</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.functions.invoke_proc.example"></a><h6>
|
||||
<a name="id1287590"></a>
|
||||
<a name="id612786"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">);</span>
|
||||
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">);</span>
|
||||
<span class="keyword">using</span> <span class="keyword">namespace</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">lambda</span><span class="special">;</span>
|
||||
<span class="identifier">invoke_procedure</span><span class="special">(</span><span class="identifier">_1</span> <span class="special">+=</span> <span class="identifier">_2</span><span class="special">,</span> <span class="identifier">v</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><a href="../../../sequence/intrinsic/functions/front.html" title="front"><code class="computeroutput"><span class="identifier">front</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span>
|
||||
<span class="identifier">assert</span><span class="special">(</span><a href="../../../sequence/intrinsic/functions/front.html" title="front"><tt class="computeroutput"><span class="identifier">front</span></tt></a><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.functions.invoke_proc.see_also"></a><h6>
|
||||
<a name="id1287801"></a>
|
||||
<a name="id613023"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></a></li>
|
||||
<li><a href="invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a></li>
|
||||
<li><a href="invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">invoke_function_object</span></code></a></li>
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">invoke_function_object</span></tt></a></li>
|
||||
<li><a href="../metafunctions/invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_procedure</span></code></a></li>
|
||||
<li><a href="../../adapters/fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a></li>
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">invoke_procedure</span></tt></a></li>
|
||||
<li><a href="../../adapters/fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a></li>
|
||||
<li><a href="../../generation/functions/mk_fused_proc.html" title="
|
||||
make_fused_procedure"><code class="computeroutput"><span class="identifier">make_fused_procedure</span></code></a></li>
|
||||
make_fused_procedure"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Limits</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../invocation.html" title="Invocation">
|
||||
<link rel="prev" href="metafunctions/invoke_fobj.html" title="
|
||||
<link rel="previous" href="metafunctions/invoke_fobj.html" title="
|
||||
invoke_function_object">
|
||||
<link rel="next" href="../adapters.html" title=" Adapters">
|
||||
</head>
|
||||
@ -24,16 +24,20 @@
|
||||
<a accesskey="p" href="metafunctions/invoke_fobj.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../invocation.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../adapters.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.invocation.limits"></a><a href="limits.html" title="Limits">Limits</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.invocation.limits"></a><a href="limits.html" title="Limits">Limits</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.limits.header"></a><h5>
|
||||
<a name="id1290151"></a>
|
||||
<a name="id615635"></a>
|
||||
<a href="limits.html#fusion.functional.invocation.limits.header">Header</a>
|
||||
</h5>
|
||||
<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">limits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.limits.macros"></a><h5>
|
||||
<a name="id1290242"></a>
|
||||
<a name="id615737"></a>
|
||||
<a href="limits.html#fusion.functional.invocation.limits.macros">Macros</a>
|
||||
</h5>
|
||||
<p>
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Metafunctions</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../invocation.html" title="Invocation">
|
||||
<link rel="prev" href="functions/invoke_fobj.html" title="
|
||||
<link rel="previous" href="functions/invoke_fobj.html" title="
|
||||
invoke_function_object">
|
||||
<link rel="next" href="metafunctions/invoke.html" title="invoke">
|
||||
</head>
|
||||
@ -24,8 +24,12 @@
|
||||
<a accesskey="p" href="functions/invoke_fobj.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../invocation.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="metafunctions/invoke.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.functional.invocation.metafunctions"></a><a href="metafunctions.html" title="Metafunctions">Metafunctions</a></h4></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
<a name="fusion.functional.invocation.metafunctions"></a><a href="metafunctions.html" title="Metafunctions">Metafunctions</a>
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="toc"><dl>
|
||||
<dt><span class="section"><a href="metafunctions/invoke.html">invoke</a></span></dt>
|
||||
<dt><span class="section"><a href="metafunctions/invoke_proc.html">
|
||||
|
@ -3,10 +3,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>invoke</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="previous" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="next" href="invoke_proc.html" title="
|
||||
invoke_procedure">
|
||||
</head>
|
||||
@ -24,17 +24,21 @@
|
||||
<a accesskey="p" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="invoke_proc.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke"></a><a href="invoke.html" title="invoke">invoke</a></h5></div></div></div>
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke"></a><a href="invoke.html" title="invoke">invoke</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke.description"></a><h6>
|
||||
<a name="id1289362"></a>
|
||||
<a name="id614767"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.metafunctions.invoke.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></a>.
|
||||
Returns the result type of <a href="../functions/invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke.synopsis"></a><h6>
|
||||
<a name="id1289405"></a>
|
||||
<a name="id614814"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.metafunctions.invoke.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span>
|
||||
@ -50,13 +54,13 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke.see_also"></a><h6>
|
||||
<a name="id1289539"></a>
|
||||
<a name="id614964"></a>
|
||||
<a href="invoke.html#fusion.functional.invocation.metafunctions.invoke.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../functions/invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></a></li>
|
||||
<li><a href="../../adapters/fused.html" title="fused"><code class="computeroutput"><span class="identifier">fused</span></code></a></li>
|
||||
<li><a href="../functions/invoke.html" title="invoke"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a></li>
|
||||
<li><a href="../../adapters/fused.html" title="fused"><tt class="computeroutput"><span class="identifier">fused</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
invoke_function_object</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="invoke_proc.html" title="
|
||||
<link rel="previous" href="invoke_proc.html" title="
|
||||
invoke_procedure">
|
||||
<link rel="next" href="../limits.html" title="Limits">
|
||||
</head>
|
||||
@ -25,20 +25,24 @@
|
||||
<a accesskey="p" href="invoke_proc.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../limits.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_fobj"></a><a href="invoke_fobj.html" title="
|
||||
invoke_function_object">
|
||||
invoke_function_object</a></h5></div></div></div>
|
||||
invoke_function_object</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_fobj.description"></a><h6>
|
||||
<a name="id1289888"></a>
|
||||
<a name="id615343"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.metafunctions.invoke_fobj.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">invoke_function_object</span></code></a>.
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">invoke_function_object</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_fobj.synopsis"></a><h6>
|
||||
<a name="id1289931"></a>
|
||||
<a name="id615392"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.metafunctions.invoke_fobj.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span>
|
||||
@ -54,14 +58,14 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_fobj.see_also"></a><h6>
|
||||
<a name="id1290066"></a>
|
||||
<a name="id615542"></a>
|
||||
<a href="invoke_fobj.html#fusion.functional.invocation.metafunctions.invoke_fobj.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../functions/invoke_fobj.html" title="
|
||||
invoke_function_object"><code class="computeroutput"><span class="identifier">invoke_function_object</span></code></a></li>
|
||||
<li><a href="../../adapters/fused_function_object.html" title="fused_function_object"><code class="computeroutput"><span class="identifier">fused_function_object</span></code></a></li>
|
||||
invoke_function_object"><tt class="computeroutput"><span class="identifier">invoke_function_object</span></tt></a></li>
|
||||
<li><a href="../../adapters/fused_function_object.html" title="fused_function_object"><tt class="computeroutput"><span class="identifier">fused_function_object</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
@ -4,10 +4,10 @@
|
||||
<title>
|
||||
invoke_procedure</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||||
<link rel="start" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="invoke.html" title="invoke">
|
||||
<link rel="previous" href="invoke.html" title="invoke">
|
||||
<link rel="next" href="invoke_fobj.html" title="
|
||||
invoke_function_object">
|
||||
</head>
|
||||
@ -25,20 +25,24 @@
|
||||
<a accesskey="p" href="invoke.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="invoke_fobj.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<div class="titlepage">
|
||||
<div><div><h5 class="title">
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_proc"></a><a href="invoke_proc.html" title="
|
||||
invoke_procedure">
|
||||
invoke_procedure</a></h5></div></div></div>
|
||||
invoke_procedure</a>
|
||||
</h5></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_proc.description"></a><h6>
|
||||
<a name="id1289625"></a>
|
||||
<a name="id615055"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.metafunctions.invoke_proc.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></a>.
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_proc.synopsis"></a><h6>
|
||||
<a name="id1289668"></a>
|
||||
<a name="id615103"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.metafunctions.invoke_proc.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">result_of</span>
|
||||
@ -54,14 +58,14 @@
|
||||
<span class="special">}</span>
|
||||
</pre>
|
||||
<a name="fusion.functional.invocation.metafunctions.invoke_proc.see_also"></a><h6>
|
||||
<a name="id1289802"></a>
|
||||
<a name="id615253"></a>
|
||||
<a href="invoke_proc.html#fusion.functional.invocation.metafunctions.invoke_proc.see_also">See
|
||||
also</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><a href="../functions/invoke_proc.html" title="
|
||||
invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></a></li>
|
||||
<li><a href="../../adapters/fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></a></li>
|
||||
invoke_procedure"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a></li>
|
||||
<li><a href="../../adapters/fused_procedure.html" title="fused_procedure"><tt class="computeroutput"><span class="identifier">fused_procedure</span></tt></a></li>
|
||||
</ul></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
Reference in New Issue
Block a user