Regenerate fusion documentation.

[SVN r41607]
This commit is contained in:
Daniel James committed 2007-12-03 00:09:20 +00:00
1 parent df69f05f94
commit 59df6ee7f1
259 files changed
+7187 -7506

No files matched your search

+7 -7
View File
@@ -1,13 +1,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> Adapters</title>
<title>Adapters</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functional.html" title="Functional">
<link rel="prev" href="invocation/metafunctions/invoke_fobj.html" title="
invoke_function_object">
<link rel="prev" href="invocation/metafunctions/invoke_fobj.html" title="invoke_function_object">
<link rel="next" href="adapters/fused.html" title="fused">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -15,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -25,7 +24,8 @@
</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>
<a name="fusion.functional.adapters"></a><a href="adapters.html" title="Adapters"> Adapters</a>
</h3></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>
+61 -67
View File
@@ -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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../adapters.html" title=" Adapters">
<link rel="prev" href="../adapters.html" title=" Adapters">
<link rel="up" href="../adapters.html" title="Adapters">
<link rel="prev" 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">
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,53 +24,51 @@
</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>
<a name="fusion.functional.adapters.fused.description"></a><h5>
<a name="id659410"></a>
<a name="fusion.functional.adapters.fused"></a><a href="fused.html" title="fused">fused</a>
</h4></div></div></div>
<a name="fusion.functional.adapters.fused.description"></a><h6>
<a name="id2795992"></a>
<a href="fused.html#fusion.functional.adapters.fused.description">Description</a>
</h5>
</h6>
<p>
An unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Object</a> adapter template for <a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred
Callable Object</a> target functions. It takes a <a href="../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward
An unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> adapter template for <a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred
Callable Object</a> target functions. It takes a <a href="../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> that contains the arguments for the target function.
</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 <tt class="literal">operator()</tt> can be used
words, only const versions of <code class="literal">operator()</code> 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 <tt class="literal">this</tt> which is specified
to the type of object pointed to by <code class="literal">this</code> 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 <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>).
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>).
</p>
<p>
/functional/adapter/fused.hpp&gt;
</p>
<a name="fusion.functional.adapters.fused.synopsis"></a><h5>
<a name="id659546"></a>
<a name="fusion.functional.adapters.fused.synopsis"></a><h6>
<a name="id2796114"></a>
<a href="fused.html#fusion.functional.adapters.fused.synopsis">Synopsis</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Function</span><span class="special">&gt;</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="id659626"></a>
<a name="fusion.functional.adapters.fused.template_parameters"></a><h6>
<a name="id2796185"></a>
<a href="fused.html#fusion.functional.adapters.fused.template_parameters">Template
parameters</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -97,13 +95,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Function</span></tt>
<code class="computeroutput"><span class="identifier">Function</span></code>
</p>
</td>
<td>
<p>
A <a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred
A <a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred
Callable Object</a>
</p>
</td>
@@ -113,47 +110,44 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.adapters.fused.model_of"></a><h5>
<a name="id659741"></a>
<a name="fusion.functional.adapters.fused.model_of"></a><h6>
<a name="id2796286"></a>
<a href="fused.html#fusion.functional.adapters.fused.model_of">Model of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<li><a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a></li>
<li><a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">R</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">R</span></code></span></dt>
<dd><p>
A possibly const qualified <a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred
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"><tt class="computeroutput"><span class="identifier">r</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">r</span></code></span></dt>
<dd><p>
An object convertible to <tt class="computeroutput"><span class="identifier">R</span></tt>
An object convertible to <code class="computeroutput"><span class="identifier">R</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">s</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">s</span></code></span></dt>
<dd><p>
A <a href="../../sequence.html" title="Sequence">Sequence</a> of arguments that
are accepted by <tt class="computeroutput"><span class="identifier">r</span></tt>
are accepted by <code class="computeroutput"><span class="identifier">r</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An instance of <tt class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;</span></tt>
An instance of <code class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;</span></code>
</p></dd>
</dl>
</div>
<a name="fusion.functional.adapters.fused.expression_semantics"></a><h5>
<a name="id659961"></a>
<a name="fusion.functional.adapters.fused.expression_semantics"></a><h6>
<a name="id2796484"></a>
<a href="fused.html#fusion.functional.adapters.fused.expression_semantics">Expression
Semantics</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -175,61 +169,61 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;(</span><span class="identifier">r</span><span class="special">)</span></tt>
<code class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;(</span><span class="identifier">r</span><span class="special">)</span></code>
</p>
</td>
<td>
<p>
Creates a fused function as described above, initializes the target
function with <tt class="computeroutput"><span class="identifier">r</span></tt>.
function with <code class="computeroutput"><span class="identifier">r</span></code>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;()</span></tt>
<code class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;()</span></code>
</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.
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">R</span></code>'s default constructor.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></tt>
<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 <tt class="computeroutput"><span class="identifier">r</span></tt> with the
elements in <tt class="computeroutput"><span class="identifier">s</span></tt> as
Calls <code class="computeroutput"><span class="identifier">r</span></code> with the
elements in <code class="computeroutput"><span class="identifier">s</span></code> as
its arguments.
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.fused.example"></a><h5>
<a name="id660216"></a>
<a name="fusion.functional.adapters.fused.example"></a><h6>
<a name="id2796713"></a>
<a href="fused.html#fusion.functional.adapters.fused.example">Example</a>
</h5>
</h6>
<pre class="programlisting">
<span class="identifier">fused</span><span class="special">&lt;</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">&lt;</span><span class="keyword">long</span><span class="special">&gt;</span> <span class="special">&gt;</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>
<span class="identifier">fused</span><span class="special">&lt;</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">&lt;</span><span class="keyword">long</span><span class="special">&gt;</span> <span class="special">&gt;</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>
<a name="fusion.functional.adapters.fused.see_also"></a><h5>
<a name="id660392"></a>
<a name="fusion.functional.adapters.fused.see_also"></a><h6>
<a name="id2796872"></a>
<a href="fused.html#fusion.functional.adapters.fused.see_also">See also</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<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="../../support/deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></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_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="../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,9 +3,9 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../adapters.html" title=" Adapters">
<link rel="up" href="../adapters.html" title="Adapters">
<link rel="prev" href="fused_procedure.html" title="fused_procedure">
<link rel="next" href="unfused_generic.html" title="unfused_generic">
</head>
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,43 +24,41 @@
</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>
<a name="fusion.functional.adapters.fused_function_object.description"></a><h5>
<a name="id662089"></a>
<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>
<a name="fusion.functional.adapters.fused_function_object.description"></a><h6>
<a name="id2798395"></a>
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.description">Description</a>
</h5>
</h6>
<p>
An unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Object</a> adapter template for a <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Function Object</a> target function. It takes a <a href="../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward
An unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> adapter template for a <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a> target function. It takes a <a href="../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> that contains the arguments for the target function.
</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 <tt class="literal">operator()</tt> can be used
words, only const versions of <code class="literal">operator()</code> 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>
<p>
/functional/adapter/fused_function_object.hpp&gt;
</p>
<a name="fusion.functional.adapters.fused_function_object.synopsis"></a><h5>
<a name="id662171"></a>
<a name="fusion.functional.adapters.fused_function_object.synopsis"></a><h6>
<a name="id2798467"></a>
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.synopsis">Synopsis</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Function</span><span class="special">&gt;</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="id662255"></a>
<a name="fusion.functional.adapters.fused_function_object.template_parameters"></a><h6>
<a name="id2798540"></a>
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.template_parameters">Template
parameters</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -87,13 +85,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Function</span></tt>
<code class="computeroutput"><span class="identifier">Function</span></code>
</p>
</td>
<td>
<p>
<a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> type
</p>
</td>
@@ -103,48 +100,45 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.adapters.fused_function_object.model_of"></a><h5>
<a name="id662372"></a>
<a name="fusion.functional.adapters.fused_function_object.model_of"></a><h6>
<a name="id2798643"></a>
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.model_of">Model
of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<li><a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a></li>
<li><a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">R</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">R</span></code></span></dt>
<dd><p>
A possibly const qualified <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
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"><tt class="computeroutput"><span class="identifier">r</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">r</span></code></span></dt>
<dd><p>
An object convertible to <tt class="computeroutput"><span class="identifier">R</span></tt>
An object convertible to <code class="computeroutput"><span class="identifier">R</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">s</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">s</span></code></span></dt>
<dd><p>
A <a href="../../sequence.html" title="Sequence">Sequence</a> of arguments that
are accepted by <tt class="computeroutput"><span class="identifier">r</span></tt>
are accepted by <code class="computeroutput"><span class="identifier">r</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An instance of <tt class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;</span></tt>
An instance of <code class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;</span></code>
</p></dd>
</dl>
</div>
<a name="fusion.functional.adapters.fused_function_object.expression_semantics"></a><h5>
<a name="id662592"></a>
<a name="fusion.functional.adapters.fused_function_object.expression_semantics"></a><h6>
<a name="id2798841"></a>
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.expression_semantics">Expression
Semantics</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -166,55 +160,55 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">fused_function_object</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;(</span><span class="identifier">r</span><span class="special">)</span></tt>
<code class="computeroutput"><span class="identifier">fused_function_object</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;(</span><span class="identifier">r</span><span class="special">)</span></code>
</p>
</td>
<td>
<p>
Creates a fused function as described above, initializes the target
function with <tt class="computeroutput"><span class="identifier">r</span></tt>.
function with <code class="computeroutput"><span class="identifier">r</span></code>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">fused_function_object</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;()</span></tt>
<code class="computeroutput"><span class="identifier">fused_function_object</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;()</span></code>
</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.
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">R</span></code>'s default constructor.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></tt>
<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 <tt class="computeroutput"><span class="identifier">r</span></tt> with the
elements in <tt class="computeroutput"><span class="identifier">s</span></tt> as
Calls <code class="computeroutput"><span class="identifier">r</span></code> with the
elements in <code class="computeroutput"><span class="identifier">s</span></code> as
its arguments.
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.fused_function_object.example"></a><h5>
<a name="id662849"></a>
<a name="fusion.functional.adapters.fused_function_object.example"></a><h6>
<a name="id2799071"></a>
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.example">Example</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</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">&lt;</span> <span class="identifier">zip_view</span><span class="special">&lt;</span><span class="identifier">SeqOfSeqs</span><span class="special">&gt;</span> <span class="keyword">const</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">&lt;</span> <span class="identifier">zip_view</span><span class="special">&lt;</span><span class="identifier">SeqOfSeqs</span><span class="special">&gt;</span> <span class="keyword">const</span><span class="special">,</span>
<span class="identifier">fused_function_object</span><span class="special">&lt;</span><span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&amp;&gt;</span> <span class="special">&gt;::</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">&amp;</span> <span class="identifier">s</span><span class="special">,</span> <span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&amp;</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"><tt class="computeroutput"><span class="identifier">transform</span></tt></a><span class="special">(</span><span class="identifier">zip_view</span><span class="special">&lt;</span><span class="identifier">SeqOfSeqs</span><span class="special">&gt;(</span><span class="identifier">s</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">&lt;</span><span class="identifier">SeqOfSeqs</span><span class="special">&gt;(</span><span class="identifier">s</span><span class="special">),</span>
<span class="identifier">fused_function_object</span><span class="special">&lt;</span><span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&amp;&gt;(</span><span class="identifier">f</span><span class="special">));</span>
<span class="special">}</span>
@@ -236,23 +230,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"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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>
<a href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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>
<span class="special">}</span>
</pre>
<a name="fusion.functional.adapters.fused_function_object.see_also"></a><h5>
<a name="id663907"></a>
<a name="fusion.functional.adapters.fused_function_object.see_also"></a><h6>
<a name="id2800027"></a>
<a href="fused_function_object.html#fusion.functional.adapters.fused_function_object.see_also">See
also</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<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"><tt class="computeroutput"><span class="identifier">invoke_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="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="../invocation/functions/invoke_fobj.html" title="invoke_function_object"><code class="computeroutput"><span class="identifier">invoke_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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,9 +3,9 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../adapters.html" title=" Adapters">
<link rel="up" href="../adapters.html" title="Adapters">
<link rel="prev" href="fused.html" title="fused">
<link rel="next" href="fused_function_object.html" title="fused_function_object">
</head>
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,38 +24,37 @@
</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>
<a name="fusion.functional.adapters.fused_procedure.description"></a><h5>
<a name="id660525"></a>
<a name="fusion.functional.adapters.fused_procedure"></a><a href="fused_procedure.html" title="fused_procedure">fused_procedure</a>
</h4></div></div></div>
<a name="fusion.functional.adapters.fused_procedure.description"></a><h6>
<a name="id2796989"></a>
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.description">Description</a>
</h5>
</h6>
<p>
An unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Object</a> adapter template for <a href="../concepts/callable.html" title=" Callable Object">Callable
Object</a> target functions. It takes a <a href="../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward
An unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> adapter template for <a href="../concepts/callable.html" title="Callable Object">Callable
Object</a> target functions. It takes a <a href="../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a> that contains the arguments for the target function.
</p>
<p>
The result is discared and the adapter's return type is <tt class="computeroutput"><span class="keyword">void</span></tt>.
The result is discared and the adapter's return type is <code class="computeroutput"><span class="keyword">void</span></code>.
</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 <tt class="literal">operator()</tt> can be used
words, only const versions of <code class="literal">operator()</code> 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 <tt class="literal">this</tt> which is specified
to the type of object pointed to by <code class="literal">this</code> 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 <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>).
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>).
</p>
<p>
The target function must not be a pointer to a member object (dereferencing
@@ -65,19 +64,19 @@
<p>
/functional/adapter/fused_procedure.hpp&gt;
</p>
<a name="fusion.functional.adapters.fused_procedure.synopsis"></a><h5>
<a name="id660694"></a>
<a name="fusion.functional.adapters.fused_procedure.synopsis"></a><h6>
<a name="id2797143"></a>
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.synopsis">Synopsis</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Function</span><span class="special">&gt;</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="id660775"></a>
<a name="fusion.functional.adapters.fused_procedure.template_parameters"></a><h6>
<a name="id2797215"></a>
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.template_parameters">Template
parameters</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -104,12 +103,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Function</span></tt>
<code class="computeroutput"><span class="identifier">Function</span></code>
</p>
</td>
<td>
<p>
<a href="../concepts/callable.html" title=" Callable Object">Callable Object</a>
<a href="../concepts/callable.html" title="Callable Object">Callable Object</a>
type
</p>
</td>
@@ -119,47 +118,45 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.adapters.fused_procedure.model_of"></a><h5>
<a name="id660890"></a>
<a name="fusion.functional.adapters.fused_procedure.model_of"></a><h6>
<a name="id2797317"></a>
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.model_of">Model
of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<li><a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a></li>
<li><a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">R</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">R</span></code></span></dt>
<dd><p>
A possibly const qualified <a href="../concepts/callable.html" title=" Callable Object">Callable
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"><tt class="computeroutput"><span class="identifier">r</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">r</span></code></span></dt>
<dd><p>
An object convertible to <tt class="computeroutput"><span class="identifier">R</span></tt>
An object convertible to <code class="computeroutput"><span class="identifier">R</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">s</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">s</span></code></span></dt>
<dd><p>
A <a href="../../sequence.html" title="Sequence">Sequence</a> of arguments that
are accepted by <tt class="computeroutput"><span class="identifier">r</span></tt>
are accepted by <code class="computeroutput"><span class="identifier">r</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An instance of <tt class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;</span></tt>
An instance of <code class="computeroutput"><span class="identifier">fused</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;</span></code>
</p></dd>
</dl>
</div>
<a name="fusion.functional.adapters.fused_procedure.expression_semantics"></a><h5>
<a name="id661110"></a>
<a name="fusion.functional.adapters.fused_procedure.expression_semantics"></a><h6>
<a name="id2797515"></a>
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.expression_semantics">Expression
Semantics</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -181,75 +178,74 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">fused_procedure</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;(</span><span class="identifier">r</span><span class="special">)</span></tt>
<code class="computeroutput"><span class="identifier">fused_procedure</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;(</span><span class="identifier">r</span><span class="special">)</span></code>
</p>
</td>
<td>
<p>
Creates a fused function as described above, initializes the target
function with <tt class="computeroutput"><span class="identifier">r</span></tt>.
function with <code class="computeroutput"><span class="identifier">r</span></code>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">fused_procedure</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;()</span></tt>
<code class="computeroutput"><span class="identifier">fused_procedure</span><span class="special">&lt;</span><span class="identifier">R</span><span class="special">&gt;()</span></code>
</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.
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">R</span></code>'s default constructor.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">s</span><span class="special">)</span></tt>
<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 <tt class="computeroutput"><span class="identifier">r</span></tt> with the
elements in <tt class="computeroutput"><span class="identifier">s</span></tt> as
Calls <code class="computeroutput"><span class="identifier">r</span></code> with the
elements in <code class="computeroutput"><span class="identifier">s</span></code> as
its arguments.
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.fused_procedure.example"></a><h5>
<a name="id661367"></a>
<a name="fusion.functional.adapters.fused_procedure.example"></a><h6>
<a name="id2797746"></a>
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.example">Example</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</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">&amp;</span> <span class="identifier">s</span><span class="special">,</span> <span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&amp;</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"><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">&lt;</span><span class="identifier">SequenceOfSequences</span><span class="special">&gt;(</span><span class="identifier">s</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">&lt;</span><span class="identifier">SequenceOfSequences</span><span class="special">&gt;(</span><span class="identifier">s</span><span class="special">),</span>
<span class="identifier">fused_procedure</span><span class="special">&lt;</span><span class="identifier">Func</span> <span class="keyword">const</span> <span class="special">&amp;&gt;(</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"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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"><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="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="special">}</span>
</pre>
<a name="fusion.functional.adapters.fused_procedure.see_also"></a><h5>
<a name="id661975"></a>
<a name="fusion.functional.adapters.fused_procedure.see_also"></a><h6>
<a name="id2798296"></a>
<a href="fused_procedure.html#fusion.functional.adapters.fused_procedure.see_also">See
also</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<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"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a></li>
<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="../invocation/functions/invoke_proc.html" title="invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,9 +3,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>unfused_generic</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../adapters.html" title=" Adapters">
<link rel="up" href="../adapters.html" title="Adapters">
<link rel="prev" href="fused_function_object.html" title="fused_function_object">
<link rel="next" href="unfused_lvalue_args.html" title="unfused_lvalue_args">
</head>
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,52 +24,53 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="fusion.functional.adapters.unfused_generic"></a><a href="unfused_generic.html" title="unfused_generic">unfused_generic</a></h4></div></div></div>
<a name="fusion.functional.adapters.unfused_generic.description"></a><h5>
<a name="id664042"></a>
<a name="fusion.functional.adapters.unfused_generic"></a><a href="unfused_generic.html" title="unfused_generic">unfused_generic</a>
</h4></div></div></div>
<a name="fusion.functional.adapters.unfused_generic.description"></a><h6>
<a name="id2800146"></a>
<a href="unfused_generic.html#fusion.functional.adapters.unfused_generic.description">Description</a>
</h5>
</h6>
<p>
An n-ary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
An n-ary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a> target function. When called, its arguments are
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random
Access Sequence">Random
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a> of references that is passed to the target function.
Non-const LValue arguments are transported as references to non-const,
otherwise references to const are used.
</p>
<div class="sidebar"><p>
<div class="sidebar">
<p class="title"><b></b></p>
<p>
<span class="inlinemediaobject"><img src="../../../images/tip.png" alt="tip"></span> Detecting mutable LValues on a per-argument basis
is currently a compile time expensive operation (see <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1385.htm" target="_top">The
Forwarding Problem</a> for details). Therefore, there are two, lightweight
and more restricted variants of this class template, <a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span></tt></a> and <a href="unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</span></tt></a>.
</p></div>
and more restricted variants of this class template, <a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</span></code></a> and <a href="unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</span></code></a>.
</p>
</div>
<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 <tt class="literal">operator()</tt> can be used
words, only const versions of <code class="literal">operator()</code> 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>
<p>
/functional/adapter/unfused_generic.hpp&gt;
</p>
<a name="fusion.functional.adapters.unfused_generic.synopsis"></a><h5>
<a name="id664199"></a>
<a name="fusion.functional.adapters.unfused_generic.synopsis"></a><h6>
<a name="id2800292"></a>
<a href="unfused_generic.html#fusion.functional.adapters.unfused_generic.synopsis">Synopsis</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Function</span><span class="special">&gt;</span>
<span class="keyword">class</span> <span class="identifier">unfused_generic</span><span class="special">;</span>
</pre>
<a name="fusion.functional.adapters.unfused_generic.template_parameters"></a><h5>
<a name="id664280"></a>
<a name="fusion.functional.adapters.unfused_generic.template_parameters"></a><h6>
<a name="id2800364"></a>
<a href="unfused_generic.html#fusion.functional.adapters.unfused_generic.template_parameters">Template
parameters</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -96,13 +97,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Function</span></tt>
<code class="computeroutput"><span class="identifier">Function</span></code>
</p>
</td>
<td>
<p>
An unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
An unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -112,52 +112,49 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_generic.model_of"></a><h5>
<a name="id664396"></a>
<a name="fusion.functional.adapters.unfused_generic.model_of"></a><h6>
<a name="id2800467"></a>
<a href="unfused_generic.html#fusion.functional.adapters.unfused_generic.model_of">Model
of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<li><a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a></li>
<li><a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
<dd><p>
A possibly const qualified, unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
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"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An object convertible to <tt class="computeroutput"><span class="identifier">F</span></tt>
An object convertible to <code class="computeroutput"><span class="identifier">F</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">UG</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">UG</span></code></span></dt>
<dd><p>
The type <tt class="computeroutput"><span class="identifier">unfused_generic</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;</span></tt>
The type <code class="computeroutput"><span class="identifier">unfused_generic</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">ug</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">ug</span></code></span></dt>
<dd><p>
An instance of <tt class="computeroutput"><span class="identifier">UG</span></tt>,
initialized with <tt class="computeroutput"><span class="identifier">f</span></tt>
An instance of <code class="computeroutput"><span class="identifier">UG</span></code>,
initialized with <code class="computeroutput"><span class="identifier">f</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code></span></dt>
<dd><p>
Arguments to <tt class="computeroutput"><span class="identifier">ug</span></tt>
Arguments to <code class="computeroutput"><span class="identifier">ug</span></code>
</p></dd>
</dl>
</div>
<a name="fusion.functional.adapters.unfused_generic.expression_semantics"></a><h5>
<a name="id664664"></a>
<a name="fusion.functional.adapters.unfused_generic.expression_semantics"></a><h6>
<a name="id2800708"></a>
<a href="unfused_generic.html#fusion.functional.adapters.unfused_generic.expression_semantics">Expression
Semantics</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -179,48 +176,48 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UG</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></tt>
<code class="computeroutput"><span class="identifier">UG</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></code>
</p>
</td>
<td>
<p>
Creates a fused function as described above, initializes the target
function with <tt class="computeroutput"><span class="identifier">f</span></tt>.
function with <code class="computeroutput"><span class="identifier">f</span></code>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UG</span><span class="special">()</span></tt>
<code class="computeroutput"><span class="identifier">UG</span><span class="special">()</span></code>
</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.
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">F</span></code>'s default constructor.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">ug</span><span class="special">(</span><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span><span class="special">)</span></tt>
<code class="computeroutput"><span class="identifier">ug</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 <tt class="computeroutput"><span class="identifier">f</span></tt> with a
Calls <code class="computeroutput"><span class="identifier">f</span></code> with a
<a href="../../sequence.html" title="Sequence">Sequence</a> that contains references
to the arguments <tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt>.
to the arguments <code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code>.
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_generic.example"></a><h5>
<a name="id664930"></a>
<a name="fusion.functional.adapters.unfused_generic.example"></a><h6>
<a name="id2800946"></a>
<a href="unfused_generic.html#fusion.functional.adapters.unfused_generic.example">Example</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Function</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T</span><span class="special">&gt;</span>
<span class="keyword">class</span> <span class="identifier">fused_bound_1st</span>
@@ -268,17 +265,17 @@
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">bind_1st</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">plus</span><span class="special">&lt;</span><span class="keyword">float</span><span class="special">&gt;(),</span> <span class="number">1</span><span class="special">)(</span><span class="number">0.5f</span><span class="special">)</span> <span class="special">==</span> <span class="number">1.5f</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<a name="fusion.functional.adapters.unfused_generic.see_also"></a><h5>
<a name="id666326"></a>
<a name="fusion.functional.adapters.unfused_generic.see_also"></a><h6>
<a name="id2802207"></a>
<a href="unfused_generic.html#fusion.functional.adapters.unfused_generic.see_also">See
also</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span></tt></a></li>
<li><a href="unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</span></tt></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="../../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>
<li><a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</span></code></a></li>
<li><a href="unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</span></code></a></li>
<li><a href="unfused_typed.html" title="unfused_typed"><code class="computeroutput"><span class="identifier">unfused_typed</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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,9 +3,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>unfused_lvalue_args</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../adapters.html" title=" Adapters">
<link rel="up" href="../adapters.html" title="Adapters">
<link rel="prev" href="unfused_generic.html" title="unfused_generic">
<link rel="next" href="unfused_rvalue_args.html" title="unfused_rvalue_args">
</head>
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,45 +24,43 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="fusion.functional.adapters.unfused_lvalue_args"></a><a href="unfused_lvalue_args.html" title="unfused_lvalue_args">unfused_lvalue_args</a></h4></div></div></div>
<a name="fusion.functional.adapters.unfused_lvalue_args.description"></a><h5>
<a name="id666484"></a>
<a name="fusion.functional.adapters.unfused_lvalue_args"></a><a href="unfused_lvalue_args.html" title="unfused_lvalue_args">unfused_lvalue_args</a>
</h4></div></div></div>
<a name="fusion.functional.adapters.unfused_lvalue_args.description"></a><h6>
<a name="id2802346"></a>
<a href="unfused_lvalue_args.html#fusion.functional.adapters.unfused_lvalue_args.description">Description</a>
</h5>
</h6>
<p>
An n-ary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
An n-ary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a> target function. When called, its arguments are
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random
Access Sequence">Random
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a> of references that is passed to the target function
object. Only LValue arguments are accepted.
</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 <tt class="literal">operator()</tt> can be used
words, only const versions of <code class="literal">operator()</code> 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>
<p>
/functional/adapter/unfused_lvalue_args.hpp&gt;
</p>
<a name="fusion.functional.adapters.unfused_lvalue_args.synopsis"></a><h5>
<a name="id666568"></a>
<a name="fusion.functional.adapters.unfused_lvalue_args.synopsis"></a><h6>
<a name="id2802420"></a>
<a href="unfused_lvalue_args.html#fusion.functional.adapters.unfused_lvalue_args.synopsis">Synopsis</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Function</span><span class="special">&gt;</span>
<span class="keyword">class</span> <span class="identifier">unfused_lvalue_args</span><span class="special">;</span>
</pre>
<a name="fusion.functional.adapters.unfused_lvalue_args.template_parameters"></a><h5>
<a name="id666650"></a>
<a name="fusion.functional.adapters.unfused_lvalue_args.template_parameters"></a><h6>
<a name="id2802494"></a>
<a href="unfused_lvalue_args.html#fusion.functional.adapters.unfused_lvalue_args.template_parameters">Template
parameters</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -89,13 +87,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Function</span></tt>
<code class="computeroutput"><span class="identifier">Function</span></code>
</p>
</td>
<td>
<p>
A unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
A unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -105,52 +102,49 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_lvalue_args.model_of"></a><h5>
<a name="id666765"></a>
<a name="fusion.functional.adapters.unfused_lvalue_args.model_of"></a><h6>
<a name="id2802596"></a>
<a href="unfused_lvalue_args.html#fusion.functional.adapters.unfused_lvalue_args.model_of">Model
of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<li><a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a></li>
<li><a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
<dd><p>
A possibly const qualified, unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
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"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An object convertible to <tt class="computeroutput"><span class="identifier">F</span></tt>
An object convertible to <code class="computeroutput"><span class="identifier">F</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">UL</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">UL</span></code></span></dt>
<dd><p>
The type <tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;</span></tt>
The type <code class="computeroutput"><span class="identifier">unfused_lvalue_args</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">ul</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">ul</span></code></span></dt>
<dd><p>
An instance of <tt class="computeroutput"><span class="identifier">UL</span></tt>,
initialized with <tt class="computeroutput"><span class="identifier">f</span></tt>
An instance of <code class="computeroutput"><span class="identifier">UL</span></code>,
initialized with <code class="computeroutput"><span class="identifier">f</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code></span></dt>
<dd><p>
Arguments to <tt class="computeroutput"><span class="identifier">ul</span></tt>
Arguments to <code class="computeroutput"><span class="identifier">ul</span></code>
</p></dd>
</dl>
</div>
<a name="fusion.functional.adapters.unfused_lvalue_args.expression_semantics"></a><h5>
<a name="id667035"></a>
<a name="fusion.functional.adapters.unfused_lvalue_args.expression_semantics"></a><h6>
<a name="id2802839"></a>
<a href="unfused_lvalue_args.html#fusion.functional.adapters.unfused_lvalue_args.expression_semantics">Expression
Semantics</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -172,48 +166,48 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UL</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></tt>
<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>
Creates a fused function as described above, initializes the target
function with <tt class="computeroutput"><span class="identifier">f</span></tt>.
function with <code class="computeroutput"><span class="identifier">f</span></code>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UL</span><span class="special">()</span></tt>
<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 <tt class="computeroutput"><span class="identifier">F</span></tt>'s default constructor.
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">F</span></code>'s default constructor.
</p>
</td>
</tr>
<tr>
<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>
<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 <tt class="computeroutput"><span class="identifier">f</span></tt> with a
Calls <code class="computeroutput"><span class="identifier">f</span></code> with a
<a href="../../sequence.html" title="Sequence">Sequence</a> that contains references
to the arguments <tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt>.
to the arguments <code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code>.
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_lvalue_args.example"></a><h5>
<a name="id667302"></a>
<a name="fusion.functional.adapters.unfused_lvalue_args.example"></a><h6>
<a name="id2803077"></a>
<a href="unfused_lvalue_args.html#fusion.functional.adapters.unfused_lvalue_args.example">Example</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">struct</span> <span class="identifier">fused_incrementer</span>
<span class="special">{</span>
@@ -226,7 +220,7 @@
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Seq</span><span class="special">&gt;</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">&amp;</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"><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>
<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>
<span class="special">}</span>
<span class="special">};</span>
@@ -238,15 +232,15 @@
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">a</span> <span class="special">==</span> <span class="number">3</span> <span class="special">&amp;&amp;</span> <span class="identifier">b</span> <span class="special">==</span> <span class="char">'Y'</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<a name="fusion.functional.adapters.unfused_lvalue_args.see_also"></a><h5>
<a name="id667801"></a>
<a name="fusion.functional.adapters.unfused_lvalue_args.see_also"></a><h6>
<a name="id2803528"></a>
<a href="unfused_lvalue_args.html#fusion.functional.adapters.unfused_lvalue_args.see_also">See
also</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</span></tt></a></li>
<li><a href="unfused_generic.html" title="unfused_generic"><tt class="computeroutput"><span class="identifier">unfused_generic</span></tt></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="unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</span></code></a></li>
<li><a href="unfused_generic.html" title="unfused_generic"><code class="computeroutput"><span class="identifier">unfused_generic</span></code></a></li>
<li><a href="unfused_typed.html" title="unfused_typed"><code class="computeroutput"><span class="identifier">unfused_typed</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,9 +3,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>unfused_rvalue_args</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../adapters.html" title=" Adapters">
<link rel="up" href="../adapters.html" title="Adapters">
<link rel="prev" href="unfused_lvalue_args.html" title="unfused_lvalue_args">
<link rel="next" href="unfused_typed.html" title="unfused_typed">
</head>
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,45 +24,43 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="fusion.functional.adapters.unfused_rvalue_args"></a><a href="unfused_rvalue_args.html" title="unfused_rvalue_args">unfused_rvalue_args</a></h4></div></div></div>
<a name="fusion.functional.adapters.unfused_rvalue_args.description"></a><h5>
<a name="id667915"></a>
<a name="fusion.functional.adapters.unfused_rvalue_args"></a><a href="unfused_rvalue_args.html" title="unfused_rvalue_args">unfused_rvalue_args</a>
</h4></div></div></div>
<a name="fusion.functional.adapters.unfused_rvalue_args.description"></a><h6>
<a name="id2803628"></a>
<a href="unfused_rvalue_args.html#fusion.functional.adapters.unfused_rvalue_args.description">Description</a>
</h5>
</h6>
<p>
An n-ary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
An n-ary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a> target function. When called, its arguments are
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random
Access Sequence">Random
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a> of references that is passed to the target function
object. All referenced objects in the sequence are const qualified.
</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 <tt class="literal">operator()</tt> can be used
words, only const versions of <code class="literal">operator()</code> 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>
<p>
/functional/adapter/unfused_rvalue_args.hpp&gt;
</p>
<a name="fusion.functional.adapters.unfused_rvalue_args.synopsis"></a><h5>
<a name="id668000"></a>
<a name="fusion.functional.adapters.unfused_rvalue_args.synopsis"></a><h6>
<a name="id2803703"></a>
<a href="unfused_rvalue_args.html#fusion.functional.adapters.unfused_rvalue_args.synopsis">Synopsis</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Function</span><span class="special">&gt;</span>
<span class="keyword">class</span> <span class="identifier">unfused_rvalue_args</span><span class="special">;</span>
</pre>
<a name="fusion.functional.adapters.unfused_rvalue_args.template_parameters"></a><h5>
<a name="id668081"></a>
<a name="fusion.functional.adapters.unfused_rvalue_args.template_parameters"></a><h6>
<a name="id2803777"></a>
<a href="unfused_rvalue_args.html#fusion.functional.adapters.unfused_rvalue_args.template_parameters">Template
parameters</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -89,13 +87,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Function</span></tt>
<code class="computeroutput"><span class="identifier">Function</span></code>
</p>
</td>
<td>
<p>
A unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
A unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -105,52 +102,49 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_rvalue_args.model_of"></a><h5>
<a name="id668197"></a>
<a name="fusion.functional.adapters.unfused_rvalue_args.model_of"></a><h6>
<a name="id2803880"></a>
<a href="unfused_rvalue_args.html#fusion.functional.adapters.unfused_rvalue_args.model_of">Model
of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<li><a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a></li>
<li><a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
<dd><p>
A possibly const qualified, unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
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"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An object convertible to <tt class="computeroutput"><span class="identifier">F</span></tt>
An object convertible to <code class="computeroutput"><span class="identifier">F</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">UR</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">UR</span></code></span></dt>
<dd><p>
The type <tt class="computeroutput"><span class="identifier">unfused_rvalue_args</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;</span></tt>
The type <code class="computeroutput"><span class="identifier">unfused_rvalue_args</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">ur</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">ur</span></code></span></dt>
<dd><p>
An instance of <tt class="computeroutput"><span class="identifier">UR</span></tt>,
initialized with <tt class="computeroutput"><span class="identifier">f</span></tt>
An instance of <code class="computeroutput"><span class="identifier">UR</span></code>,
initialized with <code class="computeroutput"><span class="identifier">f</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code></span></dt>
<dd><p>
Arguments to <tt class="computeroutput"><span class="identifier">ur</span></tt>
Arguments to <code class="computeroutput"><span class="identifier">ur</span></code>
</p></dd>
</dl>
</div>
<a name="fusion.functional.adapters.unfused_rvalue_args.expression_semantics"></a><h5>
<a name="id668467"></a>
<a name="fusion.functional.adapters.unfused_rvalue_args.expression_semantics"></a><h6>
<a name="id2804123"></a>
<a href="unfused_rvalue_args.html#fusion.functional.adapters.unfused_rvalue_args.expression_semantics">Expression
Semantics</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -172,48 +166,48 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UR</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></tt>
<code class="computeroutput"><span class="identifier">UR</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></code>
</p>
</td>
<td>
<p>
Creates a fused function as described above, initializes the target
function with <tt class="computeroutput"><span class="identifier">f</span></tt>.
function with <code class="computeroutput"><span class="identifier">f</span></code>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UR</span><span class="special">()</span></tt>
<code class="computeroutput"><span class="identifier">UR</span><span class="special">()</span></code>
</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.
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">F</span></code>'s default constructor.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">ur</span><span class="special">(</span><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span><span class="special">)</span></tt>
<code class="computeroutput"><span class="identifier">ur</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 <tt class="computeroutput"><span class="identifier">f</span></tt> with a
Calls <code class="computeroutput"><span class="identifier">f</span></code> with a
<a href="../../sequence.html" title="Sequence">Sequence</a> that contains references
to the arguments <tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt>.
to the arguments <code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code>.
</p>
</td>
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_rvalue_args.example"></a><h5>
<a name="id668734"></a>
<a name="fusion.functional.adapters.unfused_rvalue_args.example"></a><h6>
<a name="id2804361"></a>
<a href="unfused_rvalue_args.html#fusion.functional.adapters.unfused_rvalue_args.example">Example</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">struct</span> <span class="identifier">sequence_printer</span>
<span class="special">{</span>
@@ -236,17 +230,17 @@
<span class="identifier">print</span><span class="special">(</span><span class="number">24</span><span class="special">,</span><span class="string">"bottles of beer in"</span><span class="special">,</span><span class="char">'a'</span><span class="special">,</span><span class="string">"box."</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<a name="fusion.functional.adapters.unfused_rvalue_args.see_also"></a><h5>
<a name="id669131"></a>
<a name="fusion.functional.adapters.unfused_rvalue_args.see_also"></a><h6>
<a name="id2804720"></a>
<a href="unfused_rvalue_args.html#fusion.functional.adapters.unfused_rvalue_args.see_also">See
also</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span></tt></a></li>
<li><a href="unfused_generic.html" title="unfused_generic"><tt class="computeroutput"><span class="identifier">unfused_generic</span></tt></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="../../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>
<li><a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</span></code></a></li>
<li><a href="unfused_generic.html" title="unfused_generic"><code class="computeroutput"><span class="identifier">unfused_generic</span></code></a></li>
<li><a href="unfused_typed.html" title="unfused_typed"><code class="computeroutput"><span class="identifier">unfused_typed</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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,9 +3,9 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../adapters.html" title=" Adapters">
<link rel="up" href="../adapters.html" title="Adapters">
<link rel="prev" href="unfused_rvalue_args.html" title="unfused_rvalue_args">
<link rel="next" href="../generation.html" title="Generation">
</head>
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,19 +24,17 @@
</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>
<a name="fusion.functional.adapters.unfused_typed.description"></a><h5>
<a name="id669285"></a>
<a name="fusion.functional.adapters.unfused_typed"></a><a href="unfused_typed.html" title="unfused_typed">unfused_typed</a>
</h4></div></div></div>
<a name="fusion.functional.adapters.unfused_typed.description"></a><h6>
<a name="id2804857"></a>
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.description">Description</a>
</h5>
</h6>
<p>
An n-ary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
An n-ary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> adapter template for an unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a> target function. When called, its arguments are
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random
Access Sequence">Random
bundled to a <a href="../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random
Access Sequence</a> that is passed to the target function object.
</p>
<p>
@@ -46,37 +44,43 @@
<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 <tt class="literal">operator()</tt> can be used
words, only const versions of <code class="literal">operator()</code> 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>
<div class="sidebar">
<p class="title"><b></b></p>
<p>
<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>
</p>
</div>
<div class="sidebar">
<p class="title"><b></b></p>
<p>
<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>
</p>
</div>
<p>
/functional/adapter/unfused_typed.hpp&gt;
</p>
<a name="fusion.functional.adapters.unfused_typed.synopsis"></a><h5>
<a name="id669441"></a>
<a name="fusion.functional.adapters.unfused_typed.synopsis"></a><h6>
<a name="id2804997"></a>
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.synopsis">Synopsis</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</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">&gt;</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="id669539"></a>
<a name="fusion.functional.adapters.unfused_typed.template_parameters"></a><h6>
<a name="id2805086"></a>
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.template_parameters">Template
parameters</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -104,13 +108,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Function</span></tt>
<code class="computeroutput"><span class="identifier">Function</span></code>
</p>
</td>
<td>
<p>
A unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
A unary <a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -122,7 +125,7 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>
<code class="computeroutput"><span class="identifier">Sequence</span></code>
</p>
</td>
<td>
@@ -137,57 +140,54 @@
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_typed.model_of"></a><h5>
<a name="id669697"></a>
<a name="fusion.functional.adapters.unfused_typed.model_of"></a><h6>
<a name="id2805227"></a>
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.model_of">Model
of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<li><a href="../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a></li>
<li><a href="../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="../concepts/def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
<dd><p>
A possibly const qualified, unary <a href="../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
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"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An object convertible to <tt class="computeroutput"><span class="identifier">F</span></tt>
An object convertible to <code class="computeroutput"><span class="identifier">F</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">S</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">S</span></code></span></dt>
<dd><p>
A <a href="../../sequence.html" title="Sequence">Sequence</a> of parameter types
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">UT</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">UT</span></code></span></dt>
<dd><p>
The type <tt class="computeroutput"><span class="identifier">unfused_typed</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">,</span><span class="identifier">S</span><span class="special">&gt;</span></tt>
The type <code class="computeroutput"><span class="identifier">unfused_typed</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">,</span><span class="identifier">S</span><span class="special">&gt;</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">ut</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">ut</span></code></span></dt>
<dd><p>
An instance of <tt class="computeroutput"><span class="identifier">UT</span></tt>,
initialized with <tt class="computeroutput"><span class="identifier">f</span></tt>
An instance of <code class="computeroutput"><span class="identifier">UT</span></code>,
initialized with <code class="computeroutput"><span class="identifier">f</span></code>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a0</span></tt>...<tt class="computeroutput"><span class="identifier">aN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">a0</span></code>...<code class="computeroutput"><span class="identifier">aN</span></code></span></dt>
<dd><p>
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>
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>
</p></dd>
</dl>
</div>
<a name="fusion.functional.adapters.unfused_typed.expression_semantics"></a><h5>
<a name="id670021"></a>
<a name="fusion.functional.adapters.unfused_typed.expression_semantics"></a><h6>
<a name="id2805518"></a>
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.expression_semantics">Expression
Semantics</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -209,50 +209,50 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UT</span><span class="special">(</span><span class="identifier">f</span><span class="special">)</span></tt>
<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>
Creates a fused function as described above, initializes the target
function with <tt class="computeroutput"><span class="identifier">f</span></tt>.
function with <code class="computeroutput"><span class="identifier">f</span></code>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">UT</span><span class="special">()</span></tt>
<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 <tt class="computeroutput"><span class="identifier">F</span></tt>'s default constructor.
Creates a fused function as described above, attempts to use <code class="computeroutput"><span class="identifier">F</span></code>'s default constructor.
</p>
</td>
</tr>
<tr>
<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>
<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 <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>
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>
starting at the first element, if fewer arguments are given and
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>.
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>
</tr>
</tbody>
</table></div>
<a name="fusion.functional.adapters.unfused_typed.example"></a><h5>
<a name="id670305"></a>
<a name="fusion.functional.adapters.unfused_typed.example"></a><h6>
<a name="id2805774"></a>
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.example">Example</a>
</h5>
</h6>
<pre class="programlisting">
<span class="keyword">struct</span> <span class="identifier">add_assign</span> <span class="comment">// applies operator+=
</span><span class="special">{</span>
@@ -318,16 +318,16 @@
<span class="identifier">assert</span><span class="special">(</span><span class="identifier">a</span> <span class="special">==</span> <span class="number">8</span> <span class="special">&amp;&amp;</span> <span class="identifier">b</span> <span class="special">==</span> <span class="char">'Z'</span><span class="special">);</span>
<span class="special">}</span>
</pre>
<a name="fusion.functional.adapters.unfused_typed.see_also"></a><h5>
<a name="id671795"></a>
<a name="fusion.functional.adapters.unfused_typed.see_also"></a><h6>
<a name="id2807123"></a>
<a href="unfused_typed.html#fusion.functional.adapters.unfused_typed.see_also">See also</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="unfused_generic.html" title="unfused_generic"><tt class="computeroutput"><span class="identifier">unfused_generic</span></tt></a></li>
<li><a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span></tt></a></li>
<li><a href="unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</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>
<li><a href="unfused_generic.html" title="unfused_generic"><code class="computeroutput"><span class="identifier">unfused_generic</span></code></a></li>
<li><a href="unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</span></code></a></li>
<li><a href="unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+6 -5
View File
@@ -3,19 +3,19 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functional.html" title="Functional">
<link rel="prev" href="../functional.html" title="Functional">
<link rel="next" href="concepts/callable.html" title=" Callable Object">
<link rel="next" href="concepts/callable.html" title="Callable Object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,7 +24,8 @@
</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>
<a name="fusion.functional.concepts"></a><a href="concepts.html" title="Concepts">Concepts</a>
</h3></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
@@ -1,22 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> Callable Object</title>
<title>Callable Object</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../concepts.html" title="Concepts">
<link rel="prev" href="../concepts.html" title="Concepts">
<link rel="next" href="reg_callable.html" title=" Regular Callable
Object">
<link rel="next" href="reg_callable.html" title="Regular Callable Object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -25,20 +24,21 @@
</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>
<a name="fusion.functional.concepts.callable.description"></a><h5>
<a name="id651885"></a>
<a name="fusion.functional.concepts.callable"></a><a href="callable.html" title="Callable Object"> Callable Object</a>
</h4></div></div></div>
<a name="fusion.functional.concepts.callable.description"></a><h6>
<a name="id2789283"></a>
<a href="callable.html#fusion.functional.concepts.callable.description">Description</a>
</h5>
</h6>
<p>
A pointer to a function, a pointer to member function, a pointer to member
data, or a class type whose objects can appear immediately to the left
of a function call operator.
</p>
<a name="fusion.functional.concepts.callable.models"></a><h5>
<a name="id651917"></a>
<a name="fusion.functional.concepts.callable.models"></a><h6>
<a name="id2789310"></a>
<a href="callable.html#fusion.functional.concepts.callable.models">Models</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li>
function pointer types
@@ -50,10 +50,10 @@
all kinds of function objects
</li>
</ul></div>
<a name="fusion.functional.concepts.callable.examples"></a><h5>
<a name="id651959"></a>
<a name="fusion.functional.concepts.callable.examples"></a><h6>
<a name="id2789348"></a>
<a href="callable.html#fusion.functional.concepts.callable.examples">Examples</a>
</h5>
</h6>
<pre class="programlisting">
<span class="special">&amp;</span> <span class="identifier">a_free_function</span>
<span class="special">&amp;</span> <span class="identifier">a_class</span><span class="special">::</span><span class="identifier">a_static_member_function</span>
@@ -63,8 +63,7 @@
<span class="comment">// using namespace boost;
</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;(),</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"><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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> Deferred
Callable Object</title>
<title>Deferred Callable Object</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../concepts.html" title="Concepts">
<link rel="prev" href="reg_callable.html" title=" Regular Callable
Object">
<link rel="next" href="poly.html" title=" Polymorphic Function
Object">
<link rel="prev" href="reg_callable.html" title="Regular Callable Object">
<link rel="next" href="poly.html" title="Polymorphic Function Object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,64 +24,66 @@
</div>
<div class="section" lang="en">
<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>
<a name="fusion.functional.concepts.def_callable.description"></a><h5>
<a name="id652995"></a>
<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>
<a name="fusion.functional.concepts.def_callable.description"></a><h6>
<a name="id2790276"></a>
<a href="def_callable.html#fusion.functional.concepts.def_callable.description">Description</a>
</h5>
</h6>
<p>
<a href="callable.html" title=" Callable Object">Callable Object</a>
<a href="callable.html" title="Callable Object">Callable Object</a>
types that work with <a href="http://www.boost.org/libs/utility/utility.htm#result_of" target="_top">Boost.ResultOf</a>
to determine the result of a call.
</p>
<a name="fusion.functional.concepts.def_callable.refinement_of"></a><h5>
<a name="id653041"></a>
<a name="fusion.functional.concepts.def_callable.refinement_of"></a><h6>
<a name="id2790316"></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 <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
</h6>
<div class="itemizedlist"><ul type="disc"><li><a href="callable.html" title="Callable Object">Callable Object</a></li></ul></div>
<div class="sidebar">
<p class="title"><b></b></p>
<p>
note Once C++ supports the <code class="literal">decltype</code> 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 <tt class="computeroutput"><span class="identifier">result_of</span></tt>.
</p></div>
support for <code class="computeroutput"><span class="identifier">result_of</span></code>.
</p>
</div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
<dd><p>
A possibly const qualified Deferred Callable Object type
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">A1</span>
<span class="special">...</span><span class="identifier">AN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">A1</span>
<span class="special">...</span><span class="identifier">AN</span></code></span></dt>
<dd><p>
Argument types
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a1</span>
<span class="special">...</span><span class="identifier">aN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span>
<span class="special">...</span><span class="identifier">aN</span></code></span></dt>
<dd><p>
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>
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>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">T1</span>
<span class="special">...</span><span class="identifier">TN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">T1</span>
<span class="special">...</span><span class="identifier">TN</span></code></span></dt>
<dd><p>
<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">&amp;</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
<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">&amp;</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
</p></dd>
</dl>
</div>
<a name="fusion.functional.concepts.def_callable.expression_requirements"></a><h5>
<a name="id653349"></a>
<a name="fusion.functional.concepts.def_callable.expression_requirements"></a><h6>
<a name="id2790592"></a>
<a href="def_callable.html#fusion.functional.concepts.def_callable.expression_requirements">Expression
requirements</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -105,37 +104,36 @@
<tbody><tr>
<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">&lt;</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">&gt;::</span><span class="identifier">type</span></tt>
<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">&lt;</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">&gt;::</span><span class="identifier">type</span></code>
</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
Result of a call with <code class="computeroutput"><span class="identifier">A1</span>
<span class="special">...</span><span class="identifier">AN</span></code>-typed
arguments
</p>
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.concepts.def_callable.models"></a><h5>
<a name="id653532"></a>
<a name="fusion.functional.concepts.def_callable.models"></a><h6>
<a name="id2790757"></a>
<a href="def_callable.html#fusion.functional.concepts.def_callable.models">Models</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li>
<a href="poly.html" title=" Polymorphic Function
Object">Polymorphic Function
<a href="poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> types
</li>
<li>
member (function or data) pointer types
</li>
</ul></div>
<a name="fusion.functional.concepts.def_callable.examples"></a><h5>
<a name="id653578"></a>
<a name="fusion.functional.concepts.def_callable.examples"></a><h6>
<a name="id2790796"></a>
<a href="def_callable.html#fusion.functional.concepts.def_callable.examples">Examples</a>
</h5>
</h6>
<pre class="programlisting">
<span class="special">&amp;</span> <span class="identifier">a_free_function</span>
<span class="special">&amp;</span> <span class="identifier">a_class</span><span class="special">::</span><span class="identifier">a_static_member_function</span>
@@ -145,8 +143,7 @@
<span class="comment">// using namespace boost;
</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;(),</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"><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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</span>
</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+45 -51
View File
@@ -1,14 +1,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> Polymorphic Function
Object</title>
<title>Polymorphic Function Object</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../concepts.html" title="Concepts">
<link rel="prev" href="def_callable.html" title=" Deferred
Callable Object">
<link rel="prev" href="def_callable.html" title="Deferred Callable Object">
<link rel="next" href="../invocation.html" title="Invocation">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -16,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,67 +24,64 @@
</div>
<div class="section" lang="en">
<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>
<a name="fusion.functional.concepts.poly.description"></a><h5>
<a name="id653880"></a>
<a name="fusion.functional.concepts.poly"></a><a href="poly.html" title="Polymorphic Function Object"> Polymorphic Function
Object</a>
</h4></div></div></div>
<a name="fusion.functional.concepts.poly.description"></a><h6>
<a name="id2791067"></a>
<a href="poly.html#fusion.functional.concepts.poly.description">Description</a>
</h5>
</h6>
<p>
A non-member-pointer <a href="def_callable.html" title=" Deferred
Callable Object">Deferred
A non-member-pointer <a href="def_callable.html" title="Deferred Callable Object">Deferred
Callable Object</a> type.
</p>
<a name="fusion.functional.concepts.poly.refinement_of"></a><h5>
<a name="id653919"></a>
<a name="fusion.functional.concepts.poly.refinement_of"></a><h6>
<a name="id2791101"></a>
<a href="poly.html#fusion.functional.concepts.poly.refinement_of">Refinement
of</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="reg_callable.html" title=" Regular Callable
Object">Regular Callable
<li><a href="reg_callable.html" title="Regular Callable Object">Regular Callable
Object</a></li>
<li><a href="def_callable.html" title=" Deferred
Callable Object">Deferred Callable
<li><a href="def_callable.html" title="Deferred Callable Object">Deferred Callable
Object</a></li>
</ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
<dd><p>
A possibly const-qualified Polymorphic Function Object type
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An object or reference to an object of type F
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">A1</span>
<span class="special">...</span><span class="identifier">AN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">A1</span>
<span class="special">...</span><span class="identifier">AN</span></code></span></dt>
<dd><p>
Argument types
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a1</span>
<span class="special">...</span><span class="identifier">aN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span>
<span class="special">...</span><span class="identifier">aN</span></code></span></dt>
<dd><p>
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>
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>
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">T1</span>
<span class="special">...</span><span class="identifier">TN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">T1</span>
<span class="special">...</span><span class="identifier">TN</span></code></span></dt>
<dd><p>
<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">&amp;</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
<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">&amp;</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
</p></dd>
</dl>
</div>
<a name="fusion.functional.concepts.poly.expression_requirements"></a><h5>
<a name="id654210"></a>
<a name="fusion.functional.concepts.poly.expression_requirements"></a><h6>
<a name="id2791362"></a>
<a href="poly.html#fusion.functional.concepts.poly.expression_requirements">Expression
requirements</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -113,15 +108,15 @@
<tbody><tr>
<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>
<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>
<tt class="computeroutput"><span class="identifier">result_of</span><span class="special">&lt;</span>
<code class="computeroutput"><span class="identifier">result_of</span><span class="special">&lt;</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">&gt;::</span><span class="identifier">type</span></tt>
<span class="special">...</span><span class="identifier">TN</span><span class="special">)</span> <span class="special">&gt;::</span><span class="identifier">type</span></code>
</p>
</td>
<td>
@@ -131,10 +126,10 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.concepts.poly.models"></a><h5>
<a name="id654408"></a>
<a name="fusion.functional.concepts.poly.models"></a><h6>
<a name="id2791542"></a>
<a href="poly.html#fusion.functional.concepts.poly.models">Models</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li>
function pointers
@@ -143,13 +138,13 @@
function objects of the Standard Library
</li>
<li>
all Fusion <a href="../adapters.html" title=" Adapters">functional adapters</a>
all Fusion <a href="../adapters.html" title="Adapters">functional adapters</a>
</li>
</ul></div>
<a name="fusion.functional.concepts.poly.examples"></a><h5>
<a name="id654462"></a>
<a name="fusion.functional.concepts.poly.examples"></a><h6>
<a name="id2791587"></a>
<a href="poly.html#fusion.functional.concepts.poly.examples">Examples</a>
</h5>
</h6>
<pre class="programlisting">
<span class="special">&amp;</span> <span class="identifier">a_free_function</span>
<span class="special">&amp;</span> <span class="identifier">a_class</span><span class="special">::</span><span class="identifier">a_static_member_function</span>
@@ -157,8 +152,7 @@
<span class="comment">// using namespace boost;
</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;(),</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"><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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</span>
</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,23 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title> Regular Callable
Object</title>
<title>Regular Callable Object</title>
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../concepts.html" title="Concepts">
<link rel="prev" href="callable.html" title=" Callable Object">
<link rel="next" href="def_callable.html" title=" Deferred
Callable Object">
<link rel="prev" href="callable.html" title="Callable Object">
<link rel="next" href="def_callable.html" title="Deferred Callable Object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,53 +24,53 @@
</div>
<div class="section" lang="en">
<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>
<a name="fusion.functional.concepts.reg_callable.description"></a><h5>
<a name="id652298"></a>
<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>
<a name="fusion.functional.concepts.reg_callable.description"></a><h6>
<a name="id2789653"></a>
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.description">Description</a>
</h5>
</h6>
<p>
A non-member-pointer <a href="callable.html" title=" Callable Object">Callable
A non-member-pointer <a href="callable.html" title="Callable Object">Callable
Object</a> type: A pointer to a function or a class type whose objects
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="id652341"></a>
<a name="fusion.functional.concepts.reg_callable.refinement_of"></a><h6>
<a name="id2789689"></a>
<a href="reg_callable.html#fusion.functional.concepts.reg_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>
</h6>
<div class="itemizedlist"><ul type="disc"><li><a href="callable.html" title="Callable Object">Callable Object</a></li></ul></div>
<div class="variablelist">
<p class="title"><b>Notation</b></p>
<dl>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">F</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">F</span></code></span></dt>
<dd><p>
A possibly const qualified Deferred Callable Object type
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">f</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">f</span></code></span></dt>
<dd><p>
An object or reference to an object of type F
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">A1</span>
<span class="special">...</span><span class="identifier">AN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">A1</span>
<span class="special">...</span><span class="identifier">AN</span></code></span></dt>
<dd><p>
Argument types
</p></dd>
<dt><span class="term"><tt class="computeroutput"><span class="identifier">a1</span>
<span class="special">...</span><span class="identifier">aN</span></tt></span></dt>
<dt><span class="term"><code class="computeroutput"><span class="identifier">a1</span>
<span class="special">...</span><span class="identifier">aN</span></code></span></dt>
<dd><p>
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>
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>
</p></dd>
</dl>
</div>
<a name="fusion.functional.concepts.reg_callable.expression_requirements"></a><h5>
<a name="id652527"></a>
<a name="fusion.functional.concepts.reg_callable.expression_requirements"></a><h6>
<a name="id2789857"></a>
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.expression_requirements">Expression
requirements</a>
</h5>
</h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@@ -99,8 +97,8 @@
<tbody><tr>
<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>
<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>
@@ -115,10 +113,10 @@
</td>
</tr></tbody>
</table></div>
<a name="fusion.functional.concepts.reg_callable.models"></a><h5>
<a name="id652663"></a>
<a name="fusion.functional.concepts.reg_callable.models"></a><h6>
<a name="id2789980"></a>
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.models">Models</a>
</h5>
</h6>
<div class="itemizedlist"><ul type="disc">
<li>
function pointer types
@@ -127,10 +125,10 @@
all kinds of function objects
</li>
</ul></div>
<a name="fusion.functional.concepts.reg_callable.examples"></a><h5>
<a name="id652701"></a>
<a name="fusion.functional.concepts.reg_callable.examples"></a><h6>
<a name="id2790013"></a>
<a href="reg_callable.html#fusion.functional.concepts.reg_callable.examples">Examples</a>
</h5>
</h6>
<pre class="programlisting">
<span class="special">&amp;</span> <span class="identifier">a_free_function</span>
<span class="special">&amp;</span> <span class="identifier">a_class</span><span class="special">::</span><span class="identifier">a_static_member_function</span>
@@ -138,8 +136,7 @@
<span class="comment">// using namespace boost;
</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;(),</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"><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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</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">&lt;</span><span class="keyword">int</span><span class="special">&gt;())</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
+5 -4
View File
@@ -3,7 +3,7 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functional.html" title="Functional">
<link rel="prev" href="adapters/unfused_typed.html" title="unfused_typed">
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,7 +24,8 @@
</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>
<a name="fusion.functional.generation"></a><a href="generation.html" title="Generation">Generation</a>
</h3></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,20 +3,19 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../generation.html" title="Generation">
<link rel="prev" href="../generation.html" title="Generation">
<link rel="next" href="functions/mk_fused.html" title="
make_fused">
<link rel="next" href="functions/mk_fused.html" title="make_fused">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -25,7 +24,8 @@
</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>
<a name="fusion.functional.generation.functions"></a><a href="functions.html" title="Functions">Functions</a>
</h4></div></div></div>
<div class="toc"><dl>
<dt><span class="section"><a href="functions/mk_fused.html">
make_fused</a></span></dt>
@@ -1,23 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_fused</title>
<title>make_fused</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="../functions.html" title="Functions">
<link rel="next" href="mk_fused_proc.html" title="
make_fused_procedure">
<link rel="next" href="mk_fused_proc.html" title="make_fused_procedure">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,31 +24,29 @@
</div>
<div class="section" lang="en">
<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>
<a name="fusion.functional.generation.functions.mk_fused"></a><a href="mk_fused.html" title="make_fused">
make_fused</a>
</h5></div></div></div>
<a name="fusion.functional.generation.functions.mk_fused.description"></a><h6>
<a name="id671993"></a>
<a name="id2807297"></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"><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>.
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 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="id672061"></a>
<a name="id2807356"></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">&lt;</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">&gt;</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_fused.html" title="
make_fused"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</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">&amp;</span> <span class="identifier">f</span><span class="special">);</span>
</pre>
<a name="fusion.functional.generation.functions.mk_fused.parameters"></a><h6>
<a name="id672216"></a>
<a name="id2807493"></a>
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -79,13 +75,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred
Model of <a href="../../concepts/def_callable.html" title="Deferred Callable Object">Deferred
Callable Object</a>
</p>
</td>
@@ -97,7 +92,7 @@
</tr></tbody>
</table></div>
<a name="fusion.functional.generation.functions.mk_fused.expression_semantics"></a><h6>
<a name="id672333"></a>
<a name="id2807597"></a>
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.expression_semantics">Expression
Semantics</a>
</h6>
@@ -105,13 +100,13 @@
<span class="identifier">make_fused</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
</pre>
<p>
<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>.
<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>.
</p>
<p>
<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>.
<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>.
</p>
<a name="fusion.functional.generation.functions.mk_fused.header"></a><h6>
<a name="id672458"></a>
<a name="id2807707"></a>
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.header">Header</a>
</h6>
<pre class="programlisting">
@@ -119,7 +114,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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">&gt;</span>
</pre>
<a name="fusion.functional.generation.functions.mk_fused.example"></a><h6>
<a name="id672627"></a>
<a name="id2807859"></a>
<a href="mk_fused.html#fusion.functional.generation.functions.mk_fused.example">Example</a>
</h6>
<pre class="programlisting">
@@ -127,23 +122,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"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">(&amp;</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">&lt;</span><span class="keyword">float</span><span class="special">&gt;())));</span>
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">(&amp;</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">&lt;</span><span class="keyword">float</span><span class="special">&gt;())));</span>
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.functions.mk_fused.see_also"></a><h6>
<a name="id673230"></a>
<a name="id2808405"></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"><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"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a></li>
<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="../metafunctions/mk_fused.html" title="make_fused"><code class="computeroutput"><span class="identifier">make_fused</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_fused_function_object</title>
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="mk_fused_proc.html" title="
make_fused_procedure">
<link rel="next" href="mk_unfused_genrc.html" title="
make_unfused_generic">
<link rel="prev" href="mk_fused_proc.html" title="make_fused_procedure">
<link rel="next" href="mk_unfused_genrc.html" title="make_unfused_generic">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,32 +24,30 @@
</div>
<div class="section" lang="en">
<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>
<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>
<a name="fusion.functional.generation.functions.mk_fused_fobj.description"></a><h6>
<a name="id674372"></a>
<a name="id2809420"></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"><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
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
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="id674443"></a>
<a name="id2809482"></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">&lt;</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">&gt;</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_fused_fobj.html" title="
make_fused_function_object"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</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">&amp;</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="id674599"></a>
<a name="id2809621"></a>
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -81,13 +76,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Model of <a href="../../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -99,7 +93,7 @@
</tr></tbody>
</table></div>
<a name="fusion.functional.generation.functions.mk_fused_fobj.expression_semantics"></a><h6>
<a name="id674714"></a>
<a name="id2809723"></a>
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.expression_semantics">Expression
Semantics</a>
</h6>
@@ -107,14 +101,14 @@
<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"><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>.
<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>.
</p>
<p>
<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>.
<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>.
</p>
<a name="fusion.functional.generation.functions.mk_fused_fobj.header"></a><h6>
<a name="id674841"></a>
<a name="id2809835"></a>
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.header">Header</a>
</h6>
<pre class="programlisting">
@@ -122,7 +116,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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">&gt;</span>
</pre>
<a name="fusion.functional.generation.functions.mk_fused_fobj.example"></a><h6>
<a name="id675013"></a>
<a name="id2809989"></a>
<a href="mk_fused_fobj.html#fusion.functional.generation.functions.mk_fused_fobj.example">Example</a>
</h6>
<pre class="programlisting">
@@ -144,22 +138,21 @@
<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"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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>
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">float</span><span class="special">&gt;</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>
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.functions.mk_fused_fobj.see_also"></a><h6>
<a name="id675752"></a>
<a name="id2810658"></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"><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"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></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>
<li><a href="../../../support/deduce.html" title="deduce"><code class="computeroutput"><span class="identifier">deduce</span></code></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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_fused_procedure</title>
<title>make_fused_procedure</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="mk_fused.html" title="
make_fused">
<link rel="next" href="mk_fused_fobj.html" title="
make_fused_function_object">
<link rel="prev" href="mk_fused.html" title="make_fused">
<link rel="next" href="mk_fused_fobj.html" title="make_fused_function_object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,32 +24,30 @@
</div>
<div class="section" lang="en">
<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>
<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>
<a name="fusion.functional.generation.functions.mk_fused_proc.description"></a><h6>
<a name="id673348"></a>
<a name="id2808508"></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"><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
Creates a <a href="../../adapters/fused_procedure.html" title="fused_procedure"><code class="computeroutput"><span class="identifier">fused_procedure</span></code></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="id673417"></a>
<a name="id2808569"></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">&lt;</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">&gt;</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_fused_proc.html" title="
make_fused_procedure"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</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">&amp;</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="id673573"></a>
<a name="id2808708"></a>
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -81,12 +76,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/callable.html" title=" Callable Object">Callable
Model of <a href="../../concepts/callable.html" title="Callable Object">Callable
Object</a>
</p>
</td>
@@ -98,7 +93,7 @@
</tr></tbody>
</table></div>
<a name="fusion.functional.generation.functions.mk_fused_proc.expression_semantics"></a><h6>
<a name="id673689"></a>
<a name="id2808810"></a>
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.expression_semantics">Expression
Semantics</a>
</h6>
@@ -106,14 +101,14 @@
<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"><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>.
<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>.
</p>
<p>
<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>.
<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>.
</p>
<a name="fusion.functional.generation.functions.mk_fused_proc.header"></a><h6>
<a name="id673815"></a>
<a name="id2808921"></a>
<a href="mk_fused_proc.html#fusion.functional.generation.functions.mk_fused_proc.header">Header</a>
</h6>
<pre class="programlisting">
@@ -121,25 +116,24 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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">&gt;</span>
</pre>
<a name="fusion.functional.generation.functions.mk_fused_proc.example"></a><h6>
<a name="id673985"></a>
<a name="id2809075"></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"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</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">&gt;</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>
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</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">&gt;</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"><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>
<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>
</pre>
<a name="fusion.functional.generation.functions.mk_fused_proc.see_also"></a><h6>
<a name="id674255"></a>
<a name="id2809318"></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"><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"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a></li>
<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="../metafunctions/mk_fused_proc.html" title="make_fused_procedure"><code class="computeroutput"><span class="identifier">make_fused_procedure</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_unfused_generic</title>
<title>make_unfused_generic</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="mk_fused_fobj.html" title="
make_fused_function_object">
<link rel="next" href="mk_unfused_lvargs.html" title="
make_unfused_lvalue_args">
<link rel="prev" href="mk_fused_fobj.html" title="make_fused_function_object">
<link rel="next" href="mk_unfused_lvargs.html" title="make_unfused_lvalue_args">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,32 +24,30 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.functional.generation.functions.mk_unfused_genrc"></a><a href="mk_unfused_genrc.html" title="
make_unfused_generic">
make_unfused_generic</a></h5></div></div></div>
<a name="fusion.functional.generation.functions.mk_unfused_genrc"></a><a href="mk_unfused_genrc.html" title="make_unfused_generic">
make_unfused_generic</a>
</h5></div></div></div>
<a name="fusion.functional.generation.functions.mk_unfused_genrc.description"></a><h6>
<a name="id675872"></a>
<a name="id2810762"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.functions.mk_unfused_genrc.description">Description</a>
</h6>
<p>
Creates a <a href="../../adapters/unfused_generic.html" title="unfused_generic"><tt class="computeroutput"><span class="identifier">unfused_generic</span></tt></a> adapter for
a given, unary <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Creates a <a href="../../adapters/unfused_generic.html" title="unfused_generic"><code class="computeroutput"><span class="identifier">unfused_generic</span></code></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_genrc.synopsis"></a><h6>
<a name="id675941"></a>
<a name="id2810823"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.functions.mk_unfused_genrc.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">&gt;</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_unfused_genrc.html" title="
make_unfused_generic"><tt class="computeroutput"><span class="identifier">make_unfused_generic</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_unfused_genrc.html" title="make_unfused_generic"><code class="computeroutput"><span class="identifier">make_unfused_generic</span></code></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="identifier">make_unfused_generic</span><span class="special">(</span><span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_genrc.parameters"></a><h6>
<a name="id676099"></a>
<a name="id2810963"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.functions.mk_unfused_genrc.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -81,13 +76,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Model of <a href="../../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -99,7 +93,7 @@
</tr></tbody>
</table></div>
<a name="fusion.functional.generation.functions.mk_unfused_genrc.expression_semantics"></a><h6>
<a name="id676215"></a>
<a name="id2811067"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.functions.mk_unfused_genrc.expression_semantics">Expression
Semantics</a>
</h6>
@@ -107,14 +101,14 @@
<span class="identifier">make_unfused_generic</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A specialization of <a href="../../adapters/unfused_generic.html" title="unfused_generic"><tt class="computeroutput"><span class="identifier">unfused_generic</span></tt></a>.
<span class="bold"><strong>Return type</strong></span>: A specialization of <a href="../../adapters/unfused_generic.html" title="unfused_generic"><code class="computeroutput"><span class="identifier">unfused_generic</span></code></a>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Returns a <a href="../../adapters/unfused_generic.html" title="unfused_generic"><tt class="computeroutput"><span class="identifier">unfused_generic</span></tt></a> adapter for
<tt class="computeroutput"><span class="identifier">f</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Returns a <a href="../../adapters/unfused_generic.html" title="unfused_generic"><code class="computeroutput"><span class="identifier">unfused_generic</span></code></a> adapter for
<code class="computeroutput"><span class="identifier">f</span></code>.
</p>
<a name="fusion.functional.generation.functions.mk_unfused_genrc.header"></a><h6>
<a name="id676340"></a>
<a name="id2811179"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.functions.mk_unfused_genrc.header">Header</a>
</h6>
<pre class="programlisting">
@@ -122,7 +116,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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_generic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_genrc.example"></a><h6>
<a name="id676511"></a>
<a name="id2811332"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.functions.mk_unfused_genrc.example">Example</a>
</h6>
<pre class="programlisting">
@@ -158,15 +152,14 @@
</span><span class="special">}</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_genrc.see_also"></a><h6>
<a name="id677314"></a>
<a name="id2812059"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.functions.mk_unfused_genrc.see_also">See
also</a>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../../adapters/unfused_generic.html" title="unfused_generic"><tt class="computeroutput"><span class="identifier">unfused_generic</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_genrc.html" title="
make_unfused_generic"><tt class="computeroutput"><span class="identifier">make_unfused_generic</span></tt></a></li>
<li><a href="../../adapters/unfused_generic.html" title="unfused_generic"><code class="computeroutput"><span class="identifier">unfused_generic</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="../metafunctions/mk_unfused_genrc.html" title="make_unfused_generic"><code class="computeroutput"><span class="identifier">make_unfused_generic</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_unfused_lvalue_args</title>
<title>make_unfused_lvalue_args</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="mk_unfused_genrc.html" title="
make_unfused_generic">
<link rel="next" href="mk_unfused_rvargs.html" title="
make_unfused_rvalue_args">
<link rel="prev" href="mk_unfused_genrc.html" title="make_unfused_generic">
<link rel="next" href="mk_unfused_rvargs.html" title="make_unfused_rvalue_args">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,32 +24,30 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.functional.generation.functions.mk_unfused_lvargs"></a><a href="mk_unfused_lvargs.html" title="
make_unfused_lvalue_args">
make_unfused_lvalue_args</a></h5></div></div></div>
<a name="fusion.functional.generation.functions.mk_unfused_lvargs"></a><a href="mk_unfused_lvargs.html" title="make_unfused_lvalue_args">
make_unfused_lvalue_args</a>
</h5></div></div></div>
<a name="fusion.functional.generation.functions.mk_unfused_lvargs.description"></a><h6>
<a name="id677433"></a>
<a name="id2812162"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.functions.mk_unfused_lvargs.description">Description</a>
</h6>
<p>
Creates a <a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span></tt></a> adapter
for a given, unary <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Creates a <a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</span></code></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_lvargs.synopsis"></a><h6>
<a name="id677504"></a>
<a name="id2812223"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.functions.mk_unfused_lvargs.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">&gt;</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_unfused_lvargs.html" title="
make_unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_unfused_lvargs.html" title="make_unfused_lvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></code></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="identifier">make_unfused_lvalue_args</span><span class="special">(</span><span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_lvargs.parameters"></a><h6>
<a name="id677660"></a>
<a name="id2812362"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.functions.mk_unfused_lvargs.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -81,13 +76,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Model of <a href="../../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -99,7 +93,7 @@
</tr></tbody>
</table></div>
<a name="fusion.functional.generation.functions.mk_unfused_lvargs.expression_semantics"></a><h6>
<a name="id677777"></a>
<a name="id2812465"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.functions.mk_unfused_lvargs.expression_semantics">Expression
Semantics</a>
</h6>
@@ -107,14 +101,14 @@
<span class="identifier">make_unfused_lvalue_args</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A specialization of <a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span></tt></a>.
<span class="bold"><strong>Return type</strong></span>: A specialization of <a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</span></code></a>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Returns a <a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</span></tt></a> adapter
for <tt class="computeroutput"><span class="identifier">f</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Returns a <a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</span></code></a> adapter
for <code class="computeroutput"><span class="identifier">f</span></code>.
</p>
<a name="fusion.functional.generation.functions.mk_unfused_lvargs.header"></a><h6>
<a name="id677903"></a>
<a name="id2812579"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.functions.mk_unfused_lvargs.header">Header</a>
</h6>
<pre class="programlisting">
@@ -122,7 +116,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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_lvalue_args</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_lvargs.example"></a><h6>
<a name="id678076"></a>
<a name="id2812732"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.functions.mk_unfused_lvargs.example">Example</a>
</h6>
<pre class="programlisting">
@@ -137,7 +131,7 @@
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">class</span> <span class="identifier">Seq</span><span class="special">&gt;</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">&amp;</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"><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>
<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>
<span class="special">}</span>
<span class="special">};</span>
@@ -149,15 +143,14 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_lvargs.see_also"></a><h6>
<a name="id678554"></a>
<a name="id2813164"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.functions.mk_unfused_lvargs.see_also">See
also</a>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">unfused_lvalue_args</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_lvargs.html" title="
make_unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></tt></a></li>
<li><a href="../../adapters/unfused_lvalue_args.html" title="unfused_lvalue_args"><code class="computeroutput"><span class="identifier">unfused_lvalue_args</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="../metafunctions/mk_unfused_lvargs.html" title="make_unfused_lvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,14 +1,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_unfused_rvalue_args</title>
<title>make_unfused_rvalue_args</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="mk_unfused_lvargs.html" title="
make_unfused_lvalue_args">
<link rel="prev" href="mk_unfused_lvargs.html" title="make_unfused_lvalue_args">
<link rel="next" href="../metafunctions.html" title="Metafunctions">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -16,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,32 +24,30 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.functional.generation.functions.mk_unfused_rvargs"></a><a href="mk_unfused_rvargs.html" title="
make_unfused_rvalue_args">
make_unfused_rvalue_args</a></h5></div></div></div>
<a name="fusion.functional.generation.functions.mk_unfused_rvargs"></a><a href="mk_unfused_rvargs.html" title="make_unfused_rvalue_args">
make_unfused_rvalue_args</a>
</h5></div></div></div>
<a name="fusion.functional.generation.functions.mk_unfused_rvargs.description"></a><h6>
<a name="id678671"></a>
<a name="id2813267"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.functions.mk_unfused_rvargs.description">Description</a>
</h6>
<p>
Creates a <a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</span></tt></a> adapter
for a given, unary <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Creates a <a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</span></code></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_rvargs.synopsis"></a><h6>
<a name="id678741"></a>
<a name="id2813327"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.functions.mk_unfused_rvargs.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
<span class="keyword">template</span> <span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">F</span><span class="special">&gt;</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_unfused_rvargs.html" title="
make_unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></tt></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="keyword">inline</span> <span class="keyword">typename</span> <a href="../metafunctions/mk_unfused_rvargs.html" title="make_unfused_rvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></code></a><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;::</span><span class="identifier">type</span>
<span class="identifier">make_unfused_rvalue_args</span><span class="special">(</span><span class="identifier">F</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">f</span><span class="special">);</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_rvargs.parameters"></a><h6>
<a name="id678898"></a>
<a name="id2813466"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.functions.mk_unfused_rvargs.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -80,13 +76,12 @@
<tbody><tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Model of <a href="../../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -98,7 +93,7 @@
</tr></tbody>
</table></div>
<a name="fusion.functional.generation.functions.mk_unfused_rvargs.expression_semantics"></a><h6>
<a name="id679014"></a>
<a name="id2813569"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.functions.mk_unfused_rvargs.expression_semantics">Expression
Semantics</a>
</h6>
@@ -106,14 +101,14 @@
<span class="identifier">make_unfused_rvalue_args</span><span class="special">(</span><span class="identifier">f</span><span class="special">);</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A specialization of <a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</span></tt></a>.
<span class="bold"><strong>Return type</strong></span>: A specialization of <a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</span></code></a>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Returns a <a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</span></tt></a> adapter
for <tt class="computeroutput"><span class="identifier">f</span></tt>.
<span class="bold"><strong>Semantics</strong></span>: Returns a <a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</span></code></a> adapter
for <code class="computeroutput"><span class="identifier">f</span></code>.
</p>
<a name="fusion.functional.generation.functions.mk_unfused_rvargs.header"></a><h6>
<a name="id679139"></a>
<a name="id2813681"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.functions.mk_unfused_rvargs.header">Header</a>
</h6>
<pre class="programlisting">
@@ -121,7 +116,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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_rvalue_args</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_rvargs.example"></a><h6>
<a name="id679311"></a>
<a name="id2813834"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.functions.mk_unfused_rvargs.example">Example</a>
</h6>
<pre class="programlisting">
@@ -147,15 +142,14 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.functions.mk_unfused_rvargs.see_also"></a><h6>
<a name="id679694"></a>
<a name="id2814179"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.functions.mk_unfused_rvargs.see_also">See
also</a>
</h6>
<div class="itemizedlist"><ul type="disc">
<li><a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">unfused_rvalue_args</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_rvargs.html" title="
make_unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></tt></a></li>
<li><a href="../../adapters/unfused_rvalue_args.html" title="unfused_rvalue_args"><code class="computeroutput"><span class="identifier">unfused_rvalue_args</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="../metafunctions/mk_unfused_rvargs.html" title="make_unfused_rvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></code></a></li>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,21 +3,19 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../generation.html" title="Generation">
<link rel="prev" href="functions/mk_unfused_rvargs.html" title="
make_unfused_rvalue_args">
<link rel="next" href="metafunctions/mk_fused.html" title="
make_fused">
<link rel="prev" href="functions/mk_unfused_rvargs.html" title="make_unfused_rvalue_args">
<link rel="next" href="metafunctions/mk_fused.html" title="make_fused">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,7 +24,8 @@
</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>
<a name="fusion.functional.generation.metafunctions"></a><a href="metafunctions.html" title="Metafunctions">Metafunctions</a>
</h4></div></div></div>
<div class="toc"><dl>
<dt><span class="section"><a href="metafunctions/mk_fused.html">
make_fused</a></span></dt>
@@ -1,23 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_fused</title>
<title>make_fused</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="mk_fused_proc.html" title="
make_fused_procedure">
<link rel="next" href="mk_fused_proc.html" title="make_fused_procedure">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,19 +24,18 @@
</div>
<div class="section" lang="en">
<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>
<a name="fusion.functional.generation.metafunctions.mk_fused"></a><a href="mk_fused.html" title="make_fused">
make_fused</a>
</h5></div></div></div>
<a name="fusion.functional.generation.metafunctions.mk_fused.description"></a><h6>
<a name="id679832"></a>
<a name="id2814298"></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"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a>.
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>.
</p>
<a name="fusion.functional.generation.metafunctions.mk_fused.header"></a><h6>
<a name="id679881"></a>
<a name="id2814341"></a>
<a href="mk_fused.html#fusion.functional.generation.metafunctions.mk_fused.header">Header</a>
</h6>
<pre class="programlisting">
@@ -46,7 +43,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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">&gt;</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_fused.synopsis"></a><h6>
<a name="id680052"></a>
<a name="id2814494"></a>
<a href="mk_fused.html#fusion.functional.generation.metafunctions.mk_fused.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -60,12 +57,11 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_fused.see_also"></a><h6>
<a name="id680186"></a>
<a name="id2814613"></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"><tt class="computeroutput"><span class="identifier">make_fused</span></tt></a></li></ul></div>
<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>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_fused_function_object</title>
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="mk_fused_proc.html" title="
make_fused_procedure">
<link rel="next" href="mk_unfused_genrc.html" title="
make_unfused_generic">
<link rel="prev" href="mk_fused_proc.html" title="make_fused_procedure">
<link rel="next" href="mk_unfused_genrc.html" title="make_unfused_generic">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,19 +24,18 @@
</div>
<div class="section" lang="en">
<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>
<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>
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.description"></a><h6>
<a name="id680688"></a>
<a name="id2815056"></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"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a>.
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>.
</p>
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.header"></a><h6>
<a name="id680739"></a>
<a name="id2815100"></a>
<a href="mk_fused_fobj.html#fusion.functional.generation.metafunctions.mk_fused_fobj.header">Header</a>
</h6>
<pre class="programlisting">
@@ -47,7 +43,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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">&gt;</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.synopsis"></a><h6>
<a name="id680910"></a>
<a name="id2815253"></a>
<a href="mk_fused_fobj.html#fusion.functional.generation.metafunctions.mk_fused_fobj.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -61,12 +57,11 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_fused_fobj.see_also"></a><h6>
<a name="id681044"></a>
<a name="id2815372"></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"><tt class="computeroutput"><span class="identifier">make_fused_function_object</span></tt></a></li></ul></div>
<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>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_fused_procedure</title>
<title>make_fused_procedure</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="mk_fused.html" title="
make_fused">
<link rel="next" href="mk_fused_fobj.html" title="
make_fused_function_object">
<link rel="prev" href="mk_fused.html" title="make_fused">
<link rel="next" href="mk_fused_fobj.html" title="make_fused_function_object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,19 +24,18 @@
</div>
<div class="section" lang="en">
<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>
<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>
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.description"></a><h6>
<a name="id680259"></a>
<a name="id2814677"></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"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a>.
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>.
</p>
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.header"></a><h6>
<a name="id680309"></a>
<a name="id2814720"></a>
<a href="mk_fused_proc.html#fusion.functional.generation.metafunctions.mk_fused_proc.header">Header</a>
</h6>
<pre class="programlisting">
@@ -47,7 +43,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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">&gt;</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.synopsis"></a><h6>
<a name="id680481"></a>
<a name="id2814873"></a>
<a href="mk_fused_proc.html#fusion.functional.generation.metafunctions.mk_fused_proc.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -61,12 +57,11 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_fused_proc.see_also"></a><h6>
<a name="id680616"></a>
<a name="id2814994"></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"><tt class="computeroutput"><span class="identifier">make_fused_procedure</span></tt></a></li></ul></div>
<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>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_unfused_generic</title>
<title>make_unfused_generic</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="mk_fused_fobj.html" title="
make_fused_function_object">
<link rel="next" href="mk_unfused_lvargs.html" title="
make_unfused_lvalue_args">
<link rel="prev" href="mk_fused_fobj.html" title="make_fused_function_object">
<link rel="next" href="mk_unfused_lvargs.html" title="make_unfused_lvalue_args">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,19 +24,18 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.functional.generation.metafunctions.mk_unfused_genrc"></a><a href="mk_unfused_genrc.html" title="
make_unfused_generic">
make_unfused_generic</a></h5></div></div></div>
<a name="fusion.functional.generation.metafunctions.mk_unfused_genrc"></a><a href="mk_unfused_genrc.html" title="make_unfused_generic">
make_unfused_generic</a>
</h5></div></div></div>
<a name="fusion.functional.generation.metafunctions.mk_unfused_genrc.description"></a><h6>
<a name="id681118"></a>
<a name="id2815436"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.metafunctions.mk_unfused_genrc.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/mk_unfused_genrc.html" title="
make_unfused_generic"><tt class="computeroutput"><span class="identifier">make_unfused_generic</span></tt></a>.
Returns the result type of <a href="../functions/mk_unfused_genrc.html" title="make_unfused_generic"><code class="computeroutput"><span class="identifier">make_unfused_generic</span></code></a>.
</p>
<a name="fusion.functional.generation.metafunctions.mk_unfused_genrc.header"></a><h6>
<a name="id681169"></a>
<a name="id2815480"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.metafunctions.mk_unfused_genrc.header">Header</a>
</h6>
<pre class="programlisting">
@@ -47,7 +43,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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_generic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_unfused_genrc.synopsis"></a><h6>
<a name="id681342"></a>
<a name="id2815634"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.metafunctions.mk_unfused_genrc.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -61,12 +57,11 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_unfused_genrc.see_also"></a><h6>
<a name="id681477"></a>
<a name="id2815754"></a>
<a href="mk_unfused_genrc.html#fusion.functional.generation.metafunctions.mk_unfused_genrc.see_also">See
also</a>
</h6>
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_unfused_genrc.html" title="
make_unfused_generic"><tt class="computeroutput"><span class="identifier">make_unfused_generic</span></tt></a></li></ul></div>
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_unfused_genrc.html" title="make_unfused_generic"><code class="computeroutput"><span class="identifier">make_unfused_generic</span></code></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>
@@ -1,24 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_unfused_lvalue_args</title>
<title>make_unfused_lvalue_args</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="mk_unfused_genrc.html" title="
make_unfused_generic">
<link rel="next" href="mk_unfused_rvargs.html" title="
make_unfused_rvalue_args">
<link rel="prev" href="mk_unfused_genrc.html" title="make_unfused_generic">
<link rel="next" href="mk_unfused_rvargs.html" title="make_unfused_rvalue_args">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -27,19 +24,18 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.functional.generation.metafunctions.mk_unfused_lvargs"></a><a href="mk_unfused_lvargs.html" title="
make_unfused_lvalue_args">
make_unfused_lvalue_args</a></h5></div></div></div>
<a name="fusion.functional.generation.metafunctions.mk_unfused_lvargs"></a><a href="mk_unfused_lvargs.html" title="make_unfused_lvalue_args">
make_unfused_lvalue_args</a>
</h5></div></div></div>
<a name="fusion.functional.generation.metafunctions.mk_unfused_lvargs.description"></a><h6>
<a name="id681549"></a>
<a name="id2815818"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.metafunctions.mk_unfused_lvargs.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/mk_unfused_lvargs.html" title="
make_unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></tt></a>.
Returns the result type of <a href="../functions/mk_unfused_lvargs.html" title="make_unfused_lvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></code></a>.
</p>
<a name="fusion.functional.generation.metafunctions.mk_unfused_lvargs.header"></a><h6>
<a name="id681600"></a>
<a name="id2815862"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.metafunctions.mk_unfused_lvargs.header">Header</a>
</h6>
<pre class="programlisting">
@@ -47,7 +43,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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_lvalue_args</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_unfused_lvargs.synopsis"></a><h6>
<a name="id681771"></a>
<a name="id2816015"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.metafunctions.mk_unfused_lvargs.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -61,12 +57,11 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_unfused_lvargs.see_also"></a><h6>
<a name="id681906"></a>
<a name="id2816135"></a>
<a href="mk_unfused_lvargs.html#fusion.functional.generation.metafunctions.mk_unfused_lvargs.see_also">See
also</a>
</h6>
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_unfused_lvargs.html" title="
make_unfused_lvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></tt></a></li></ul></div>
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_unfused_lvargs.html" title="make_unfused_lvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_lvalue_args</span></code></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>
@@ -1,14 +1,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
make_unfused_rvalue_args</title>
<title>make_unfused_rvalue_args</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="mk_unfused_lvargs.html" title="
make_unfused_lvalue_args">
<link rel="prev" href="mk_unfused_lvargs.html" title="make_unfused_lvalue_args">
<link rel="next" href="../../../notes.html" title="Notes">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -16,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,19 +24,18 @@
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.functional.generation.metafunctions.mk_unfused_rvargs"></a><a href="mk_unfused_rvargs.html" title="
make_unfused_rvalue_args">
make_unfused_rvalue_args</a></h5></div></div></div>
<a name="fusion.functional.generation.metafunctions.mk_unfused_rvargs"></a><a href="mk_unfused_rvargs.html" title="make_unfused_rvalue_args">
make_unfused_rvalue_args</a>
</h5></div></div></div>
<a name="fusion.functional.generation.metafunctions.mk_unfused_rvargs.description"></a><h6>
<a name="id681981"></a>
<a name="id2816200"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.metafunctions.mk_unfused_rvargs.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/mk_unfused_rvargs.html" title="
make_unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></tt></a>.
Returns the result type of <a href="../functions/mk_unfused_rvargs.html" title="make_unfused_rvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></code></a>.
</p>
<a name="fusion.functional.generation.metafunctions.mk_unfused_rvargs.header"></a><h6>
<a name="id682032"></a>
<a name="id2816243"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.metafunctions.mk_unfused_rvargs.header">Header</a>
</h6>
<pre class="programlisting">
@@ -46,7 +43,7 @@
<span class="preprocessor">#include</span> <span class="special">&lt;</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_rvalue_args</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_unfused_rvargs.synopsis"></a><h6>
<a name="id682203"></a>
<a name="id2816396"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.metafunctions.mk_unfused_rvargs.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -60,12 +57,11 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.generation.metafunctions.mk_unfused_rvargs.see_also"></a><h6>
<a name="id682338"></a>
<a name="id2816516"></a>
<a href="mk_unfused_rvargs.html#fusion.functional.generation.metafunctions.mk_unfused_rvargs.see_also">See
also</a>
</h6>
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_unfused_rvargs.html" title="
make_unfused_rvalue_args"><tt class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></tt></a></li></ul></div>
<div class="itemizedlist"><ul type="disc"><li><a href="../functions/mk_unfused_rvargs.html" title="make_unfused_rvalue_args"><code class="computeroutput"><span class="identifier">make_unfused_rvalue_args</span></code></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>
+6 -6
View File
@@ -3,11 +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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functional.html" title="Functional">
<link rel="prev" href="concepts/poly.html" title=" Polymorphic Function
Object">
<link rel="prev" href="concepts/poly.html" title="Polymorphic Function Object">
<link rel="next" href="invocation/functions.html" title="Functions">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -15,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -25,7 +24,8 @@
</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>
<a name="fusion.functional.invocation"></a><a href="invocation.html" title="Invocation">Invocation</a>
</h3></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,7 +3,7 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../invocation.html" title="Invocation">
<link rel="prev" href="../invocation.html" title="Invocation">
@@ -14,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -24,7 +24,8 @@
</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>
<a name="fusion.functional.invocation.functions"></a><a href="functions.html" title="Functions">Functions</a>
</h4></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,20 +3,19 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="../functions.html" title="Functions">
<link rel="next" href="invoke_proc.html" title="
invoke_procedure">
<link rel="next" href="invoke_proc.html" title="invoke_procedure">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -25,14 +24,14 @@
</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>
<a name="fusion.functional.invocation.functions.invoke"></a><a href="invoke.html" title="invoke">invoke</a>
</h5></div></div></div>
<a name="fusion.functional.invocation.functions.invoke.description"></a><h6>
<a name="id654760"></a>
<a name="id2791852"></a>
<a href="invoke.html#fusion.functional.invocation.functions.invoke.description">Description</a>
</h6>
<p>
Calls a <a href="../../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred
Calls a <a href="../../concepts/def_callable.html" title="Deferred Callable Object">Deferred
Callable Object</a> with the arguments from a <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<p>
@@ -42,12 +41,12 @@
<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 <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>).
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>).
</p>
<a name="fusion.functional.invocation.functions.invoke.synopsis"></a><h6>
<a name="id654863"></a>
<a name="id2791944"></a>
<a href="invoke.html#fusion.functional.invocation.functions.invoke.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -55,18 +54,18 @@
<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">&gt;</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&gt;::</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">&amp;</span> <span class="identifier">s</span><span class="special">);</span>
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</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">&amp;</span> <span class="identifier">s</span><span class="special">);</span>
</pre>
<a name="fusion.functional.invocation.functions.invoke.parameters"></a><h6>
<a name="id655240"></a>
<a name="id2792282"></a>
<a href="invoke.html#fusion.functional.invocation.functions.invoke.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -96,13 +95,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
A <a href="../../concepts/def_callable.html" title=" Deferred
Callable Object">Deferred
A <a href="../../concepts/def_callable.html" title="Deferred Callable Object">Deferred
Callable Object</a>
</p>
</td>
@@ -115,13 +113,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">s</span></tt>
<code class="computeroutput"><span class="identifier">s</span></code>
</p>
</td>
<td>
<p>
A <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward
A <a href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>
</p>
</td>
@@ -134,7 +131,7 @@
</tbody>
</table></div>
<a name="fusion.functional.invocation.functions.invoke.expression_semantics"></a><h6>
<a name="id655402"></a>
<a name="id2792426"></a>
<a href="invoke.html#fusion.functional.invocation.functions.invoke.expression_semantics">Expression
Semantics</a>
</h6>
@@ -142,37 +139,35 @@
<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"><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.
<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.
</p>
<p>
<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>
<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>
as arguments and returns the result of the call expression.
</p>
<p>
/functional/invocation/invoke.hpp&gt;
</p>
<a name="fusion.functional.invocation.functions.invoke.example"></a><h6>
<a name="id655545"></a>
<a name="id2792552"></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"><tt class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">plus</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</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>
<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">&lt;</span><span class="keyword">int</span><span class="special">&gt;</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>
<a name="fusion.functional.invocation.functions.invoke.see_also"></a><h6>
<a name="id655713"></a>
<a name="id2792704"></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"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a></li>
<li><a href="invoke_fobj.html" title="
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="invoke_proc.html" title="invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,14 +1,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
invoke_function_object</title>
<title>invoke_function_object</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="invoke_proc.html" title="
invoke_procedure">
<link rel="prev" href="invoke_proc.html" title="invoke_procedure">
<link rel="next" href="../metafunctions.html" title="Metafunctions">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -16,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,16 +24,15 @@
</div>
<div class="section" lang="en">
<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>
<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>
<a name="fusion.functional.invocation.functions.invoke_fobj.description"></a><h6>
<a name="id657033"></a>
<a name="id2793878"></a>
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.description">Description</a>
</h6>
<p>
Calls a <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic Function
Calls a <a href="../../concepts/poly.html" title="Polymorphic Function Object">Polymorphic Function
Object</a> with the arguments from a <a href="../../../sequence.html" title="Sequence">Sequence</a>.
</p>
<p>
@@ -43,7 +40,7 @@
and/or to control the const qualification of a function object.
</p>
<a name="fusion.functional.invocation.functions.invoke_fobj.synopsis"></a><h6>
<a name="id657088"></a>
<a name="id2793926"></a>
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -51,20 +48,18 @@
<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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/invoke_fobj.html" title="
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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&gt;::</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">&amp;</span> <span class="identifier">s</span><span class="special">);</span>
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/invoke_fobj.html" title="
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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</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">&amp;</span> <span class="identifier">s</span><span class="special">);</span>
</pre>
<a name="fusion.functional.invocation.functions.invoke_fobj.parameters"></a><h6>
<a name="id657468"></a>
<a name="id2794266"></a>
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -94,13 +89,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/poly.html" title=" Polymorphic Function
Object">Polymorphic
Model of <a href="../../concepts/poly.html" title="Polymorphic Function Object">Polymorphic
Function Object</a>
</p>
</td>
@@ -113,13 +107,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">s</span></tt>
<code class="computeroutput"><span class="identifier">s</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward
Model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>
</p>
</td>
@@ -132,7 +125,7 @@
</tbody>
</table></div>
<a name="fusion.functional.invocation.functions.invoke_fobj.expression_semantics"></a><h6>
<a name="id657629"></a>
<a name="id2794410"></a>
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.expression_semantics">Expression
Semantics</a>
</h6>
@@ -140,19 +133,19 @@
<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"><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.
<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.
</p>
<p>
<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>
<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>
as arguments and returns the result of the call expression.
</p>
<p>
/functional/invocation/invoke_function_object.hpp&gt;
</p>
<a name="fusion.functional.invocation.functions.invoke_fobj.example"></a><h6>
<a name="id657772"></a>
<a name="id2794538"></a>
<a href="invoke_fobj.html#fusion.functional.invocation.functions.invoke_fobj.example">Example</a>
</h6>
<pre class="programlisting">
@@ -175,21 +168,19 @@
<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"><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="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="special">}</span>
</pre>
<a name="fusion.functional.invocation.functions.invoke_fobj.see_also"></a><h6>
<a name="id658322"></a>
<a name="id2795031"></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"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a></li>
<li><a href="invoke_proc.html" title="
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"><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="invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></a></li>
<li><a href="invoke_proc.html" title="invoke_procedure"><code class="computeroutput"><span class="identifier">invoke_procedure</span></code></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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,23 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
invoke_procedure</title>
<title>invoke_procedure</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../functions.html" title="Functions">
<link rel="prev" href="invoke.html" title="invoke">
<link rel="next" href="invoke_fobj.html" title="
invoke_function_object">
<link rel="next" href="invoke_fobj.html" title="invoke_function_object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,15 +24,15 @@
</div>
<div class="section" lang="en">
<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>
<a name="fusion.functional.invocation.functions.invoke_proc"></a><a href="invoke_proc.html" title="invoke_procedure">
invoke_procedure</a>
</h5></div></div></div>
<a name="fusion.functional.invocation.functions.invoke_proc.description"></a><h6>
<a name="id655866"></a>
<a name="id2792837"></a>
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.description">Description</a>
</h6>
<p>
Calls a <a href="../../concepts/callable.html" title=" Callable Object">Callable
Calls a <a href="../../concepts/callable.html" title="Callable Object">Callable
Object</a> with the arguments from a <a href="../../../sequence.html" title="Sequence">Sequence</a>.
The result of the call is ignored.
</p>
@@ -45,8 +43,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
<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>).
<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>).
</p>
<p>
The target function must not be a pointer to a member object (dereferencing
@@ -54,7 +52,7 @@
isn't implemented).
</p>
<a name="fusion.functional.invocation.functions.invoke_proc.synopsis"></a><h6>
<a name="id655976"></a>
<a name="id2792936"></a>
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -62,20 +60,18 @@
<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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/invoke_proc.html" title="
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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&gt;::</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">&amp;</span> <span class="identifier">s</span><span class="special">);</span>
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
<span class="keyword">typename</span> <a href="../metafunctions/invoke_proc.html" title="
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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</span><span class="identifier">type</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">&lt;</span><span class="identifier">Function</span><span class="special">,</span> <span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&gt;::</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">&amp;</span> <span class="identifier">s</span><span class="special">);</span>
</pre>
<a name="fusion.functional.invocation.functions.invoke_proc.parameters"></a><h6>
<a name="id656356"></a>
<a name="id2793274"></a>
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -105,12 +101,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">f</span></tt>
<code class="computeroutput"><span class="identifier">f</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../concepts/callable.html" title=" Callable Object">Callable
Model of <a href="../../concepts/callable.html" title="Callable Object">Callable
Object</a>
</p>
</td>
@@ -123,13 +119,12 @@
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">s</span></tt>
<code class="computeroutput"><span class="identifier">s</span></code>
</p>
</td>
<td>
<p>
Model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward
Model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>
</p>
</td>
@@ -142,7 +137,7 @@
</tbody>
</table></div>
<a name="fusion.functional.invocation.functions.invoke_proc.expression_semantics"></a><h6>
<a name="id656515"></a>
<a name="id2793416"></a>
<a href="invoke_proc.html#fusion.functional.invocation.functions.invoke_proc.expression_semantics">Expression
Semantics</a>
</h6>
@@ -150,38 +145,36 @@
<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"><b>Return type</b></span>: <tt class="computeroutput"><span class="keyword">void</span></tt>
<span class="bold"><strong>Return type</strong></span>: <code class="computeroutput"><span class="keyword">void</span></code>
</p>
<p>
<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>
<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>
as arguments.
</p>
<p>
/functional/invocation/invoke_procedure.hpp&gt;
</p>
<a name="fusion.functional.invocation.functions.invoke_proc.example"></a><h6>
<a name="id656643"></a>
<a name="id2793529"></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"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</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>
<a href="../../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&gt;</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"><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>
<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>
</pre>
<a name="fusion.functional.invocation.functions.invoke_proc.see_also"></a><h6>
<a name="id656883"></a>
<a name="id2793746"></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"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a></li>
<li><a href="invoke_fobj.html" title="
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"><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="invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></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_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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -3,11 +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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../invocation.html" title="Invocation">
<link rel="prev" href="functions/invoke_fobj.html" title="
invoke_function_object">
<link rel="prev" href="functions/invoke_fobj.html" title="invoke_function_object">
<link rel="next" href="metafunctions/invoke.html" title="invoke">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@@ -15,8 +14,8 @@
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -25,7 +24,8 @@
</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>
<a name="fusion.functional.invocation.metafunctions"></a><a href="metafunctions.html" title="Metafunctions">Metafunctions</a>
</h4></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,20 +3,19 @@
<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.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="../metafunctions.html" title="Metafunctions">
<link rel="next" href="invoke_proc.html" title="
invoke_procedure">
<link rel="next" href="invoke_proc.html" title="invoke_procedure">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -25,16 +24,17 @@
</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>
<a name="fusion.functional.invocation.metafunctions.invoke"></a><a href="invoke.html" title="invoke">invoke</a>
</h5></div></div></div>
<a name="fusion.functional.invocation.metafunctions.invoke.description"></a><h6>
<a name="id658494"></a>
<a name="id2795184"></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"><tt class="computeroutput"><span class="identifier">invoke</span></tt></a>.
Returns the result type of <a href="../functions/invoke.html" title="invoke"><code class="computeroutput"><span class="identifier">invoke</span></code></a>.
</p>
<a name="fusion.functional.invocation.metafunctions.invoke.synopsis"></a><h6>
<a name="id658543"></a>
<a name="id2795226"></a>
<a href="invoke.html#fusion.functional.invocation.metafunctions.invoke.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -51,13 +51,13 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.invocation.metafunctions.invoke.see_also"></a><h6>
<a name="id658697"></a>
<a name="id2795363"></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"><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>
<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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,23 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
invoke_function_object</title>
<title>invoke_function_object</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="invoke_proc.html" title="
invoke_procedure">
<link rel="next" href="../../adapters.html" title=" Adapters">
<link rel="prev" href="invoke_proc.html" title="invoke_procedure">
<link rel="next" href="../../adapters.html" title="Adapters">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,19 +24,18 @@
</div>
<div class="section" lang="en">
<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>
<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>
<a name="fusion.functional.invocation.metafunctions.invoke_fobj.description"></a><h6>
<a name="id659087"></a>
<a name="id2795707"></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"><tt class="computeroutput"><span class="identifier">invoke_function_object</span></tt></a>.
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>.
</p>
<a name="fusion.functional.invocation.metafunctions.invoke_fobj.synopsis"></a><h6>
<a name="id659138"></a>
<a name="id2795751"></a>
<a href="invoke_fobj.html#fusion.functional.invocation.metafunctions.invoke_fobj.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -55,14 +52,13 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.invocation.metafunctions.invoke_fobj.see_also"></a><h6>
<a name="id659293"></a>
<a name="id2795889"></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"><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>
<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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
@@ -1,23 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
invoke_procedure</title>
<title>invoke_procedure</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="invoke.html" title="invoke">
<link rel="next" href="invoke_fobj.html" title="
invoke_function_object">
<link rel="next" href="invoke_fobj.html" title="invoke_function_object">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../../index.htm">Home</a></td>
<td align="center"><a href="../../../../../../../libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../../../../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../../../../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="http://beta.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://beta.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
@@ -26,19 +24,18 @@
</div>
<div class="section" lang="en">
<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>
<a name="fusion.functional.invocation.metafunctions.invoke_proc"></a><a href="invoke_proc.html" title="invoke_procedure">
invoke_procedure</a>
</h5></div></div></div>
<a name="fusion.functional.invocation.metafunctions.invoke_proc.description"></a><h6>
<a name="id658790"></a>
<a name="id2795445"></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"><tt class="computeroutput"><span class="identifier">invoke_procedure</span></tt></a>.
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>.
</p>
<a name="fusion.functional.invocation.metafunctions.invoke_proc.synopsis"></a><h6>
<a name="id658841"></a>
<a name="id2795488"></a>
<a href="invoke_proc.html#fusion.functional.invocation.metafunctions.invoke_proc.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -55,14 +52,13 @@
<span class="special">}</span>
</pre>
<a name="fusion.functional.invocation.metafunctions.invoke_proc.see_also"></a><h6>
<a name="id658994"></a>
<a name="id2795625"></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"><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>
<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>
</ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>