forked from boostorg/fusion
some updates
[SVN r36555]
This commit is contained in:
@ -39,7 +39,7 @@ sequence type.
|
||||
|
||||
[section Concepts]
|
||||
|
||||
[section Polymorphic Function Object]
|
||||
[section:poly Polymorphic Function Object]
|
||||
|
||||
[heading Description]
|
||||
|
||||
|
@ -174,7 +174,7 @@
|
||||
|
||||
[def __algorithm__ [link fusion.algorithms Algorithm]]
|
||||
[def __algorithms__ [link fusion.algorithms Algorithms]]
|
||||
[def __poly_func_obj__ [link fusion.algorithms.concepts.polymorphic_function_object Polymorphic Function Object]]
|
||||
[def __poly_func_obj__ [link fusion.algorithms.concepts.poly Polymorphic Function Object]]
|
||||
[def __fold__ [link fusion.algorithms.iteration.functions.fold `fold`]]
|
||||
[def __result_of_fold__ [link fusion.algorithms.iteration.metafunctions.fold `result_of::fold`]]
|
||||
[def __accumulate__ [link fusion.algorithms.iteration.functions.accumulate `accumulate`]]
|
||||
|
@ -33,7 +33,7 @@
|
||||
<dt><span class="section"><a href="algorithms/transformation.html">Transformation</a></span></dt>
|
||||
</dl></div>
|
||||
<a name="fusion.algorithms.lazy_evaluation"></a><h3>
|
||||
<a name="id551114"></a>
|
||||
<a name="id550884"></a>
|
||||
<a href="algorithms.html#fusion.algorithms.lazy_evaluation">Lazy Evaluation</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -56,7 +56,7 @@
|
||||
as we want without incurring a high runtime penalty.
|
||||
</p>
|
||||
<a name="fusion.algorithms.sequence_extension"></a><h3>
|
||||
<a name="id551254"></a>
|
||||
<a name="id551024"></a>
|
||||
<a href="algorithms.html#fusion.algorithms.sequence_extension">Sequence Extension</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -79,7 +79,7 @@
|
||||
functions to convert back to the original sequence type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.header"></a><h3>
|
||||
<a name="id551465"></a>
|
||||
<a name="id551235"></a>
|
||||
<a href="algorithms.html#fusion.algorithms.header">Header</a>
|
||||
</h3>
|
||||
<pre class="programlisting">
|
||||
|
@ -7,8 +7,8 @@
|
||||
<link rel="start" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../algorithms.html" title="Algorithms">
|
||||
<link rel="prev" href="../algorithms.html" title="Algorithms">
|
||||
<link rel="next" href="concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">
|
||||
<link rel="next" href="concepts/poly.html" title=" Polymorphic Function
|
||||
Object">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%">
|
||||
@ -21,13 +21,13 @@
|
||||
</table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../algorithms.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="concepts/polymorphic_function_object.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="../algorithms.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="concepts/poly.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.algorithms.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/polymorphic_function_object.html">Polymorphic
|
||||
Function Object</a></span></dt></dl></div>
|
||||
<div class="toc"><dl><dt><span class="section"><a href="concepts/poly.html"> Polymorphic Function
|
||||
Object</a></span></dt></dl></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
@ -35,7 +35,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../algorithms.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="concepts/polymorphic_function_object.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="../algorithms.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="concepts/poly.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<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="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
@ -25,12 +25,12 @@
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.algorithms.concepts.polymorphic_function_object"></a><a href="polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
Function Object</a></h4></div></div></div>
|
||||
<a name="fusion.algorithms.concepts.polymorphic_function_object.description"></a><h5>
|
||||
<a name="id551590"></a>
|
||||
<a href="polymorphic_function_object.html#fusion.algorithms.concepts.polymorphic_function_object.description">Description</a>
|
||||
<a name="fusion.algorithms.concepts.poly"></a><a href="poly.html" title=" Polymorphic Function
|
||||
Object"> Polymorphic Function
|
||||
Object</a></h4></div></div></div>
|
||||
<a name="fusion.algorithms.concepts.poly.description"></a><h5>
|
||||
<a name="id551356"></a>
|
||||
<a href="poly.html#fusion.algorithms.concepts.poly.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
A type of function object with a nested metafunction <tt class="computeroutput"><span class="identifier">result</span></tt>.
|
||||
@ -60,17 +60,17 @@
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.algorithms.concepts.polymorphic_function_object.refinement_of"></a><h5>
|
||||
<a name="id551767"></a>
|
||||
<a href="polymorphic_function_object.html#fusion.algorithms.concepts.polymorphic_function_object.refinement_of">Refinement
|
||||
<a name="fusion.algorithms.concepts.poly.refinement_of"></a><h5>
|
||||
<a name="id551531"></a>
|
||||
<a href="poly.html#fusion.algorithms.concepts.poly.refinement_of">Refinement
|
||||
of</a>
|
||||
</h5>
|
||||
<p>
|
||||
MPL Metafunction Class
|
||||
</p>
|
||||
<a name="fusion.algorithms.concepts.polymorphic_function_object.expression_requirements"></a><h5>
|
||||
<a name="id551800"></a>
|
||||
<a href="polymorphic_function_object.html#fusion.algorithms.concepts.polymorphic_function_object.expression_requirements">Expression
|
||||
<a name="fusion.algorithms.concepts.poly.expression_requirements"></a><h5>
|
||||
<a name="id551562"></a>
|
||||
<a href="poly.html#fusion.algorithms.concepts.poly.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h5>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -86,8 +86,8 @@
|
||||
Complexity</th>
|
||||
</tr></thead>
|
||||
<tbody><tr>
|
||||
<td><tt class="computeroutput"><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></tt></td>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span><span class="special">::</span><span class="identifier">result</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="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><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></tt></td>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span><span class="special">::</span><span class="identifier">result</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="identifier">type</span></tt></td>
|
||||
<td>Unspecified</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
@ -6,8 +6,8 @@
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
|
||||
<link rel="start" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../algorithms.html" title="Algorithms">
|
||||
<link rel="prev" href="concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">
|
||||
<link rel="prev" href="concepts/poly.html" title=" Polymorphic Function
|
||||
Object">
|
||||
<link rel="next" href="iteration/functions.html" title="Functions">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -21,7 +21,7 @@
|
||||
</table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="concepts/polymorphic_function_object.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="iteration/functions.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="concepts/poly.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="iteration/functions.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
@ -35,7 +35,7 @@
|
||||
a sequence repeatedly applying an operation to its elements.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.header"></a><h4>
|
||||
<a name="id551991"></a>
|
||||
<a name="id551752"></a>
|
||||
<a href="iteration.html#fusion.algorithms.iteration.header">Header</a>
|
||||
</h4>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="concepts/polymorphic_function_object.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="iteration/functions.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="concepts/poly.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../algorithms.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="iteration/functions.html"><img src="../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -26,18 +26,18 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.iteration.functions.accumulate"></a><a href="accumulate.html" title="accumulate">accumulate</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.iteration.functions.accumulate.description"></a><h6>
|
||||
<a name="id553582"></a>
|
||||
<a name="id553338"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Repeatedly applies binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
Function Object</a><EFBFBD><tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
Repeatedly applies binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> <tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
to each element of a sequence and the previous state. <a href="accumulate.html" title="accumulate"><tt class="computeroutput"><span class="identifier">accumulate</span></tt></a> is equivalent to
|
||||
<a href="fold.html" title="fold"><tt class="computeroutput"><span class="identifier">fold</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.accumulate.synopsis"></a><h6>
|
||||
<a name="id553666"></a>
|
||||
<a name="id553423"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -50,7 +50,7 @@
|
||||
<span class="identifier">Sequence</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">State</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id553926"></a><p class="title"><b>Table<EFBFBD>1.33.<2E>Parameters</b></p>
|
||||
<a name="id553682"></a><p class="title"><b>Table<EFBFBD>1.33.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -68,7 +68,7 @@
|
||||
<td>A
|
||||
model of <a href="../../../sequences/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>, <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span><EFBFBD><span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt> must be a valid expression for
|
||||
Sequence</a>, <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span> <span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt> must be a valid expression for
|
||||
each element <tt class="computeroutput"><span class="identifier">e1</span></tt> to
|
||||
<tt class="computeroutput"><span class="identifier">eN</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>
|
||||
</td>
|
||||
@ -83,8 +83,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">f</span></tt></td>
|
||||
<td>A
|
||||
model of binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>Operation's argument</td>
|
||||
@ -93,7 +93,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.iteration.functions.accumulate.expression_semantics"></a><h6>
|
||||
<a name="id554157"></a>
|
||||
<a name="id553914"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -104,25 +104,25 @@
|
||||
<span class="bold"><b>Return type</b></span>: Any type
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span><EFBFBD><span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt>
|
||||
where <tt class="computeroutput"><span class="identifier">e1</span><EFBFBD><span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
<span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span> <span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt>
|
||||
where <tt class="computeroutput"><span class="identifier">e1</span> <span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.accumulate.complexity"></a><h6>
|
||||
<a name="id554363"></a>
|
||||
<a name="id554119"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear, exactly <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.accumulate.header"></a><h6>
|
||||
<a name="id554455"></a>
|
||||
<a name="id554211"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">accumulate</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.iteration.functions.accumulate.example"></a><h6>
|
||||
<a name="id554561"></a>
|
||||
<a name="id554317"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.functions.accumulate.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,17 +26,17 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.iteration.functions.fold"></a><a href="fold.html" title="fold">fold</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.iteration.functions.fold.description"></a><h6>
|
||||
<a name="id552127"></a>
|
||||
<a name="id551887"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.functions.fold.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Repeatedly applies binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
Function Object</a><EFBFBD><tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
Repeatedly applies binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> <tt class="computeroutput"><span class="identifier">f</span></tt>
|
||||
to each element of a sequence and the previous state.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.fold.synopsis"></a><h6>
|
||||
<a name="id552177"></a>
|
||||
<a name="id551935"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.functions.fold.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="identifier">Sequence</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">State</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">initial_state</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id552435"></a><p class="title"><b>Table<EFBFBD>1.32.<2E>Parameters</b></p>
|
||||
<a name="id552194"></a><p class="title"><b>Table<EFBFBD>1.32.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -81,8 +81,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">f</span></tt></td>
|
||||
<td>A
|
||||
model of binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>Operation's argument</td>
|
||||
@ -91,7 +91,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.iteration.functions.fold.expression_semantics"></a><h6>
|
||||
<a name="id552604"></a>
|
||||
<a name="id552362"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.functions.fold.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -102,25 +102,25 @@
|
||||
<span class="bold"><b>Return type</b></span>: Any type
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span><EFBFBD><span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt>
|
||||
where <tt class="computeroutput"><span class="identifier">e1</span><EFBFBD><span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
<span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">eN</span> <span class="special">....</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e2</span><span class="special">,</span><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><span class="identifier">initial_state</span><span class="special">)))</span></tt>
|
||||
where <tt class="computeroutput"><span class="identifier">e1</span> <span class="special">...</span><span class="identifier">eN</span></tt> are the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.fold.complexity"></a><h6>
|
||||
<a name="id552808"></a>
|
||||
<a name="id552566"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.functions.fold.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear, exactly <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.fold.header"></a><h6>
|
||||
<a name="id552900"></a>
|
||||
<a name="id552657"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.functions.fold.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">fold</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.iteration.functions.fold.example"></a><h6>
|
||||
<a name="id553006"></a>
|
||||
<a name="id552763"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.functions.fold.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.iteration.functions.for_each"></a><a href="for_each.html" title="for_each">for_each</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.iteration.functions.for_each.description"></a><h6>
|
||||
<a name="id555134"></a>
|
||||
<a name="id554889"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.functions.for_each.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Applies a unary function object to each element of a sequence.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.for_each.synopsis"></a><h6>
|
||||
<a name="id555166"></a>
|
||||
<a name="id554921"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.functions.for_each.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="identifier">Sequence</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id555367"></a><p class="title"><b>Table<EFBFBD>1.34.<2E>Parameters</b></p>
|
||||
<a name="id555122"></a><p class="title"><b>Table<EFBFBD>1.34.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -78,7 +78,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.iteration.functions.for_each.expression_semantics"></a><h6>
|
||||
<a name="id555507"></a>
|
||||
<a name="id555262"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.functions.for_each.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -93,21 +93,21 @@
|
||||
in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.for_each.complexity"></a><h6>
|
||||
<a name="id555658"></a>
|
||||
<a name="id555413"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.functions.for_each.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear, exactly <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">f</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.functions.for_each.header"></a><h6>
|
||||
<a name="id555750"></a>
|
||||
<a name="id555505"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.functions.for_each.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">iteration</span><span class="special">/</span><span class="identifier">for_each</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.iteration.functions.for_each.example"></a><h6>
|
||||
<a name="id555856"></a>
|
||||
<a name="id555611"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.functions.for_each.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.iteration.metafunctions.accumulate"></a><a href="accumulate.html" title="accumulate">accumulate</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.accumulate.description"></a><h6>
|
||||
<a name="id556948"></a>
|
||||
<a name="id556702"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.metafunctions.accumulate.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/accumulate.html" title="accumulate"><tt class="computeroutput"><span class="identifier">accumulate</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.accumulate.synopsis"></a><h6>
|
||||
<a name="id556997"></a>
|
||||
<a name="id556750"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.metafunctions.accumulate.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id557132"></a><p class="title"><b>Table<EFBFBD>1.36.<2E>Parameters</b></p>
|
||||
<a name="id556885"></a><p class="title"><b>Table<EFBFBD>1.36.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,8 +80,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span></tt></td>
|
||||
<td>A
|
||||
model of binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>The operation to be applied
|
||||
@ -91,7 +91,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.accumulate.expression_semantics"></a><h6>
|
||||
<a name="id557267"></a>
|
||||
<a name="id557020"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.metafunctions.accumulate.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -106,19 +106,19 @@
|
||||
<tt class="computeroutput"><span class="identifier">accumulate</span></tt> to a sequence
|
||||
of type <tt class="computeroutput"><span class="identifier">Sequence</span></tt>, with
|
||||
an initial state of type <tt class="computeroutput"><span class="identifier">State</span></tt>
|
||||
and binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
and binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.accumulate.complexity"></a><h6>
|
||||
<a name="id557445"></a>
|
||||
<a name="id557198"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.metafunctions.accumulate.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear, exactly <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.accumulate.header"></a><h6>
|
||||
<a name="id557538"></a>
|
||||
<a name="id557290"></a>
|
||||
<a href="accumulate.html#fusion.algorithms.iteration.metafunctions.accumulate.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.iteration.metafunctions.fold"></a><a href="fold.html" title="fold">fold</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.fold.description"></a><h6>
|
||||
<a name="id556238"></a>
|
||||
<a name="id555993"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.metafunctions.fold.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/fold.html" title="fold"><tt class="computeroutput"><span class="identifier">fold</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.fold.synopsis"></a><h6>
|
||||
<a name="id556286"></a>
|
||||
<a name="id556041"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.metafunctions.fold.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id556420"></a><p class="title"><b>Table<EFBFBD>1.35.<2E>Parameters</b></p>
|
||||
<a name="id556175"></a><p class="title"><b>Table<EFBFBD>1.35.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,8 +80,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span></tt></td>
|
||||
<td>A
|
||||
model of binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>The operation to be applied
|
||||
@ -91,7 +91,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.fold.expression_semantics"></a><h6>
|
||||
<a name="id556554"></a>
|
||||
<a name="id556309"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.metafunctions.fold.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -106,19 +106,19 @@
|
||||
<tt class="computeroutput"><span class="identifier">fold</span></tt> to a sequence of
|
||||
type <tt class="computeroutput"><span class="identifier">Sequence</span></tt>, with an
|
||||
initial state of type <tt class="computeroutput"><span class="identifier">State</span></tt>
|
||||
and binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
and binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.fold.complexity"></a><h6>
|
||||
<a name="id556731"></a>
|
||||
<a name="id556485"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.metafunctions.fold.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear, exactly <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> applications of <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.fold.header"></a><h6>
|
||||
<a name="id556823"></a>
|
||||
<a name="id556576"></a>
|
||||
<a href="fold.html#fusion.algorithms.iteration.metafunctions.fold.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -30,11 +30,11 @@
|
||||
return type of <a href="../functions/for_each.html" title="for_each"><tt class="computeroutput"><span class="identifier">for_each</span></tt></a> is always <tt class="computeroutput"><span class="keyword">void</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.for_each.description"></a><h6>
|
||||
<a name="id557714"></a>
|
||||
<a name="id557466"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.metafunctions.for_each.description">Description</a>
|
||||
</h6>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.for_each.synopsis"></a><h6>
|
||||
<a name="id557741"></a>
|
||||
<a name="id557493"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.metafunctions.for_each.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id557862"></a><p class="title"><b>Table<EFBFBD>1.37.<2E>Parameters</b></p>
|
||||
<a name="id557614"></a><p class="title"><b>Table<EFBFBD>1.37.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.for_each.expression_semantics"></a><h6>
|
||||
<a name="id557958"></a>
|
||||
<a name="id557710"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.metafunctions.for_each.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -98,14 +98,14 @@
|
||||
return type is always <tt class="computeroutput"><span class="keyword">void</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.for_each.complexity"></a><h6>
|
||||
<a name="id558131"></a>
|
||||
<a name="id557883"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.metafunctions.for_each.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.iteration.metafunctions.for_each.header"></a><h6>
|
||||
<a name="id558162"></a>
|
||||
<a name="id557914"></a>
|
||||
<a href="for_each.html#fusion.algorithms.iteration.metafunctions.for_each.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -33,7 +33,7 @@
|
||||
The query algorithms provide support for searching and analyzing sequences.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.header"></a><h4>
|
||||
<a name="id558295"></a>
|
||||
<a name="id558047"></a>
|
||||
<a href="query.html#fusion.algorithms.query.header">Header</a>
|
||||
</h4>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.functions.all"></a><a href="all.html" title="all">all</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.functions.all.description"></a><h6>
|
||||
<a name="id559556"></a>
|
||||
<a name="id559308"></a>
|
||||
<a href="all.html#fusion.algorithms.query.functions.all.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -37,7 +37,7 @@
|
||||
element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.all.synopsis"></a><h6>
|
||||
<a name="id559638"></a>
|
||||
<a name="id559390"></a>
|
||||
<a href="all.html#fusion.algorithms.query.functions.all.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id559830"></a><p class="title"><b>Table<EFBFBD>1.39.<2E>Parameters</b></p>
|
||||
<a name="id559582"></a><p class="title"><b>Table<EFBFBD>1.39.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -84,7 +84,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.functions.all.expression_semantics"></a><h6>
|
||||
<a name="id559980"></a>
|
||||
<a name="id559731"></a>
|
||||
<a href="all.html#fusion.algorithms.query.functions.all.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -101,21 +101,21 @@
|
||||
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.all.complexity"></a><h6>
|
||||
<a name="id560142"></a>
|
||||
<a name="id559894"></a>
|
||||
<a href="all.html#fusion.algorithms.query.functions.all.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.all.header"></a><h6>
|
||||
<a name="id560225"></a>
|
||||
<a name="id559977"></a>
|
||||
<a href="all.html#fusion.algorithms.query.functions.all.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">all</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.query.functions.all.example"></a><h6>
|
||||
<a name="id560329"></a>
|
||||
<a name="id560081"></a>
|
||||
<a href="all.html#fusion.algorithms.query.functions.all.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.functions.any"></a><a href="any.html" title="any">any</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.functions.any.description"></a><h6>
|
||||
<a name="id558430"></a>
|
||||
<a name="id558182"></a>
|
||||
<a href="any.html#fusion.algorithms.query.functions.any.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -37,7 +37,7 @@
|
||||
least one element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.any.synopsis"></a><h6>
|
||||
<a name="id558511"></a>
|
||||
<a name="id558262"></a>
|
||||
<a href="any.html#fusion.algorithms.query.functions.any.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id558703"></a><p class="title"><b>Table<EFBFBD>1.38.<2E>Parameters</b></p>
|
||||
<a name="id558455"></a><p class="title"><b>Table<EFBFBD>1.38.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -84,7 +84,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.functions.any.expression_semantics"></a><h6>
|
||||
<a name="id558854"></a>
|
||||
<a name="id558605"></a>
|
||||
<a href="any.html#fusion.algorithms.query.functions.any.expression_semantics">Expression
|
||||
semantics</a>
|
||||
</h6>
|
||||
@ -101,21 +101,21 @@
|
||||
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.any.complexity"></a><h6>
|
||||
<a name="id559016"></a>
|
||||
<a name="id558768"></a>
|
||||
<a href="any.html#fusion.algorithms.query.functions.any.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.any.header"></a><h6>
|
||||
<a name="id559099"></a>
|
||||
<a name="id558850"></a>
|
||||
<a href="any.html#fusion.algorithms.query.functions.any.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">any</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.query.functions.any.example"></a><h6>
|
||||
<a name="id559203"></a>
|
||||
<a name="id558955"></a>
|
||||
<a href="any.html#fusion.algorithms.query.functions.any.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.functions.count"></a><a href="count.html" title="count">count</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.functions.count.description"></a><h6>
|
||||
<a name="id563965"></a>
|
||||
<a name="id563717"></a>
|
||||
<a href="count.html#fusion.algorithms.query.functions.count.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the number of elements of a given type within a sequence.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.count.synopsis"></a><h6>
|
||||
<a name="id563997"></a>
|
||||
<a name="id563749"></a>
|
||||
<a href="count.html#fusion.algorithms.query.functions.count.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id564203"></a><p class="title"><b>Table<EFBFBD>1.43.<2E>Parameters</b></p>
|
||||
<a name="id563955"></a><p class="title"><b>Table<EFBFBD>1.43.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -63,7 +63,7 @@
|
||||
<td>A
|
||||
model of <a href="../../../sequences/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>, <tt class="computeroutput"><span class="identifier">e</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">t</span></tt>
|
||||
Sequence</a>, <tt class="computeroutput"><span class="identifier">e</span> <span class="special">==</span> <span class="identifier">t</span></tt>
|
||||
must be a valid expression, convertible to <tt class="computeroutput"><span class="keyword">bool</span></tt>,
|
||||
for each element <tt class="computeroutput"><span class="identifier">e</span></tt>
|
||||
in <tt class="computeroutput"><span class="identifier">seq</span></tt>
|
||||
@ -81,7 +81,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.functions.count.expression_semantics"></a><h6>
|
||||
<a name="id564352"></a>
|
||||
<a name="id564103"></a>
|
||||
<a href="count.html#fusion.algorithms.query.functions.count.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -97,21 +97,21 @@
|
||||
<tt class="computeroutput"><span class="identifier">t</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.count.complexity"></a><h6>
|
||||
<a name="id564489"></a>
|
||||
<a name="id564240"></a>
|
||||
<a href="count.html#fusion.algorithms.query.functions.count.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.count.header"></a><h6>
|
||||
<a name="id564571"></a>
|
||||
<a name="id564322"></a>
|
||||
<a href="count.html#fusion.algorithms.query.functions.count.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.query.functions.count.example"></a><h6>
|
||||
<a name="id564676"></a>
|
||||
<a name="id564426"></a>
|
||||
<a href="count.html#fusion.algorithms.query.functions.count.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.functions.count_if"></a><a href="count_if.html" title="count_if">count_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.functions.count_if.description"></a><h6>
|
||||
<a name="id564891"></a>
|
||||
<a name="id564642"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.functions.count_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
a given unary function object evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.count_if.synopsis"></a><h6>
|
||||
<a name="id564934"></a>
|
||||
<a name="id564684"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.functions.count_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id565129"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
|
||||
<a name="id564880"></a><p class="title"><b>Table<EFBFBD>1.44.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -81,7 +81,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.functions.count_if.expression_semantics"></a><h6>
|
||||
<a name="id565278"></a>
|
||||
<a name="id565029"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.functions.count_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,21 +96,21 @@
|
||||
in <tt class="computeroutput"><span class="identifier">seq</span></tt> where <tt class="computeroutput"><span class="identifier">f</span></tt> evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.count_if.complexity"></a><h6>
|
||||
<a name="id565415"></a>
|
||||
<a name="id565166"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.functions.count_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.count_if.header"></a><h6>
|
||||
<a name="id565497"></a>
|
||||
<a name="id565248"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.functions.count_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">count_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.query.functions.count_if.example"></a><h6>
|
||||
<a name="id565603"></a>
|
||||
<a name="id565354"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.functions.count_if.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.functions.find"></a><a href="find.html" title="find">find</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.functions.find.description"></a><h6>
|
||||
<a name="id561852"></a>
|
||||
<a name="id561604"></a>
|
||||
<a href="find.html#fusion.algorithms.query.functions.find.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Finds the first element of a given type within a sequence.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.find.synopsis"></a><h6>
|
||||
<a name="id561884"></a>
|
||||
<a name="id561636"></a>
|
||||
<a href="find.html#fusion.algorithms.query.functions.find.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -50,7 +50,7 @@
|
||||
<span class="emphasis"><em>unspecified</em></span> <span class="identifier">find</span><span class="special">(</span><span class="identifier">Sequence</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id562082"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
|
||||
<a name="id561833"></a><p class="title"><b>Table<EFBFBD>1.41.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -82,7 +82,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.functions.find.expression_semantics"></a><h6>
|
||||
<a name="id562175"></a>
|
||||
<a name="id561927"></a>
|
||||
<a href="find.html#fusion.algorithms.query.functions.find.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -97,24 +97,24 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns an iterator to the
|
||||
first element of <tt class="computeroutput"><span class="identifier">seq</span></tt>
|
||||
of type <tt class="computeroutput"><span class="identifier">T</span></tt>, or <tt class="computeroutput"><a href="../../../sequences/intrinsics/functions/end.html" title="end"><tt class="computeroutput"><span class="identifier">end</span></tt></a><span class="special">(</span><span class="identifier">seq</span><span class="special">)</span></tt> if there is no such element. Equivalent
|
||||
to <tt class="computeroutput"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">_</span><span class="special">,</span><EFBFBD><span class="identifier">T</span><span class="special">></span><EFBFBD><span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>
|
||||
to <tt class="computeroutput"><a href="find_if.html" title="find_if"><tt class="computeroutput"><span class="identifier">find_if</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span> <span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.find.complexity"></a><h6>
|
||||
<a name="id562422"></a>
|
||||
<a name="id562173"></a>
|
||||
<a href="find.html#fusion.algorithms.query.functions.find.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.find.header"></a><h6>
|
||||
<a name="id562504"></a>
|
||||
<a name="id562255"></a>
|
||||
<a href="find.html#fusion.algorithms.query.functions.find.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.query.functions.find.example"></a><h6>
|
||||
<a name="id562608"></a>
|
||||
<a name="id562360"></a>
|
||||
<a href="find.html#fusion.algorithms.query.functions.find.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -30,11 +30,11 @@
|
||||
MPL Lambda Expression evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.find_if.description"></a><h6>
|
||||
<a name="id562927"></a>
|
||||
<a name="id562678"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.functions.find_if.description">Description</a>
|
||||
</h6>
|
||||
<a name="fusion.algorithms.query.functions.find_if.synopsis"></a><h6>
|
||||
<a name="id562953"></a>
|
||||
<a name="id562705"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.functions.find_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -51,7 +51,7 @@
|
||||
<span class="emphasis"><em>unspecified</em></span> <span class="identifier">find_if</span><span class="special">(</span><span class="identifier">Sequence</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id563152"></a><p class="title"><b>Table<EFBFBD>1.42.<2E>Parameters</b></p>
|
||||
<a name="id562904"></a><p class="title"><b>Table<EFBFBD>1.42.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -83,7 +83,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.functions.find_if.expression_semantics"></a><h6>
|
||||
<a name="id563246"></a>
|
||||
<a name="id562997"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.functions.find_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -102,21 +102,21 @@
|
||||
if there is no such element.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.find_if.complexity"></a><h6>
|
||||
<a name="id563439"></a>
|
||||
<a name="id563190"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.functions.find_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.find_if.header"></a><h6>
|
||||
<a name="id563521"></a>
|
||||
<a name="id563271"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.functions.find_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.query.functions.find_if.example"></a><h6>
|
||||
<a name="id563626"></a>
|
||||
<a name="id563378"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.functions.find_if.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.functions.none"></a><a href="none.html" title="none">none</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.functions.none.description"></a><h6>
|
||||
<a name="id560682"></a>
|
||||
<a name="id560434"></a>
|
||||
<a href="none.html#fusion.algorithms.query.functions.none.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -37,7 +37,7 @@
|
||||
element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.none.synopsis"></a><h6>
|
||||
<a name="id560764"></a>
|
||||
<a name="id560516"></a>
|
||||
<a href="none.html#fusion.algorithms.query.functions.none.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id560957"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
|
||||
<a name="id560709"></a><p class="title"><b>Table<EFBFBD>1.40.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -84,7 +84,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.functions.none.expression_semantics"></a><h6>
|
||||
<a name="id561107"></a>
|
||||
<a name="id560859"></a>
|
||||
<a href="none.html#fusion.algorithms.query.functions.none.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -98,24 +98,24 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns true if and only
|
||||
if <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e</span><span class="special">)</span></tt>
|
||||
evaluates to <tt class="computeroutput"><span class="keyword">false</span></tt> for every
|
||||
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. Result equivalent to <tt class="computeroutput"><span class="special">!</span><span class="identifier">any</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span><EFBFBD><span class="identifier">f</span><span class="special">)</span></tt>.
|
||||
element <tt class="computeroutput"><span class="identifier">e</span></tt> in <tt class="computeroutput"><span class="identifier">seq</span></tt>. Result equivalent to <tt class="computeroutput"><span class="special">!</span><span class="identifier">any</span><span class="special">(</span><span class="identifier">seq</span><span class="special">,</span> <span class="identifier">f</span><span class="special">)</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.none.complexity"></a><h6>
|
||||
<a name="id561311"></a>
|
||||
<a name="id561063"></a>
|
||||
<a href="none.html#fusion.algorithms.query.functions.none.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.functions.none.header"></a><h6>
|
||||
<a name="id561394"></a>
|
||||
<a name="id561145"></a>
|
||||
<a href="none.html#fusion.algorithms.query.functions.none.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">none</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.query.functions.none.example"></a><h6>
|
||||
<a name="id561498"></a>
|
||||
<a name="id561250"></a>
|
||||
<a href="none.html#fusion.algorithms.query.functions.none.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.metafunctions.all"></a><a href="all.html" title="all">all</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.metafunctions.all.description"></a><h6>
|
||||
<a name="id566445"></a>
|
||||
<a name="id566195"></a>
|
||||
<a href="all.html#fusion.algorithms.query.metafunctions.all.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
A metafunction returning the result type of <a href="../functions/all.html" title="all"><tt class="computeroutput"><span class="identifier">all</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.all.synopsis"></a><h6>
|
||||
<a name="id566493"></a>
|
||||
<a name="id566243"></a>
|
||||
<a href="all.html#fusion.algorithms.query.metafunctions.all.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id566613"></a><p class="title"><b>Table<EFBFBD>1.46.<2E>Parameters</b></p>
|
||||
<a name="id566363"></a><p class="title"><b>Table<EFBFBD>1.46.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -72,8 +72,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span></tt></td>
|
||||
<td>A
|
||||
model of unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>Operation's argument</td>
|
||||
@ -82,7 +82,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.metafunctions.all.expression_semantics"></a><h6>
|
||||
<a name="id566715"></a>
|
||||
<a name="id566465"></a>
|
||||
<a href="all.html#fusion.algorithms.query.metafunctions.all.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,20 +96,20 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns the return type of
|
||||
<a href="../functions/all.html" title="all"><tt class="computeroutput"><span class="identifier">all</span></tt></a>
|
||||
given a sequence of type <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
|
||||
and a unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
and a unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.all.complexity"></a><h6>
|
||||
<a name="id566896"></a>
|
||||
<a name="id566644"></a>
|
||||
<a href="all.html#fusion.algorithms.query.metafunctions.all.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.all.header"></a><h6>
|
||||
<a name="id566926"></a>
|
||||
<a name="id566675"></a>
|
||||
<a href="all.html#fusion.algorithms.query.metafunctions.all.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.metafunctions.any"></a><a href="any.html" title="any">any</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.metafunctions.any.description"></a><h6>
|
||||
<a name="id565840"></a>
|
||||
<a name="id565591"></a>
|
||||
<a href="any.html#fusion.algorithms.query.metafunctions.any.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
A metafunction returning the result type of <a href="../functions/any.html" title="any"><tt class="computeroutput"><span class="identifier">any</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.any.synopsis"></a><h6>
|
||||
<a name="id565887"></a>
|
||||
<a name="id565638"></a>
|
||||
<a href="any.html#fusion.algorithms.query.metafunctions.any.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id566007"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
|
||||
<a name="id565758"></a><p class="title"><b>Table<EFBFBD>1.45.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -72,8 +72,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span></tt></td>
|
||||
<td>A
|
||||
model of unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>Operation's argument</td>
|
||||
@ -82,7 +82,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.metafunctions.any.expression_semantics"></a><h6>
|
||||
<a name="id566109"></a>
|
||||
<a name="id565860"></a>
|
||||
<a href="any.html#fusion.algorithms.query.metafunctions.any.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,20 +96,20 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns the return type of
|
||||
<a href="../functions/any.html" title="any"><tt class="computeroutput"><span class="identifier">any</span></tt></a>
|
||||
given a sequence of type <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
|
||||
and a unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
and a unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.any.complexity"></a><h6>
|
||||
<a name="id566290"></a>
|
||||
<a name="id566040"></a>
|
||||
<a href="any.html#fusion.algorithms.query.metafunctions.any.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.any.header"></a><h6>
|
||||
<a name="id566320"></a>
|
||||
<a name="id566071"></a>
|
||||
<a href="any.html#fusion.algorithms.query.metafunctions.any.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.metafunctions.count"></a><a href="count.html" title="count">count</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.metafunctions.count.description"></a><h6>
|
||||
<a name="id568983"></a>
|
||||
<a name="id568730"></a>
|
||||
<a href="count.html#fusion.algorithms.query.metafunctions.count.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
given the sequence and search types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.count.synopsis"></a><h6>
|
||||
<a name="id569025"></a>
|
||||
<a name="id568772"></a>
|
||||
<a href="count.html#fusion.algorithms.query.metafunctions.count.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id569145"></a><p class="title"><b>Table<EFBFBD>1.50.<2E>Parameters</b></p>
|
||||
<a name="id568892"></a><p class="title"><b>Table<EFBFBD>1.50.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -81,7 +81,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.metafunctions.count.expression_semantics"></a><h6>
|
||||
<a name="id569241"></a>
|
||||
<a name="id568988"></a>
|
||||
<a href="count.html#fusion.algorithms.query.metafunctions.count.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -97,14 +97,14 @@
|
||||
<tt class="computeroutput"><span class="keyword">int</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.count.complexity"></a><h6>
|
||||
<a name="id569380"></a>
|
||||
<a name="id569126"></a>
|
||||
<a href="count.html#fusion.algorithms.query.metafunctions.count.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.count.header"></a><h6>
|
||||
<a name="id569410"></a>
|
||||
<a name="id569156"></a>
|
||||
<a href="count.html#fusion.algorithms.query.metafunctions.count.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.metafunctions.count_if"></a><a href="count_if.html" title="count_if">count_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.metafunctions.count_if.description"></a><h6>
|
||||
<a name="id569535"></a>
|
||||
<a name="id569282"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.metafunctions.count_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
given the sequence and predicate types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.count_if.synopsis"></a><h6>
|
||||
<a name="id569578"></a>
|
||||
<a name="id569325"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.metafunctions.count_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id569698"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
|
||||
<a name="id569445"></a><p class="title"><b>Table<EFBFBD>1.51.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.metafunctions.count_if.expression_semantics"></a><h6>
|
||||
<a name="id569794"></a>
|
||||
<a name="id569541"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.metafunctions.count_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,14 +96,14 @@
|
||||
always <tt class="computeroutput"><span class="keyword">int</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.count_if.complexity"></a><h6>
|
||||
<a name="id569944"></a>
|
||||
<a name="id569691"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.metafunctions.count_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.count_if.header"></a><h6>
|
||||
<a name="id569976"></a>
|
||||
<a name="id569722"></a>
|
||||
<a href="count_if.html#fusion.algorithms.query.metafunctions.count_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.metafunctions.find"></a><a href="find.html" title="find">find</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.metafunctions.find.description"></a><h6>
|
||||
<a name="id567661"></a>
|
||||
<a name="id567408"></a>
|
||||
<a href="find.html#fusion.algorithms.query.metafunctions.find.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
given the sequence and search types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.find.synopsis"></a><h6>
|
||||
<a name="id567703"></a>
|
||||
<a name="id567450"></a>
|
||||
<a href="find.html#fusion.algorithms.query.metafunctions.find.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id567820"></a><p class="title"><b>Table<EFBFBD>1.48.<2E>Parameters</b></p>
|
||||
<a name="id567567"></a><p class="title"><b>Table<EFBFBD>1.48.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.metafunctions.find.expression_semantics"></a><h6>
|
||||
<a name="id567915"></a>
|
||||
<a name="id567662"></a>
|
||||
<a href="find.html#fusion.algorithms.query.metafunctions.find.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -97,14 +97,14 @@
|
||||
in <tt class="computeroutput"><span class="identifier">Sequence</span></tt>, or <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span></tt> if there is no such element.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.find.complexity"></a><h6>
|
||||
<a name="id568111"></a>
|
||||
<a name="id567858"></a>
|
||||
<a href="find.html#fusion.algorithms.query.metafunctions.find.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear, at most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.find.header"></a><h6>
|
||||
<a name="id568193"></a>
|
||||
<a name="id567940"></a>
|
||||
<a href="find.html#fusion.algorithms.query.metafunctions.find.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.metafunctions.find_if"></a><a href="find_if.html" title="find_if">find_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.metafunctions.find_if.description"></a><h6>
|
||||
<a name="id568321"></a>
|
||||
<a name="id568067"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.metafunctions.find_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
given the sequence and predicate types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.find_if.synopsis"></a><h6>
|
||||
<a name="id568364"></a>
|
||||
<a name="id568110"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.metafunctions.find_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id568482"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
|
||||
<a name="id568228"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.metafunctions.find_if.expression_semantics"></a><h6>
|
||||
<a name="id568576"></a>
|
||||
<a name="id568323"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.metafunctions.find_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -98,14 +98,14 @@
|
||||
to true. Returns <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span></tt> if there is no such element.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.find_if.complexity"></a><h6>
|
||||
<a name="id568775"></a>
|
||||
<a name="id568521"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.metafunctions.find_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Linear. At most <tt class="computeroutput"><a href="../../../sequences/intrinsics/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">value</span></tt> comparisons.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.find_if.header"></a><h6>
|
||||
<a name="id568858"></a>
|
||||
<a name="id568605"></a>
|
||||
<a href="find_if.html#fusion.algorithms.query.metafunctions.find_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.query.metafunctions.none"></a><a href="none.html" title="none">none</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.query.metafunctions.none.description"></a><h6>
|
||||
<a name="id567051"></a>
|
||||
<a name="id566800"></a>
|
||||
<a href="none.html#fusion.algorithms.query.metafunctions.none.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
A metafunction returning the result type of <a href="../functions/none.html" title="none"><tt class="computeroutput"><span class="identifier">none</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.none.synopsis"></a><h6>
|
||||
<a name="id567100"></a>
|
||||
<a name="id566848"></a>
|
||||
<a href="none.html#fusion.algorithms.query.metafunctions.none.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id567220"></a><p class="title"><b>Table<EFBFBD>1.47.<2E>Parameters</b></p>
|
||||
<a name="id566969"></a><p class="title"><b>Table<EFBFBD>1.47.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -72,8 +72,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span></tt></td>
|
||||
<td>A
|
||||
model of unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>Operation's argument</td>
|
||||
@ -82,7 +82,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.query.metafunctions.none.expression_semantics"></a><h6>
|
||||
<a name="id567323"></a>
|
||||
<a name="id567070"></a>
|
||||
<a href="none.html#fusion.algorithms.query.metafunctions.none.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,20 +96,20 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns the return type of
|
||||
<a href="../functions/none.html" title="none"><tt class="computeroutput"><span class="identifier">none</span></tt></a> given a sequence of type
|
||||
<tt class="computeroutput"><span class="identifier">Sequence</span></tt> and a unary
|
||||
<a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
Function Object</a> of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
<a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic Function
|
||||
Object</a> of type <tt class="computeroutput"><span class="identifier">F</span></tt>.
|
||||
The return type is always <tt class="computeroutput"><span class="keyword">bool</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.none.complexity"></a><h6>
|
||||
<a name="id567503"></a>
|
||||
<a name="id567250"></a>
|
||||
<a href="none.html#fusion.algorithms.query.metafunctions.none.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.query.metafunctions.none.header"></a><h6>
|
||||
<a name="id567534"></a>
|
||||
<a name="id567281"></a>
|
||||
<a href="none.html#fusion.algorithms.query.metafunctions.none.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -46,7 +46,7 @@
|
||||
</p></td></tr>
|
||||
</table></div>
|
||||
<a name="fusion.algorithms.transformation.header"></a><h4>
|
||||
<a name="id570124"></a>
|
||||
<a name="id569870"></a>
|
||||
<a href="transformation.html#fusion.algorithms.transformation.header">Header</a>
|
||||
</h4>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.clear"></a><a href="clear.html" title="clear">clear</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.clear.description"></a><h6>
|
||||
<a name="id578477"></a>
|
||||
<a name="id578220"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.functions.clear.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
<a href="clear.html" title="clear"><tt class="computeroutput"><span class="identifier">clear</span></tt></a> returns an empty sequence.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.clear.synposis"></a><h6>
|
||||
<a name="id578525"></a>
|
||||
<a name="id578268"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.functions.clear.synposis">Synposis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/clear.html" title="clear"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">clear</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">clear</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id578681"></a><p class="title"><b>Table<EFBFBD>1.61.<2E>Parameters</b></p>
|
||||
<a name="id578424"></a><p class="title"><b>Table<EFBFBD>1.61.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.clear.expression_semantics"></a><h6>
|
||||
<a name="id578757"></a>
|
||||
<a name="id578499"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.functions.clear.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -84,21 +84,21 @@
|
||||
with no elements.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.clear.complexity"></a><h6>
|
||||
<a name="id578853"></a>
|
||||
<a name="id578595"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.functions.clear.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.clear.header"></a><h6>
|
||||
<a name="id578884"></a>
|
||||
<a name="id578627"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.functions.clear.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">clear</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.clear.example"></a><h6>
|
||||
<a name="id578990"></a>
|
||||
<a name="id578733"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.functions.clear.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.erase"></a><a href="erase.html" title="erase">erase</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.erase.description"></a><h6>
|
||||
<a name="id579154"></a>
|
||||
<a name="id578896"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.functions.erase.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
those at a specified iterator, or between two iterators.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.erase.synposis"></a><h6>
|
||||
<a name="id579187"></a>
|
||||
<a name="id578930"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.functions.erase.synposis">Synposis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -54,7 +54,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">First</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">it1</span><span class="special">,</span> <span class="identifier">Last</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">it2</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id579648"></a><p class="title"><b>Table<EFBFBD>1.62.<2E>Parameters</b></p>
|
||||
<a name="id579391"></a><p class="title"><b>Table<EFBFBD>1.62.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -101,7 +101,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.erase.expression_semantics"></a><h6>
|
||||
<a name="id579807"></a>
|
||||
<a name="id579549"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.functions.erase.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -132,21 +132,21 @@
|
||||
in their original order, except those in the range [<tt class="computeroutput"><span class="identifier">first</span></tt>,<tt class="computeroutput"><span class="identifier">last</span></tt>).
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.erase.complexity"></a><h6>
|
||||
<a name="id580056"></a>
|
||||
<a name="id579799"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.functions.erase.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.erase.header"></a><h6>
|
||||
<a name="id580088"></a>
|
||||
<a name="id579830"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.functions.erase.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.erase.example"></a><h6>
|
||||
<a name="id580194"></a>
|
||||
<a name="id579937"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.functions.erase.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,20 +26,20 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.erase_key"></a><a href="erase_key.html" title="erase_key">erase_key</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.erase_key.description"></a><h6>
|
||||
<a name="id580651"></a>
|
||||
<a name="id580394"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.functions.erase_key.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
For an <a href="../../../sequences/concepts/associative_sequence.html" title="Associative
|
||||
Sequence">Associative
|
||||
Sequence</a><EFBFBD><tt class="computeroutput"><span class="identifier">seq</span></tt>,
|
||||
Sequence</a> <tt class="computeroutput"><span class="identifier">seq</span></tt>,
|
||||
returns a <a href="../../../sequences/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a> containing all the elements of the original except those
|
||||
with a given key.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.erase_key.synposis"></a><h6>
|
||||
<a name="id580712"></a>
|
||||
<a name="id580455"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.functions.erase_key.synposis">Synposis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -50,7 +50,7 @@
|
||||
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">erase_key</span><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Key</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">erase_key</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id580885"></a><p class="title"><b>Table<EFBFBD>1.63.<2E>Parameters</b></p>
|
||||
<a name="id580627"></a><p class="title"><b>Table<EFBFBD>1.63.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -82,7 +82,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.erase_key.expression_semantics"></a><h6>
|
||||
<a name="id580981"></a>
|
||||
<a name="id580724"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.functions.erase_key.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -100,21 +100,21 @@
|
||||
except those with key <tt class="computeroutput"><span class="identifier">Key</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.erase_key.complexity"></a><h6>
|
||||
<a name="id581108"></a>
|
||||
<a name="id580850"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.functions.erase_key.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.erase_key.header"></a><h6>
|
||||
<a name="id581138"></a>
|
||||
<a name="id580881"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.functions.erase_key.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">erase_key</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.erase_key.example"></a><h6>
|
||||
<a name="id581245"></a>
|
||||
<a name="id580988"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.functions.erase_key.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.filter"></a><a href="filter.html" title="filter">filter</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.filter.description"></a><h6>
|
||||
<a name="id570261"></a>
|
||||
<a name="id570008"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.functions.filter.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
the elements of a specified type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.filter.synopsis"></a><h6>
|
||||
<a name="id570294"></a>
|
||||
<a name="id570041"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.functions.filter.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/filter.html" title="filter"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">filter</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id570479"></a><p class="title"><b>Table<EFBFBD>1.52.<2E>Parameters</b></p>
|
||||
<a name="id570225"></a><p class="title"><b>Table<EFBFBD>1.52.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -77,7 +77,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.filter.expression_semantics"></a><h6>
|
||||
<a name="id570572"></a>
|
||||
<a name="id570319"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.functions.filter.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -93,24 +93,24 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing
|
||||
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>
|
||||
of type <tt class="computeroutput"><span class="identifier">T</span></tt>. Equivalent
|
||||
to <tt class="computeroutput"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">same_type</span><span class="special"><</span><span class="identifier">_</span><span class="special">,</span><EFBFBD><span class="identifier">T</span><span class="special">></span><EFBFBD><span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
|
||||
to <tt class="computeroutput"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">filter_if</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">same_type</span><span class="special"><</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span> <span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.filter.complexity"></a><h6>
|
||||
<a name="id570782"></a>
|
||||
<a name="id570528"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.functions.filter.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.filter.header"></a><h6>
|
||||
<a name="id570814"></a>
|
||||
<a name="id570560"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.functions.filter.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.filter.example"></a><h6>
|
||||
<a name="id570920"></a>
|
||||
<a name="id570667"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.functions.filter.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.filter_if"></a><a href="filter_if.html" title="filter_if">filter_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.filter_if.description"></a><h6>
|
||||
<a name="id571190"></a>
|
||||
<a name="id570936"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.functions.filter_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -35,7 +35,7 @@
|
||||
Expression evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.filter_if.synopsis"></a><h6>
|
||||
<a name="id571270"></a>
|
||||
<a name="id571017"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.functions.filter_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter_if</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">filter_if</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id571456"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
|
||||
<a name="id571202"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -79,7 +79,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.filter_if.expression_semantics"></a><h6>
|
||||
<a name="id571553"></a>
|
||||
<a name="id571300"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.functions.filter_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -99,21 +99,21 @@
|
||||
is the same as in the original sequence.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.filter_if.complexity"></a><h6>
|
||||
<a name="id571712"></a>
|
||||
<a name="id571459"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.functions.filter_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.filter_if.header"></a><h6>
|
||||
<a name="id571743"></a>
|
||||
<a name="id571490"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.functions.filter_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">filter_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.filter_if.example"></a><h6>
|
||||
<a name="id571850"></a>
|
||||
<a name="id571596"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.functions.filter_if.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.insert"></a><a href="insert.html" title="insert">insert</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.insert.description"></a><h6>
|
||||
<a name="id581451"></a>
|
||||
<a name="id581193"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.functions.insert.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
element inserted the position described by a given iterator.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.insert.synposis"></a><h6>
|
||||
<a name="id581485"></a>
|
||||
<a name="id581227"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.functions.insert.synposis">Synposis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="emphasis"><em>unspecified</em></span> <span class="identifier">insert</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">Pos</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id581674"></a><p class="title"><b>Table<EFBFBD>1.64.<2E>Parameters</b></p>
|
||||
<a name="id581416"></a><p class="title"><b>Table<EFBFBD>1.64.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -87,7 +87,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.insert.expression_semantics"></a><h6>
|
||||
<a name="id581799"></a>
|
||||
<a name="id581541"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.functions.insert.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -107,21 +107,21 @@
|
||||
<tt class="computeroutput"><span class="identifier">pos</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.insert.complexity"></a><h6>
|
||||
<a name="id581948"></a>
|
||||
<a name="id581690"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.functions.insert.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.insert.header"></a><h6>
|
||||
<a name="id581980"></a>
|
||||
<a name="id581722"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.functions.insert.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.insert.example"></a><h6>
|
||||
<a name="id582087"></a>
|
||||
<a name="id581829"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.functions.insert.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.insert_range"></a><a href="insert_range.html" title="insert_range">insert_range</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.insert_range.description"></a><h6>
|
||||
<a name="id582380"></a>
|
||||
<a name="id582123"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.functions.insert_range.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
iterator.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.insert_range.synposis"></a><h6>
|
||||
<a name="id582414"></a>
|
||||
<a name="id582156"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.functions.insert_range.synposis">Synposis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">Pos</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">pos</span><span class="special">,</span> <span class="identifier">Range</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">range</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id582687"></a><p class="title"><b>Table<EFBFBD>1.65.<2E>Parameters</b></p>
|
||||
<a name="id582429"></a><p class="title"><b>Table<EFBFBD>1.65.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -91,7 +91,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.insert_range.expression_semantics"></a><h6>
|
||||
<a name="id582819"></a>
|
||||
<a name="id582561"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.functions.insert_range.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -111,21 +111,21 @@
|
||||
All elements retaining their ordering from the orignal sequences.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.insert_range.complexity"></a><h6>
|
||||
<a name="id582971"></a>
|
||||
<a name="id582713"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.functions.insert_range.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.insert_range.header"></a><h6>
|
||||
<a name="id583002"></a>
|
||||
<a name="id582744"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.functions.insert_range.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">insert_range</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.insert_range.example"></a><h6>
|
||||
<a name="id583109"></a>
|
||||
<a name="id582851"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.functions.insert_range.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.join"></a><a href="join.html" title="join">join</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.join.description"></a><h6>
|
||||
<a name="id583439"></a>
|
||||
<a name="id583182"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.functions.join.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
first followed by the elements of the second.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.join.synopsis"></a><h6>
|
||||
<a name="id583473"></a>
|
||||
<a name="id583215"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.functions.join.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/join.html" title="join"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">join</span></tt></a><span class="special"><</span><span class="identifier">LhSequence</span><span class="special">,</span> <span class="identifier">RhSequence</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">join</span><span class="special">(</span><span class="identifier">LhSequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">lhs</span><span class="special">,</span> <span class="identifier">RhSequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">rhs</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id583680"></a><p class="title"><b>Table<EFBFBD>1.66.<2E>Parameters</b></p>
|
||||
<a name="id583422"></a><p class="title"><b>Table<EFBFBD>1.66.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -79,7 +79,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.join.expression_semantics"></a><h6>
|
||||
<a name="id583781"></a>
|
||||
<a name="id583524"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.functions.join.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -98,21 +98,21 @@
|
||||
The order of th elements is preserved.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.join.complexity"></a><h6>
|
||||
<a name="id583909"></a>
|
||||
<a name="id583651"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.functions.join.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.join.header"></a><h6>
|
||||
<a name="id583941"></a>
|
||||
<a name="id583683"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.functions.join.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">join</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.join.example"></a><h6>
|
||||
<a name="id584046"></a>
|
||||
<a name="id583788"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.functions.join.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.pop_back"></a><a href="pop_back.html" title="pop_back">pop_back</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_back.description"></a><h6>
|
||||
<a name="id585564"></a>
|
||||
<a name="id585305"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.functions.pop_back.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns a new sequence, with the last element of the original removed.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_back.synopsis"></a><h6>
|
||||
<a name="id585597"></a>
|
||||
<a name="id585338"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.functions.pop_back.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/pop_back.html" title="pop_back"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_back</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">pop_back</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id585753"></a><p class="title"><b>Table<EFBFBD>1.68.<2E>Parameters</b></p>
|
||||
<a name="id585494"></a><p class="title"><b>Table<EFBFBD>1.68.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_back.expression_semantics"></a><h6>
|
||||
<a name="id585828"></a>
|
||||
<a name="id585569"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.functions.pop_back.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -86,21 +86,21 @@
|
||||
same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_back.complexity"></a><h6>
|
||||
<a name="id585946"></a>
|
||||
<a name="id585687"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.functions.pop_back.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_back.header"></a><h6>
|
||||
<a name="id585977"></a>
|
||||
<a name="id585717"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.functions.pop_back.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_back.example"></a><h6>
|
||||
<a name="id586083"></a>
|
||||
<a name="id585824"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.functions.pop_back.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.pop_front"></a><a href="pop_front.html" title="pop_front">pop_front</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_front.description"></a><h6>
|
||||
<a name="id586258"></a>
|
||||
<a name="id585998"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.functions.pop_front.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns a new sequence, with the first element of the original removed.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_front.synopsis"></a><h6>
|
||||
<a name="id586291"></a>
|
||||
<a name="id586032"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.functions.pop_front.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/pop_front.html" title="pop_front"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">pop_front</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">pop_front</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id586447"></a><p class="title"><b>Table<EFBFBD>1.69.<2E>Parameters</b></p>
|
||||
<a name="id586188"></a><p class="title"><b>Table<EFBFBD>1.69.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_front.expression_semantics"></a><h6>
|
||||
<a name="id586523"></a>
|
||||
<a name="id586264"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.functions.pop_front.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -86,21 +86,21 @@
|
||||
same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_front.complexity"></a><h6>
|
||||
<a name="id586641"></a>
|
||||
<a name="id586382"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.functions.pop_front.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_front.header"></a><h6>
|
||||
<a name="id586672"></a>
|
||||
<a name="id586414"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.functions.pop_front.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">pop_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.pop_front.example"></a><h6>
|
||||
<a name="id586778"></a>
|
||||
<a name="id586521"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.functions.pop_front.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.push_back"></a><a href="push_back.html" title="push_back">push_back</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.push_back.description"></a><h6>
|
||||
<a name="id586960"></a>
|
||||
<a name="id586703"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.functions.push_back.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns a new sequence with an element added at the end.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.push_back.synopsis"></a><h6>
|
||||
<a name="id586993"></a>
|
||||
<a name="id586734"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.functions.push_back.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id587201"></a><p class="title"><b>Table<EFBFBD>1.70.<2E>Parameters</b></p>
|
||||
<a name="id586942"></a><p class="title"><b>Table<EFBFBD>1.70.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -77,7 +77,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.push_back.expression_semantics"></a><h6>
|
||||
<a name="id587298"></a>
|
||||
<a name="id587039"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.functions.push_back.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,21 +96,21 @@
|
||||
to the end. The elements are in the same order as they were in <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.push_back.complexity"></a><h6>
|
||||
<a name="id587436"></a>
|
||||
<a name="id587177"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.functions.push_back.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.push_back.header"></a><h6>
|
||||
<a name="id587467"></a>
|
||||
<a name="id587208"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.functions.push_back.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_back</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.push_back.example"></a><h6>
|
||||
<a name="id587574"></a>
|
||||
<a name="id587315"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.functions.push_back.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.push_front"></a><a href="push_front.html" title="push_front">push_front</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.push_front.description"></a><h6>
|
||||
<a name="id587787"></a>
|
||||
<a name="id587528"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.functions.push_front.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns a new sequence with an element added at the beginning.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.push_front.synopsis"></a><h6>
|
||||
<a name="id587820"></a>
|
||||
<a name="id587561"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.functions.push_front.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id588028"></a><p class="title"><b>Table<EFBFBD>1.71.<2E>Parameters</b></p>
|
||||
<a name="id587769"></a><p class="title"><b>Table<EFBFBD>1.71.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -77,7 +77,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.push_front.expression_semantics"></a><h6>
|
||||
<a name="id588125"></a>
|
||||
<a name="id587866"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.functions.push_front.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -97,21 +97,21 @@
|
||||
<tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.push_front.complexity"></a><h6>
|
||||
<a name="id588265"></a>
|
||||
<a name="id588006"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.functions.push_front.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.push_front.header"></a><h6>
|
||||
<a name="id588296"></a>
|
||||
<a name="id588037"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.functions.push_front.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">push_front</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.push_front.example"></a><h6>
|
||||
<a name="id588403"></a>
|
||||
<a name="id588144"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.functions.push_front.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.remove"></a><a href="remove.html" title="remove">remove</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.remove.description"></a><h6>
|
||||
<a name="id575943"></a>
|
||||
<a name="id575685"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.functions.remove.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
except those of a given type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.remove.synopsis"></a><h6>
|
||||
<a name="id575976"></a>
|
||||
<a name="id575719"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.functions.remove.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/remove.html" title="remove"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">replace</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id576160"></a><p class="title"><b>Table<EFBFBD>1.58.<2E>Parameters</b></p>
|
||||
<a name="id575903"></a><p class="title"><b>Table<EFBFBD>1.58.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -77,7 +77,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.remove.expression_semantics"></a><h6>
|
||||
<a name="id576255"></a>
|
||||
<a name="id575998"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.functions.remove.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -93,24 +93,24 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
|
||||
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
|
||||
in their original order, except those of type <tt class="computeroutput"><span class="identifier">T</span></tt>.
|
||||
Equivalent to <tt class="computeroutput"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">_</span><span class="special">,</span><span class="identifier">T</span><span class="special">></span><EFBFBD><span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
|
||||
Equivalent to <tt class="computeroutput"><a href="remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">remove_if</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">_</span><span class="special">,</span><span class="identifier">T</span><span class="special">></span> <span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.remove.complexity"></a><h6>
|
||||
<a name="id576465"></a>
|
||||
<a name="id576208"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.functions.remove.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.remove.header"></a><h6>
|
||||
<a name="id576497"></a>
|
||||
<a name="id576240"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.functions.remove.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.remove.example"></a><h6>
|
||||
<a name="id576604"></a>
|
||||
<a name="id576346"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.functions.remove.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.remove_if"></a><a href="remove_if.html" title="remove_if">remove_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.remove_if.description"></a><h6>
|
||||
<a name="id576825"></a>
|
||||
<a name="id576567"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.functions.remove_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
those where a given unary function object evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.remove_if.synopsis"></a><h6>
|
||||
<a name="id576869"></a>
|
||||
<a name="id576612"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.functions.remove_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -45,7 +45,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/remove_if.html" title="remove_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">remove_if</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">,</span> <span class="identifier">Pred</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">remove_if</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id577054"></a><p class="title"><b>Table<EFBFBD>1.59.<2E>Parameters</b></p>
|
||||
<a name="id576797"></a><p class="title"><b>Table<EFBFBD>1.59.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -77,7 +77,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.remove_if.expression_semantics"></a><h6>
|
||||
<a name="id577150"></a>
|
||||
<a name="id576892"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.functions.remove_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -93,24 +93,25 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
|
||||
all the elements of <tt class="computeroutput"><span class="identifier">seq</span></tt>,
|
||||
in their original order, except those elements with types for which
|
||||
<tt class="computeroutput"><span class="identifier">Pred</span></tt> evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>. Equivalent to <tt class="computeroutput"><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">not_</span><span class="special"><</span><span class="identifier">Pred</span><span class="special">></span><EFBFBD><span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
|
||||
<tt class="computeroutput"><span class="identifier">Pred</span></tt> evaluates to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>. Equivalent to <tt class="computeroutput"><a href="filter.html" title="filter"><tt class="computeroutput"><span class="identifier">filter</span></tt></a><span class="special"><</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">not_</span><span class="special"><</span><span class="identifier">Pred</span><span class="special">></span>
|
||||
<span class="special">>(</span><span class="identifier">seq</span><span class="special">)</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.remove_if.complexity"></a><h6>
|
||||
<a name="id577391"></a>
|
||||
<a name="id577133"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.functions.remove_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.remove_if.header"></a><h6>
|
||||
<a name="id577422"></a>
|
||||
<a name="id577164"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.functions.remove_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">remove_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.remove_if.example"></a><h6>
|
||||
<a name="id577528"></a>
|
||||
<a name="id577271"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.functions.remove_if.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.replace"></a><a href="replace.html" title="replace">replace</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.replace.description"></a><h6>
|
||||
<a name="id573890"></a>
|
||||
<a name="id573634"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.functions.replace.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
a new value.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.replace.synopsis"></a><h6>
|
||||
<a name="id573923"></a>
|
||||
<a name="id573666"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.functions.replace.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">old_value</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">new_value</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id574166"></a><p class="title"><b>Table<EFBFBD>1.56.<2E>Parameters</b></p>
|
||||
<a name="id573910"></a><p class="title"><b>Table<EFBFBD>1.56.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -64,7 +64,7 @@
|
||||
<td>A
|
||||
model of <a href="../../../sequences/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>, <tt class="computeroutput"><span class="identifier">e</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">old_value</span></tt>
|
||||
Sequence</a>, <tt class="computeroutput"><span class="identifier">e</span> <span class="special">==</span> <span class="identifier">old_value</span></tt>
|
||||
is a valid expression, convertible to <tt class="computeroutput"><span class="keyword">bool</span></tt>,
|
||||
for each element <tt class="computeroutput"><span class="identifier">e</span></tt>
|
||||
in <tt class="computeroutput"><span class="identifier">seq</span></tt> with type
|
||||
@ -89,7 +89,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.replace.expression_semantics"></a><h6>
|
||||
<a name="id574348"></a>
|
||||
<a name="id574091"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.functions.replace.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -108,21 +108,21 @@
|
||||
to elements with the same type and equal to <tt class="computeroutput"><span class="identifier">old_value</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.replace.complexity"></a><h6>
|
||||
<a name="id574499"></a>
|
||||
<a name="id574242"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.functions.replace.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.replace.header"></a><h6>
|
||||
<a name="id574531"></a>
|
||||
<a name="id574274"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.functions.replace.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.replace.example"></a><h6>
|
||||
<a name="id574637"></a>
|
||||
<a name="id574380"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.functions.replace.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.replace_if"></a><a href="replace_if.html" title="replace_if">replace_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.replace_if.description"></a><h6>
|
||||
<a name="id574834"></a>
|
||||
<a name="id574577"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.functions.replace_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -35,7 +35,7 @@
|
||||
replaced with a new value.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.replace_if.synopsis"></a><h6>
|
||||
<a name="id574877"></a>
|
||||
<a name="id574620"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.functions.replace_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">,</span> <span class="identifier">T</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">new_value</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id575136"></a><p class="title"><b>Table<EFBFBD>1.57.<2E>Parameters</b></p>
|
||||
<a name="id574879"></a><p class="title"><b>Table<EFBFBD>1.57.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -88,7 +88,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.replace_if.expression_semantics"></a><h6>
|
||||
<a name="id575308"></a>
|
||||
<a name="id575051"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.functions.replace_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -108,21 +108,21 @@
|
||||
evaluates to <tt class="computeroutput"><span class="keyword">true</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.replace_if.complexity"></a><h6>
|
||||
<a name="id575470"></a>
|
||||
<a name="id575213"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.functions.replace_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.replace_if.header"></a><h6>
|
||||
<a name="id575501"></a>
|
||||
<a name="id575244"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.functions.replace_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">replace_if</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.replace_if.example"></a><h6>
|
||||
<a name="id575608"></a>
|
||||
<a name="id575350"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.functions.replace_if.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.reverse"></a><a href="reverse.html" title="reverse">reverse</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.reverse.description"></a><h6>
|
||||
<a name="id577777"></a>
|
||||
<a name="id577519"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.functions.reverse.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns a new sequence with the elements of the original in reverse order.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.reverse.synposis"></a><h6>
|
||||
<a name="id577809"></a>
|
||||
<a name="id577552"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.functions.reverse.synposis">Synposis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/reverse.html" title="reverse"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">reverse</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">reverse</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id577965"></a><p class="title"><b>Table<EFBFBD>1.60.<2E>Parameters</b></p>
|
||||
<a name="id577708"></a><p class="title"><b>Table<EFBFBD>1.60.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.reverse.expression_semantics"></a><h6>
|
||||
<a name="id578040"></a>
|
||||
<a name="id577783"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.functions.reverse.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -85,21 +85,21 @@
|
||||
in reverse order.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.reverse.complexity"></a><h6>
|
||||
<a name="id578146"></a>
|
||||
<a name="id577889"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.functions.reverse.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.reverse.header"></a><h6>
|
||||
<a name="id578179"></a>
|
||||
<a name="id577921"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.functions.reverse.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">reverse</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.reverse.example"></a><h6>
|
||||
<a name="id578285"></a>
|
||||
<a name="id578028"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.functions.reverse.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,20 +26,19 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.transform"></a><a href="transform.html" title="transform">transform</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.transform.description"></a><h6>
|
||||
<a name="id572146"></a>
|
||||
<a name="id571892"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.functions.transform.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
For a sequence <tt class="computeroutput"><span class="identifier">seq</span></tt> and
|
||||
<a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
Function Object</a><EFBFBD><tt class="computeroutput"><span class="identifier">F</span></tt>,
|
||||
<tt class="computeroutput"><span class="identifier">transform</span></tt> returns a new
|
||||
sequence with elements created by applying <tt class="computeroutput"><span class="identifier">F</span></tt>
|
||||
<a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic Function
|
||||
Object</a> <tt class="computeroutput"><span class="identifier">F</span></tt>, <tt class="computeroutput"><span class="identifier">transform</span></tt> returns a new sequence with
|
||||
elements created by applying <tt class="computeroutput"><span class="identifier">F</span></tt>
|
||||
to each element of <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.transform.unary_version_synopsis"></a><h6>
|
||||
<a name="id572240"></a>
|
||||
<a name="id571986"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.functions.transform.unary_version_synopsis">Unary
|
||||
version synopsis</a>
|
||||
</h6>
|
||||
@ -52,7 +51,7 @@
|
||||
<span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id572444"></a><p class="title"><b>Table<EFBFBD>1.54.<2E>Parameters</b></p>
|
||||
<a name="id572190"></a><p class="title"><b>Table<EFBFBD>1.54.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -77,8 +76,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">f</span></tt></td>
|
||||
<td>A
|
||||
model of unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> where <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e</span><span class="special">)</span></tt> is a valid expression for each element
|
||||
<tt class="computeroutput"><span class="identifier">e</span></tt> of <tt class="computeroutput"><span class="identifier">seq</span></tt>
|
||||
</td>
|
||||
@ -89,7 +88,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.transform.expression_semantics"></a><h6>
|
||||
<a name="id572594"></a>
|
||||
<a name="id572339"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.functions.transform.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -107,7 +106,7 @@
|
||||
within <tt class="computeroutput"><span class="identifier">seq</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.transform.binary_version_synopsis"></a><h6>
|
||||
<a name="id572747"></a>
|
||||
<a name="id572492"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.functions.transform.binary_version_synopsis">Binary
|
||||
version synopsis</a>
|
||||
</h6>
|
||||
@ -121,7 +120,7 @@
|
||||
<span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="identifier">F</span> <span class="identifier">f</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id573014"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
|
||||
<a name="id572758"></a><p class="title"><b>Table<EFBFBD>1.55.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -155,9 +154,9 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">f</span></tt></td>
|
||||
<td>A
|
||||
model of binary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
Function Object</a> where <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><EFBFBD><span class="identifier">e2</span><span class="special">)</span></tt> is a valid expression for each pair
|
||||
model of binary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> where <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span> <span class="identifier">e2</span><span class="special">)</span></tt> is a valid expression for each pair
|
||||
of elements <tt class="computeroutput"><span class="identifier">e1</span></tt> and
|
||||
<tt class="computeroutput"><span class="identifier">e2</span></tt> of <tt class="computeroutput"><span class="identifier">seq1</span></tt> and <tt class="computeroutput"><span class="identifier">seq2</span></tt>
|
||||
respectively</td>
|
||||
@ -173,25 +172,25 @@
|
||||
</p>
|
||||
<p>
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a new sequence, containing
|
||||
the return values of <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span><EFBFBD><span class="identifier">e2</span><span class="special">)</span></tt> for each pair of elements <tt class="computeroutput"><span class="identifier">e1</span></tt> and <tt class="computeroutput"><span class="identifier">e2</span></tt>
|
||||
the return values of <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">e1</span><span class="special">,</span> <span class="identifier">e2</span><span class="special">)</span></tt> for each pair of elements <tt class="computeroutput"><span class="identifier">e1</span></tt> and <tt class="computeroutput"><span class="identifier">e2</span></tt>
|
||||
within <tt class="computeroutput"><span class="identifier">seq1</span></tt> and <tt class="computeroutput"><span class="identifier">seq2</span></tt> respectively.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.transform.complexity"></a><h6>
|
||||
<a name="id573334"></a>
|
||||
<a name="id573077"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.functions.transform.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.transform.header"></a><h6>
|
||||
<a name="id573365"></a>
|
||||
<a name="id573108"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.functions.transform.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">transform</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.transform.example"></a><h6>
|
||||
<a name="id573471"></a>
|
||||
<a name="id573214"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.functions.transform.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.functions.zip"></a><a href="zip.html" title="zip">zip</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.functions.zip.description"></a><h6>
|
||||
<a name="id584364"></a>
|
||||
<a name="id584105"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.functions.zip.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
of the members of the component sequences.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.zip.synopsis"></a><h6>
|
||||
<a name="id584397"></a>
|
||||
<a name="id584139"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.functions.zip.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="identifier">zip</span><span class="special">(</span><span class="identifier">Sequence1</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq1</span><span class="special">,</span> <span class="identifier">Sequence2</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq2</span><span class="special">,</span> <span class="special">...</span> <span class="identifier">SequenceN</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seqN</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id584680"></a><p class="title"><b>Table<EFBFBD>1.67.<2E>Parameters</b></p>
|
||||
<a name="id584422"></a><p class="title"><b>Table<EFBFBD>1.67.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -73,7 +73,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.functions.zip.expression_semantics"></a><h6>
|
||||
<a name="id584767"></a>
|
||||
<a name="id584509"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.functions.zip.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -89,25 +89,28 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing
|
||||
tuples of elements from sequences <tt class="computeroutput"><span class="identifier">seq1</span></tt>
|
||||
to <tt class="computeroutput"><span class="identifier">seqN</span></tt>. For example,
|
||||
applying zip to tuples <tt class="computeroutput"><span class="special">(</span><span class="number">1</span><span class="special">,</span><EFBFBD><span class="number">2</span><span class="special">,</span><EFBFBD><span class="number">3</span><span class="special">)</span></tt> and
|
||||
<tt class="computeroutput"><span class="special">(</span><span class="char">'a'</span><span class="special">,</span><EFBFBD><span class="char">'b'</span><span class="special">,</span><EFBFBD><span class="char">'c'</span><span class="special">)</span></tt> would return <tt class="computeroutput"><span class="special">((</span><span class="number">1</span><span class="special">,</span><EFBFBD><span class="char">'a'</span><span class="special">),(</span><span class="number">2</span><span class="special">,</span><EFBFBD><span class="char">'b'</span><span class="special">),(</span><span class="number">3</span><span class="special">,</span><EFBFBD><span class="char">'c'</span><span class="special">))</span></tt>
|
||||
applying zip to tuples <tt class="computeroutput"><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></tt>
|
||||
and <tt class="computeroutput"><span class="special">(</span><span class="char">'a'</span><span class="special">,</span> <span class="char">'b'</span><span class="special">,</span>
|
||||
<span class="char">'c'</span><span class="special">)</span></tt>
|
||||
would return <tt class="computeroutput"><span class="special">((</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">),(</span><span class="number">2</span><span class="special">,</span> <span class="char">'b'</span><span class="special">),(</span><span class="number">3</span><span class="special">,</span>
|
||||
<span class="char">'c'</span><span class="special">))</span></tt>
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.zip.complexity"></a><h6>
|
||||
<a name="id585067"></a>
|
||||
<a name="id584808"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.functions.zip.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant. Returns a view which is lazily evaluated.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.functions.zip.header"></a><h6>
|
||||
<a name="id585100"></a>
|
||||
<a name="id584840"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.functions.zip.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">algorithm</span><span class="special">/</span><span class="identifier">transformation</span><span class="special">/</span><span class="identifier">zip</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.functions.zip.example"></a><h6>
|
||||
<a name="id585204"></a>
|
||||
<a name="id584945"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.functions.zip.example">Example</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.clear"></a><a href="clear.html" title="clear">clear</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.clear.description"></a><h6>
|
||||
<a name="id593558"></a>
|
||||
<a name="id593294"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.metafunctions.clear.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.clear.synopsis"></a><h6>
|
||||
<a name="id593607"></a>
|
||||
<a name="id593342"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.metafunctions.clear.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id593708"></a><p class="title"><b>Table<EFBFBD>1.80.<2E>Parameters</b></p>
|
||||
<a name="id593443"></a><p class="title"><b>Table<EFBFBD>1.80.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -68,7 +68,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.clear.expression_semantics"></a><h6>
|
||||
<a name="id593776"></a>
|
||||
<a name="id593512"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.metafunctions.clear.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -84,14 +84,14 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns an empty sequence.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.clear.complexity"></a><h6>
|
||||
<a name="id593890"></a>
|
||||
<a name="id593625"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.metafunctions.clear.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.clear.header"></a><h6>
|
||||
<a name="id593921"></a>
|
||||
<a name="id593657"></a>
|
||||
<a href="clear.html#fusion.algorithms.transformation.metafunctions.clear.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -30,11 +30,11 @@
|
||||
and range delimiting iterator types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase.description"></a><h6>
|
||||
<a name="id594071"></a>
|
||||
<a name="id593807"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.metafunctions.erase.description">Description</a>
|
||||
</h6>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase.synopsis"></a><h6>
|
||||
<a name="id594098"></a>
|
||||
<a name="id593834"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.metafunctions.erase.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id594243"></a><p class="title"><b>Table<EFBFBD>1.81.<2E>Parameters</b></p>
|
||||
<a name="id593979"></a><p class="title"><b>Table<EFBFBD>1.81.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -92,7 +92,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase.expression_semantics"></a><h6>
|
||||
<a name="id594375"></a>
|
||||
<a name="id594111"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.metafunctions.erase.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -122,14 +122,14 @@
|
||||
and <tt class="computeroutput"><span class="identifier">It2</span></tt> removed.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase.complexity"></a><h6>
|
||||
<a name="id594636"></a>
|
||||
<a name="id594372"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.metafunctions.erase.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase.header"></a><h6>
|
||||
<a name="id594668"></a>
|
||||
<a name="id594404"></a>
|
||||
<a href="erase.html#fusion.algorithms.transformation.metafunctions.erase.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase_key"></a><a href="erase_key.html" title="erase_key">erase_key</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase_key.description"></a><h6>
|
||||
<a name="id594798"></a>
|
||||
<a name="id594534"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.metafunctions.erase_key.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
and key types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase_key.synopsis"></a><h6>
|
||||
<a name="id594848"></a>
|
||||
<a name="id594584"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.metafunctions.erase_key.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id594967"></a><p class="title"><b>Table<EFBFBD>1.82.<2E>Parameters</b></p>
|
||||
<a name="id594703"></a><p class="title"><b>Table<EFBFBD>1.82.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase_key.expression_semantics"></a><h6>
|
||||
<a name="id595063"></a>
|
||||
<a name="id594798"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.metafunctions.erase_key.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -98,14 +98,14 @@
|
||||
except those with key <tt class="computeroutput"><span class="identifier">Key</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase_key.complexity"></a><h6>
|
||||
<a name="id595207"></a>
|
||||
<a name="id594943"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.metafunctions.erase_key.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.erase_key.header"></a><h6>
|
||||
<a name="id595239"></a>
|
||||
<a name="id594975"></a>
|
||||
<a href="erase_key.html#fusion.algorithms.transformation.metafunctions.erase_key.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter"></a><a href="filter.html" title="filter">filter</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter.description"></a><h6>
|
||||
<a name="id588634"></a>
|
||||
<a name="id588375"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.metafunctions.filter.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
and type to retain.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter.synopsis"></a><h6>
|
||||
<a name="id588683"></a>
|
||||
<a name="id588424"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.metafunctions.filter.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id588801"></a><p class="title"><b>Table<EFBFBD>1.72.<2E>Parameter</b></p>
|
||||
<a name="id588542"></a><p class="title"><b>Table<EFBFBD>1.72.<2E>Parameter</b></p>
|
||||
<table class="table" summary="Parameter">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter.expression_semantics"></a><h6>
|
||||
<a name="id588898"></a>
|
||||
<a name="id588639"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.metafunctions.filter.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,17 +96,18 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing
|
||||
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
|
||||
that are of type <tt class="computeroutput"><span class="identifier">T</span></tt>. Equivalent
|
||||
to <tt class="computeroutput"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter_if</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">,</span><EFBFBD><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span><EFBFBD><span class="identifier">T</span><span class="special">></span><EFBFBD><span class="special">>::</span><span class="identifier">type</span></tt>.
|
||||
to <tt class="computeroutput"><a href="filter_if.html" title="filter_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">filter_if</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">,</span>
|
||||
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter.complexity"></a><h6>
|
||||
<a name="id589156"></a>
|
||||
<a name="id588896"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.metafunctions.filter.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter.header"></a><h6>
|
||||
<a name="id589188"></a>
|
||||
<a name="id588928"></a>
|
||||
<a href="filter.html#fusion.algorithms.transformation.metafunctions.filter.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter_if"></a><a href="filter_if.html" title="filter_if">filter_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter_if.description"></a><h6>
|
||||
<a name="id589315"></a>
|
||||
<a name="id589055"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.metafunctions.filter_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
and unary MPL Lambda Expression predicate type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter_if.synopsis"></a><h6>
|
||||
<a name="id589366"></a>
|
||||
<a name="id589106"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.metafunctions.filter_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id589485"></a><p class="title"><b>Table<EFBFBD>1.73.<2E>Parameter</b></p>
|
||||
<a name="id589226"></a><p class="title"><b>Table<EFBFBD>1.73.<2E>Parameter</b></p>
|
||||
<table class="table" summary="Parameter">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter_if.expression_semantics"></a><h6>
|
||||
<a name="id589581"></a>
|
||||
<a name="id589321"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.metafunctions.filter_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -99,14 +99,14 @@
|
||||
to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter_if.complexity"></a><h6>
|
||||
<a name="id589758"></a>
|
||||
<a name="id589498"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.metafunctions.filter_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.filter_if.header"></a><h6>
|
||||
<a name="id589790"></a>
|
||||
<a name="id589530"></a>
|
||||
<a href="filter_if.html#fusion.algorithms.transformation.metafunctions.filter_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert"></a><a href="insert.html" title="insert">insert</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert.description"></a><h6>
|
||||
<a name="id595370"></a>
|
||||
<a name="id595106"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.metafunctions.insert.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
position iterator and insertion types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert.synopsis"></a><h6>
|
||||
<a name="id595420"></a>
|
||||
<a name="id595156"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.metafunctions.insert.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id595556"></a><p class="title"><b>Table<EFBFBD>1.83.<2E>Parameters</b></p>
|
||||
<a name="id595292"></a><p class="title"><b>Table<EFBFBD>1.83.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -90,7 +90,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert.expression_semantics"></a><h6>
|
||||
<a name="id595681"></a>
|
||||
<a name="id595416"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.metafunctions.insert.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -109,14 +109,14 @@
|
||||
in <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert.complexity"></a><h6>
|
||||
<a name="id595848"></a>
|
||||
<a name="id595584"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.metafunctions.insert.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert.header"></a><h6>
|
||||
<a name="id595880"></a>
|
||||
<a name="id595616"></a>
|
||||
<a href="insert.html#fusion.algorithms.transformation.metafunctions.insert.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert_range"></a><a href="insert_range.html" title="insert_range">insert_range</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert_range.description"></a><h6>
|
||||
<a name="id596008"></a>
|
||||
<a name="id595744"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.metafunctions.insert_range.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
sequence, position iterator and insertion range types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert_range.synopsis"></a><h6>
|
||||
<a name="id596059"></a>
|
||||
<a name="id595794"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.metafunctions.insert_range.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id596195"></a><p class="title"><b>Table<EFBFBD>1.84.<2E>Parameters</b></p>
|
||||
<a name="id595931"></a><p class="title"><b>Table<EFBFBD>1.84.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -93,7 +93,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert_range.expression_semantics"></a><h6>
|
||||
<a name="id596330"></a>
|
||||
<a name="id596066"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.metafunctions.insert_range.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -112,14 +112,14 @@
|
||||
into <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert_range.complexity"></a><h6>
|
||||
<a name="id596498"></a>
|
||||
<a name="id596234"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.metafunctions.insert_range.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.insert_range.header"></a><h6>
|
||||
<a name="id596530"></a>
|
||||
<a name="id596266"></a>
|
||||
<a href="insert_range.html#fusion.algorithms.transformation.metafunctions.insert_range.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.join"></a><a href="join.html" title="join">join</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.join.description"></a><h6>
|
||||
<a name="id596658"></a>
|
||||
<a name="id596394"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.metafunctions.join.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result of joining 2 sequences, given the sequence types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.join.synopsis"></a><h6>
|
||||
<a name="id596691"></a>
|
||||
<a name="id596427"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.metafunctions.join.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.join.expression_semantics"></a><h6>
|
||||
<a name="id596820"></a>
|
||||
<a name="id596556"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.metafunctions.join.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -66,14 +66,14 @@
|
||||
The order of the elements in the 2 sequences is preserved.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.join.complexity"></a><h6>
|
||||
<a name="id596965"></a>
|
||||
<a name="id596701"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.metafunctions.join.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.join.header"></a><h6>
|
||||
<a name="id596997"></a>
|
||||
<a name="id596733"></a>
|
||||
<a href="join.html#fusion.algorithms.transformation.metafunctions.join.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_back"></a><a href="pop_back.html" title="pop_back">pop_back</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_back.description"></a><h6>
|
||||
<a name="id597775"></a>
|
||||
<a name="id597510"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.metafunctions.pop_back.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_back.synopsis"></a><h6>
|
||||
<a name="id597824"></a>
|
||||
<a name="id597559"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.metafunctions.pop_back.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id597926"></a><p class="title"><b>Table<EFBFBD>1.85.<2E>Parameters</b></p>
|
||||
<a name="id597660"></a><p class="title"><b>Table<EFBFBD>1.85.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -71,7 +71,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_back.expression_semantics"></a><h6>
|
||||
<a name="id598002"></a>
|
||||
<a name="id597737"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.metafunctions.pop_back.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -89,14 +89,14 @@
|
||||
except the last element.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_back.complexity"></a><h6>
|
||||
<a name="id598127"></a>
|
||||
<a name="id597861"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.metafunctions.pop_back.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_back.header"></a><h6>
|
||||
<a name="id598159"></a>
|
||||
<a name="id597893"></a>
|
||||
<a href="pop_back.html#fusion.algorithms.transformation.metafunctions.pop_back.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_front"></a><a href="pop_front.html" title="pop_front">pop_front</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_front.description"></a><h6>
|
||||
<a name="id598287"></a>
|
||||
<a name="id598021"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.metafunctions.pop_front.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_front.synopsis"></a><h6>
|
||||
<a name="id598337"></a>
|
||||
<a name="id598071"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.metafunctions.pop_front.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id598438"></a><p class="title"><b>Table<EFBFBD>1.86.<2E>Parameters</b></p>
|
||||
<a name="id598173"></a><p class="title"><b>Table<EFBFBD>1.86.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -71,7 +71,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_front.expression_semantics"></a><h6>
|
||||
<a name="id598514"></a>
|
||||
<a name="id598248"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.metafunctions.pop_front.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -89,14 +89,14 @@
|
||||
except the first element.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_front.complexity"></a><h6>
|
||||
<a name="id598638"></a>
|
||||
<a name="id598373"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.metafunctions.pop_front.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.pop_front.header"></a><h6>
|
||||
<a name="id598670"></a>
|
||||
<a name="id598405"></a>
|
||||
<a href="pop_front.html#fusion.algorithms.transformation.metafunctions.pop_front.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_back"></a><a href="push_back.html" title="push_back">push_back</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_back.description"></a><h6>
|
||||
<a name="id598798"></a>
|
||||
<a name="id598533"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.metafunctions.push_back.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
the input sequence and element to push.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_back.synopsis"></a><h6>
|
||||
<a name="id598850"></a>
|
||||
<a name="id598584"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.metafunctions.push_back.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id598969"></a><p class="title"><b>Table<EFBFBD>1.87.<2E>Parameters</b></p>
|
||||
<a name="id598703"></a><p class="title"><b>Table<EFBFBD>1.87.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_back.expression_semantics"></a><h6>
|
||||
<a name="id599064"></a>
|
||||
<a name="id598799"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.metafunctions.push_back.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -99,14 +99,14 @@
|
||||
added to the end.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_back.complexity"></a><h6>
|
||||
<a name="id599210"></a>
|
||||
<a name="id598944"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.metafunctions.push_back.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_back.header"></a><h6>
|
||||
<a name="id599242"></a>
|
||||
<a name="id598976"></a>
|
||||
<a href="push_back.html#fusion.algorithms.transformation.metafunctions.push_back.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_front"></a><a href="push_front.html" title="push_front">push_front</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_front.description"></a><h6>
|
||||
<a name="id599370"></a>
|
||||
<a name="id599104"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.metafunctions.push_front.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
of the input sequence and element to push.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_front.synopsis"></a><h6>
|
||||
<a name="id599421"></a>
|
||||
<a name="id599155"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.metafunctions.push_front.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id599540"></a><p class="title"><b>Table<EFBFBD>1.88.<2E>Parameters</b></p>
|
||||
<a name="id599274"></a><p class="title"><b>Table<EFBFBD>1.88.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_front.expression_semantics"></a><h6>
|
||||
<a name="id599636"></a>
|
||||
<a name="id599370"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.metafunctions.push_front.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -99,14 +99,14 @@
|
||||
added to the beginning.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_front.complexity"></a><h6>
|
||||
<a name="id599781"></a>
|
||||
<a name="id599515"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.metafunctions.push_front.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.push_front.header"></a><h6>
|
||||
<a name="id599813"></a>
|
||||
<a name="id599547"></a>
|
||||
<a href="push_front.html#fusion.algorithms.transformation.metafunctions.push_front.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove"></a><a href="remove.html" title="remove">remove</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove.description"></a><h6>
|
||||
<a name="id591740"></a>
|
||||
<a name="id591476"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.metafunctions.remove.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
removal types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove.synopsis"></a><h6>
|
||||
<a name="id591790"></a>
|
||||
<a name="id591526"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.metafunctions.remove.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id591908"></a><p class="title"><b>Table<EFBFBD>1.77.<2E>Parameters</b></p>
|
||||
<a name="id591644"></a><p class="title"><b>Table<EFBFBD>1.77.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove.expression_semantics"></a><h6>
|
||||
<a name="id592004"></a>
|
||||
<a name="id591740"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.metafunctions.remove.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -96,17 +96,18 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Returns a sequence containing
|
||||
the elements of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>
|
||||
not of type <tt class="computeroutput"><span class="identifier">T</span></tt>. Equivalent
|
||||
to <tt class="computeroutput"><a href="replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">replace_if</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">,</span><EFBFBD><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span><EFBFBD><span class="identifier">T</span><span class="special">></span><EFBFBD><span class="special">>::</span><span class="identifier">type</span></tt>.
|
||||
to <tt class="computeroutput"><a href="replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">replace_if</span></tt></a><span class="special"><</span><span class="identifier">Sequence</span><span class="special">,</span>
|
||||
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">_</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove.complexity"></a><h6>
|
||||
<a name="id592260"></a>
|
||||
<a name="id591995"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.metafunctions.remove.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove.header"></a><h6>
|
||||
<a name="id592292"></a>
|
||||
<a name="id592028"></a>
|
||||
<a href="remove.html#fusion.algorithms.transformation.metafunctions.remove.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove_if"></a><a href="remove_if.html" title="remove_if">remove_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove_if.description"></a><h6>
|
||||
<a name="id592420"></a>
|
||||
<a name="id592155"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.metafunctions.remove_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
and unary MPL Lambda Expression predicate types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove_if.synopsis"></a><h6>
|
||||
<a name="id592470"></a>
|
||||
<a name="id592206"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.metafunctions.remove_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id592590"></a><p class="title"><b>Table<EFBFBD>1.78.<2E>Parameters</b></p>
|
||||
<a name="id592325"></a><p class="title"><b>Table<EFBFBD>1.78.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -82,7 +82,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove_if.expression_semantics"></a><h6>
|
||||
<a name="id592714"></a>
|
||||
<a name="id592450"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.metafunctions.remove_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -101,14 +101,14 @@
|
||||
to <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove_if.complexity"></a><h6>
|
||||
<a name="id592890"></a>
|
||||
<a name="id592626"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.metafunctions.remove_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.remove_if.header"></a><h6>
|
||||
<a name="id592922"></a>
|
||||
<a name="id592658"></a>
|
||||
<a href="remove_if.html#fusion.algorithms.transformation.metafunctions.remove_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace"></a><a href="replace.html" title="replace">replace</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace.description"></a><h6>
|
||||
<a name="id590547"></a>
|
||||
<a name="id590285"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.metafunctions.replace.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
the input sequence and element to replace.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace.synopsis"></a><h6>
|
||||
<a name="id590597"></a>
|
||||
<a name="id590335"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.metafunctions.replace.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id590715"></a><p class="title"><b>Table<EFBFBD>1.75.<2E>Parameters</b></p>
|
||||
<a name="id590454"></a><p class="title"><b>Table<EFBFBD>1.75.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -80,7 +80,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace.expression_semantics"></a><h6>
|
||||
<a name="id590811"></a>
|
||||
<a name="id590550"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.metafunctions.replace.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -97,14 +97,14 @@
|
||||
<a href="../functions/replace.html" title="replace"><tt class="computeroutput"><span class="identifier">replace</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace.complexity"></a><h6>
|
||||
<a name="id590951"></a>
|
||||
<a name="id590689"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.metafunctions.replace.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace.header"></a><h6>
|
||||
<a name="id590983"></a>
|
||||
<a name="id590721"></a>
|
||||
<a href="replace.html#fusion.algorithms.transformation.metafunctions.replace.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,17 +26,17 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace_if"></a><a href="replace_if.html" title="replace_if">replace_if</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace_if.description"></a><h6>
|
||||
<a name="id591110"></a>
|
||||
<a name="id590848"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.metafunctions.replace_if.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result type of <a href="../functions/replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a>, given the types
|
||||
of the sequence, <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
of the sequence, <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a> predicate and replacement object.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace_if.synopsis"></a><h6>
|
||||
<a name="id591170"></a>
|
||||
<a name="id590908"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.metafunctions.replace_if.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -50,7 +50,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id591305"></a><p class="title"><b>Table<EFBFBD>1.76.<2E>Parameters</b></p>
|
||||
<a name="id591043"></a><p class="title"><b>Table<EFBFBD>1.76.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -75,8 +75,8 @@
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span></tt></td>
|
||||
<td>A
|
||||
model of unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>Replacement predicate</td>
|
||||
@ -91,7 +91,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace_if.expression_semantics"></a><h6>
|
||||
<a name="id591430"></a>
|
||||
<a name="id591167"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.metafunctions.replace_if.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -108,14 +108,14 @@
|
||||
<a href="../functions/replace_if.html" title="replace_if"><tt class="computeroutput"><span class="identifier">replace_if</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace_if.complexity"></a><h6>
|
||||
<a name="id591580"></a>
|
||||
<a name="id591317"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.metafunctions.replace_if.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.replace_if.header"></a><h6>
|
||||
<a name="id591613"></a>
|
||||
<a name="id591349"></a>
|
||||
<a href="replace_if.html#fusion.algorithms.transformation.metafunctions.replace_if.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.reverse"></a><a href="reverse.html" title="reverse">reverse</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.reverse.description"></a><h6>
|
||||
<a name="id593050"></a>
|
||||
<a name="id592786"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.metafunctions.reverse.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
type.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.reverse.synopsis"></a><h6>
|
||||
<a name="id593099"></a>
|
||||
<a name="id592835"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.metafunctions.reverse.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id593200"></a><p class="title"><b>Table<EFBFBD>1.79.<2E>Parameters</b></p>
|
||||
<a name="id592936"></a><p class="title"><b>Table<EFBFBD>1.79.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -71,7 +71,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.reverse.expression_semantics"></a><h6>
|
||||
<a name="id593276"></a>
|
||||
<a name="id593012"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.metafunctions.reverse.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -88,14 +88,14 @@
|
||||
elements in the reverse order to <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.reverse.complexity"></a><h6>
|
||||
<a name="id593399"></a>
|
||||
<a name="id593135"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.metafunctions.reverse.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.reverse.header"></a><h6>
|
||||
<a name="id593431"></a>
|
||||
<a name="id593167"></a>
|
||||
<a href="reverse.html#fusion.algorithms.transformation.metafunctions.reverse.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,17 +26,17 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.transform"></a><a href="transform.html" title="transform">transform</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.transform.description"></a><h6>
|
||||
<a name="id589918"></a>
|
||||
<a name="id589658"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.metafunctions.transform.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the result of type <a href="../functions/transform.html" title="transform"><tt class="computeroutput"><span class="identifier">transform</span></tt></a>, given the sequence
|
||||
and <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
Function Object</a> types.
|
||||
and <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic Function
|
||||
Object</a> types.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.transform.synopsis"></a><h6>
|
||||
<a name="id589978"></a>
|
||||
<a name="id589718"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.metafunctions.transform.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -50,7 +50,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id590096"></a><p class="title"><b>Table<EFBFBD>1.74.<2E>Parameters</b></p>
|
||||
<a name="id589836"></a><p class="title"><b>Table<EFBFBD>1.74.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -68,14 +68,14 @@
|
||||
<td>A
|
||||
model of <a href="../../../sequences/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a><EFBFBD></td>
|
||||
Sequence</a> </td>
|
||||
<td>Operation's argument</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">F</span></tt></td>
|
||||
<td>A
|
||||
model of unary <a href="../../concepts/polymorphic_function_object.html" title="Polymorphic
|
||||
Function Object">Polymorphic
|
||||
model of unary <a href="../../concepts/poly.html" title=" Polymorphic Function
|
||||
Object">Polymorphic
|
||||
Function Object</a>
|
||||
</td>
|
||||
<td>Transformation function object</td>
|
||||
@ -84,7 +84,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.transform.expression_semantics"></a><h6>
|
||||
<a name="id590202"></a>
|
||||
<a name="id589940"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.metafunctions.transform.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -101,14 +101,14 @@
|
||||
<tt class="computeroutput"><span class="identifier">F</span><span class="special">::</span><span class="identifier">apply</span><span class="special"><</span><span class="identifier">E</span><span class="special">>::</span><span class="identifier">type</span></tt> for each element type <tt class="computeroutput"><span class="identifier">E</span></tt> in <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.transform.complexity"></a><h6>
|
||||
<a name="id590388"></a>
|
||||
<a name="id590126"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.metafunctions.transform.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.transform.header"></a><h6>
|
||||
<a name="id590420"></a>
|
||||
<a name="id590158"></a>
|
||||
<a href="transform.html#fusion.algorithms.transformation.metafunctions.transform.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h5 class="title">
|
||||
<a name="fusion.algorithms.transformation.metafunctions.zip"></a><a href="zip.html" title="zip">zip</a></h5></div></div></div>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.zip.description"></a><h6>
|
||||
<a name="id597123"></a>
|
||||
<a name="id596859"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.metafunctions.zip.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
of the members of the component sequences.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.zip.synopsis"></a><h6>
|
||||
<a name="id597156"></a>
|
||||
<a name="id596892"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.metafunctions.zip.synopsis">Synopsis</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
@ -50,7 +50,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.zip.expression_semantics"></a><h6>
|
||||
<a name="id597308"></a>
|
||||
<a name="id597044"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.metafunctions.zip.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -65,18 +65,22 @@
|
||||
<p>
|
||||
<span class="bold"><b>Semantics</b></span>: Return a sequence containing
|
||||
tuples of elements from each sequence. For example, applying zip to tuples
|
||||
<tt class="computeroutput"><span class="special">(</span><span class="number">1</span><span class="special">,</span><EFBFBD><span class="number">2</span><span class="special">,</span><EFBFBD><span class="number">3</span><span class="special">)</span></tt> and <tt class="computeroutput"><span class="special">(</span><span class="char">'a'</span><span class="special">,</span><EFBFBD><span class="char">'b'</span><span class="special">,</span><EFBFBD><span class="char">'c'</span><span class="special">)</span></tt> would
|
||||
return <tt class="computeroutput"><span class="special">((</span><span class="number">1</span><span class="special">,</span><EFBFBD><span class="char">'a'</span><span class="special">),(</span><span class="number">2</span><span class="special">,</span><EFBFBD><span class="char">'b'</span><span class="special">),(</span><span class="number">3</span><span class="special">,</span><EFBFBD><span class="char">'c'</span><span class="special">))</span></tt>
|
||||
<tt class="computeroutput"><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></tt>
|
||||
and <tt class="computeroutput"><span class="special">(</span><span class="char">'a'</span><span class="special">,</span> <span class="char">'b'</span><span class="special">,</span>
|
||||
<span class="char">'c'</span><span class="special">)</span></tt>
|
||||
would return <tt class="computeroutput"><span class="special">((</span><span class="number">1</span><span class="special">,</span> <span class="char">'a'</span><span class="special">),(</span><span class="number">2</span><span class="special">,</span> <span class="char">'b'</span><span class="special">),(</span><span class="number">3</span><span class="special">,</span>
|
||||
<span class="char">'c'</span><span class="special">))</span></tt>
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.zip.complexity"></a><h6>
|
||||
<a name="id597617"></a>
|
||||
<a name="id597351"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.metafunctions.zip.complexity">Complexity</a>
|
||||
</h6>
|
||||
<p>
|
||||
Constant.
|
||||
</p>
|
||||
<a name="fusion.algorithms.transformation.metafunctions.zip.header"></a><h6>
|
||||
<a name="id597648"></a>
|
||||
<a name="id597383"></a>
|
||||
<a href="zip.html#fusion.algorithms.transformation.metafunctions.zip.header">Header</a>
|
||||
</h6>
|
||||
<pre class="programlisting">
|
||||
|
@ -48,7 +48,7 @@
|
||||
</li>
|
||||
</ol></div>
|
||||
<a name="fusion.extension.our_example"></a><h3>
|
||||
<a name="id608175"></a>
|
||||
<a name="id607891"></a>
|
||||
<a href="extension.html#fusion.extension.our_example">Our example</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -80,7 +80,7 @@
|
||||
Start</a> guide.
|
||||
</p>
|
||||
<a name="fusion.extension.enabling_tag_dispatching"></a><h3>
|
||||
<a name="id608457"></a>
|
||||
<a name="id608173"></a>
|
||||
<a href="extension.html#fusion.extension.enabling_tag_dispatching">Enabling Tag Dispatching</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -121,7 +121,7 @@
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">mpl</span><span class="special">/</span><span class="identifier">tag_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.extension.designing_a_suitable_iterator"></a><h3>
|
||||
<a name="id608950"></a>
|
||||
<a name="id608666"></a>
|
||||
<a href="extension.html#fusion.extension.designing_a_suitable_iterator">Designing a
|
||||
suitable iterator</a>
|
||||
</h3>
|
||||
@ -184,7 +184,7 @@
|
||||
clearer as we add features to our implementation.
|
||||
</p>
|
||||
<a name="fusion.extension.a_first_couple_of_instructive_features"></a><h3>
|
||||
<a name="id609586"></a>
|
||||
<a name="id609301"></a>
|
||||
<a href="extension.html#fusion.extension.a_first_couple_of_instructive_features">A first
|
||||
couple of instructive features</a>
|
||||
</h3>
|
||||
@ -327,7 +327,7 @@
|
||||
</p></td></tr>
|
||||
</table></div>
|
||||
<a name="fusion.extension.implementing_the_remaining_iterator_functionality"></a><h3>
|
||||
<a name="id611827"></a>
|
||||
<a name="id611542"></a>
|
||||
<a href="extension.html#fusion.extension.implementing_the_remaining_iterator_functionality">Implementing
|
||||
the remaining iterator functionality</a>
|
||||
</h3>
|
||||
@ -369,7 +369,7 @@
|
||||
Iterator</a> will also need an implementation of <tt class="computeroutput"><span class="identifier">prior_impl</span></tt>.
|
||||
For a <a href="iterators/concepts/random_access_iterator.html" title="Random
|
||||
Access Iterator">Random
|
||||
Access Iterator</a><EFBFBD><tt class="computeroutput"><span class="identifier">distance_impl</span></tt>
|
||||
Access Iterator</a> <tt class="computeroutput"><span class="identifier">distance_impl</span></tt>
|
||||
and <tt class="computeroutput"><span class="identifier">advance_impl</span></tt> also need
|
||||
to be provided in order to satisfy the necessary complexity guarantees. As
|
||||
our iterator is a <a href="iterators/concepts/random_access_iterator.html" title="Random
|
||||
@ -382,7 +382,7 @@
|
||||
are provided in the example code.
|
||||
</p>
|
||||
<a name="fusion.extension.implementing_the_intrinsic_functions_of_the_sequence"></a><h3>
|
||||
<a name="id612450"></a>
|
||||
<a name="id612165"></a>
|
||||
<a href="extension.html#fusion.extension.implementing_the_intrinsic_functions_of_the_sequence">Implementing
|
||||
the intrinsic functions of the sequence</a>
|
||||
</h3>
|
||||
@ -441,7 +441,7 @@
|
||||
<tt class="computeroutput"><span class="identifier">value_at_impl</span></tt> and <tt class="computeroutput"><span class="identifier">at_impl</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.extension.enabling_our_type_as_an_associative_container"></a><h3>
|
||||
<a name="id613032"></a>
|
||||
<a name="id612747"></a>
|
||||
<a href="extension.html#fusion.extension.enabling_our_type_as_an_associative_container">Enabling
|
||||
our type as an associative container</a>
|
||||
</h3>
|
||||
@ -507,7 +507,7 @@
|
||||
of <tt class="computeroutput"><span class="identifier">is_associative_impl</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.extension.summary"></a><h3>
|
||||
<a name="id614006"></a>
|
||||
<a name="id613721"></a>
|
||||
<a href="extension.html#fusion.extension.summary">Summary</a>
|
||||
</h3>
|
||||
<p>
|
||||
|
@ -41,7 +41,8 @@
|
||||
on virtual functions to provide polymorphic behavior since the actual type
|
||||
is erased as soon as you store a pointer to a derived class to a pointer to
|
||||
its base. The held objects must be related: you cannot hold objects of unrelated
|
||||
types such as <tt class="computeroutput"><span class="keyword">char</span></tt>, <tt class="computeroutput"><span class="keyword">int</span></tt>, <tt class="computeroutput"><span class="keyword">class</span><EFBFBD><span class="identifier">X</span></tt>, <tt class="computeroutput"><span class="keyword">float</span></tt>,
|
||||
types such as <tt class="computeroutput"><span class="keyword">char</span></tt>, <tt class="computeroutput"><span class="keyword">int</span></tt>, <tt class="computeroutput"><span class="keyword">class</span>
|
||||
<span class="identifier">X</span></tt>, <tt class="computeroutput"><span class="keyword">float</span></tt>,
|
||||
etc. Oh sure you can use something like <a href="http://boost.org/doc/html/any.html" target="_top">Boost.Any</a>
|
||||
to hold arbitrary types, but then you pay more in terms of runtime costs and
|
||||
due to the fact that you practically erased all type information, you'll have
|
||||
|
@ -40,7 +40,7 @@
|
||||
<a href="sequences.html" title="Sequences">Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.iterators.header"></a><h3>
|
||||
<a name="id457027"></a>
|
||||
<a name="id457008"></a>
|
||||
<a href="iterators.html#fusion.iterators.header">Header</a>
|
||||
</h3>
|
||||
<pre class="programlisting">
|
||||
|
@ -31,7 +31,7 @@
|
||||
Iterator">Bidirectional
|
||||
Iterator</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.concepts.bidirectional_iterator.description"></a><h5>
|
||||
<a name="id459716"></a>
|
||||
<a name="id459689"></a>
|
||||
<a href="bidirectional_iterator.html#fusion.iterators.concepts.bidirectional_iterator.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -61,7 +61,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.iterators.concepts.bidirectional_iterator.refinement_of"></a><h5>
|
||||
<a name="id459842"></a>
|
||||
<a name="id459815"></a>
|
||||
<a href="bidirectional_iterator.html#fusion.iterators.concepts.bidirectional_iterator.refinement_of">Refinement
|
||||
of</a>
|
||||
</h5>
|
||||
@ -70,7 +70,7 @@
|
||||
Iterator">Forward Iterator</a>
|
||||
</p>
|
||||
<a name="fusion.iterators.concepts.bidirectional_iterator.expression_requirements"></a><h5>
|
||||
<a name="id459883"></a>
|
||||
<a name="id459856"></a>
|
||||
<a href="bidirectional_iterator.html#fusion.iterators.concepts.bidirectional_iterator.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h5>
|
||||
@ -123,7 +123,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.bidirectional_iterator.meta_expressions"></a><h5>
|
||||
<a name="id460187"></a>
|
||||
<a name="id460160"></a>
|
||||
<a href="bidirectional_iterator.html#fusion.iterators.concepts.bidirectional_iterator.meta_expressions">Meta
|
||||
Expressions</a>
|
||||
</h5>
|
||||
@ -143,7 +143,7 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.bidirectional_iterator.expression_semantics"></a><h5>
|
||||
<a name="id460303"></a>
|
||||
<a name="id460277"></a>
|
||||
<a href="bidirectional_iterator.html#fusion.iterators.concepts.bidirectional_iterator.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -170,7 +170,7 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.bidirectional_iterator.invariants"></a><h5>
|
||||
<a name="id460425"></a>
|
||||
<a name="id460399"></a>
|
||||
<a href="bidirectional_iterator.html#fusion.iterators.concepts.bidirectional_iterator.invariants">Invariants</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -179,15 +179,16 @@
|
||||
Iterator</a>, the following invariants always hold:
|
||||
</p>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><tt class="computeroutput"><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">i</span><EFBFBD><span class="special">&&</span><EFBFBD><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span><EFBFBD><span class="special">==</span><EFBFBD><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span></tt></li>
|
||||
<li><tt class="computeroutput"><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span><EFBFBD><span class="special">==</span><EFBFBD><a href="../functions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><-</span><span class="number">1</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></tt></li>
|
||||
<li><tt class="computeroutput"><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">&&</span>
|
||||
<a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span> <span class="special">==</span> <a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span></tt></li>
|
||||
<li><tt class="computeroutput"><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span> <span class="special">==</span> <a href="../functions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><-</span><span class="number">1</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></tt></li>
|
||||
<li>
|
||||
Using <tt class="computeroutput"><a href="../functions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">prior</span></tt></a></tt> to traverse a sequence
|
||||
will never return a previously seen position
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.iterators.concepts.bidirectional_iterator.models"></a><h5>
|
||||
<a name="id460763"></a>
|
||||
<a name="id460735"></a>
|
||||
<a href="bidirectional_iterator.html#fusion.iterators.concepts.bidirectional_iterator.models">Models</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
|
@ -30,7 +30,7 @@
|
||||
Iterator">Forward
|
||||
Iterator</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.concepts.forward_iterator.description"></a><h5>
|
||||
<a name="id457205"></a>
|
||||
<a name="id457187"></a>
|
||||
<a href="forward_iterator.html#fusion.iterators.concepts.forward_iterator.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -63,7 +63,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.iterators.concepts.forward_iterator.expression_requirements"></a><h5>
|
||||
<a name="id457354"></a>
|
||||
<a name="id457335"></a>
|
||||
<a href="forward_iterator.html#fusion.iterators.concepts.forward_iterator.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h5>
|
||||
@ -91,15 +91,17 @@
|
||||
<td>Constant</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">j</span></tt></td>
|
||||
<td>Convertible to
|
||||
bool</td>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span> <span class="special">==</span>
|
||||
<span class="identifier">j</span></tt></td>
|
||||
<td>Convertible
|
||||
to bool</td>
|
||||
<td>Constant</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span><EFBFBD><span class="special">!=</span><EFBFBD><span class="identifier">j</span></tt></td>
|
||||
<td>Convertible to
|
||||
bool</td>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span> <span class="special">!=</span>
|
||||
<span class="identifier">j</span></tt></td>
|
||||
<td>Convertible
|
||||
to bool</td>
|
||||
<td>Constant</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -115,8 +117,8 @@
|
||||
<td>Constant</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../functions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">distance</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span><EFBFBD><span class="identifier">j</span><span class="special">)</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><EFBFBD><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../functions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">distance</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <span class="identifier">j</span><span class="special">)</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Constant</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -132,7 +134,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.forward_iterator.meta_expressions"></a><h5>
|
||||
<a name="id457952"></a>
|
||||
<a name="id457932"></a>
|
||||
<a href="forward_iterator.html#fusion.iterators.concepts.forward_iterator.meta_expressions">Meta
|
||||
Expressions</a>
|
||||
</h5>
|
||||
@ -152,20 +154,20 @@
|
||||
time</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/equal_to.html" title="equal_to"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><EFBFBD><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/equal_to.html" title="equal_to"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Amortized constant
|
||||
time</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><EFBFBD><span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Linear</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance.html" title="advance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></tt></a><span class="special"><</span><span class="identifier">I</span><EFBFBD><span class="special">,</span><span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance.html" title="advance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></tt></a><span class="special"><</span><span class="identifier">I</span> <span class="special">,</span><span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Linear</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></tt></a><span class="special"><</span><span class="identifier">I</span><EFBFBD><span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></tt></a><span class="special"><</span><span class="identifier">I</span> <span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Linear</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -181,7 +183,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.forward_iterator.expression_semantics"></a><h5>
|
||||
<a name="id458464"></a>
|
||||
<a name="id458443"></a>
|
||||
<a href="forward_iterator.html#fusion.iterators.concepts.forward_iterator.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -202,14 +204,16 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">j</span></tt></td>
|
||||
<td>Iterator equality
|
||||
comparison</td>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span> <span class="special">==</span>
|
||||
<span class="identifier">j</span></tt></td>
|
||||
<td>Iterator
|
||||
equality comparison</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span><EFBFBD><span class="special">!=</span><EFBFBD><span class="identifier">j</span></tt></td>
|
||||
<td>Iterator inequality
|
||||
comparison</td>
|
||||
<td><tt class="computeroutput"><span class="identifier">i</span> <span class="special">!=</span>
|
||||
<span class="identifier">j</span></tt></td>
|
||||
<td>Iterator
|
||||
inequality comparison</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../functions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></tt></td>
|
||||
@ -224,7 +228,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../functions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">distance</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span><EFBFBD><span class="identifier">j</span><span class="special">)</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../functions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">distance</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <span class="identifier">j</span><span class="special">)</span></tt></td>
|
||||
<td>The
|
||||
number of elements between <tt class="computeroutput"><span class="identifier">i</span></tt>
|
||||
and <tt class="computeroutput"><span class="identifier">j</span></tt>
|
||||
@ -245,16 +249,17 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.forward_iterator.invariants"></a><h5>
|
||||
<a name="id458958"></a>
|
||||
<a name="id458935"></a>
|
||||
<a href="forward_iterator.html#fusion.iterators.concepts.forward_iterator.invariants">Invariants</a>
|
||||
</h5>
|
||||
<p>
|
||||
The following invariants always hold:
|
||||
</p>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
<li><tt class="computeroutput"><span class="special">!(</span><span class="identifier">i</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">j</span><span class="special">)</span><EFBFBD><span class="special">==</span><EFBFBD><span class="special">(</span><span class="identifier">i</span><EFBFBD><span class="special">!=</span><EFBFBD><span class="identifier">j</span><span class="special">)</span></tt></li>
|
||||
<li><tt class="computeroutput"><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span><EFBFBD><span class="special">==</span><EFBFBD><a href="../functions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></tt></li>
|
||||
<li><tt class="computeroutput"><a href="../functions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">distance</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span><EFBFBD><a href="../functions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">))</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">N</span></tt></li>
|
||||
<li><tt class="computeroutput"><span class="special">!(</span><span class="identifier">i</span>
|
||||
<span class="special">==</span> <span class="identifier">j</span><span class="special">)</span> <span class="special">==</span> <span class="special">(</span><span class="identifier">i</span> <span class="special">!=</span> <span class="identifier">j</span><span class="special">)</span></tt></li>
|
||||
<li><tt class="computeroutput"><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span> <span class="special">==</span> <a href="../functions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></tt></li>
|
||||
<li><tt class="computeroutput"><a href="../functions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">distance</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <a href="../functions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">))</span> <span class="special">==</span> <span class="identifier">N</span></tt></li>
|
||||
<li>
|
||||
Using <tt class="computeroutput"><a href="../functions/next.html" title="next"><tt class="computeroutput"><span class="identifier">next</span></tt></a></tt> to traverse the
|
||||
sequence will never return to a previously seen position
|
||||
@ -264,11 +269,12 @@
|
||||
is equivalent to <tt class="computeroutput"><span class="special">*</span><span class="identifier">i</span></tt>
|
||||
</li>
|
||||
<li>
|
||||
If <tt class="computeroutput"><span class="identifier">i</span><EFBFBD><span class="special">==</span><EFBFBD><span class="identifier">j</span></tt> then <tt class="computeroutput"><span class="special">*</span><span class="identifier">i</span></tt> is equivalent to <tt class="computeroutput"><span class="special">*</span><span class="identifier">j</span></tt>
|
||||
If <tt class="computeroutput"><span class="identifier">i</span> <span class="special">==</span>
|
||||
<span class="identifier">j</span></tt> then <tt class="computeroutput"><span class="special">*</span><span class="identifier">i</span></tt> is equivalent to <tt class="computeroutput"><span class="special">*</span><span class="identifier">j</span></tt>
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.iterators.concepts.forward_iterator.models"></a><h5>
|
||||
<a name="id459374"></a>
|
||||
<a name="id459348"></a>
|
||||
<a href="forward_iterator.html#fusion.iterators.concepts.forward_iterator.models">Models</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
|
@ -30,7 +30,7 @@
|
||||
Access Iterator">Random
|
||||
Access Iterator</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.concepts.random_access_iterator.description"></a><h5>
|
||||
<a name="id460975"></a>
|
||||
<a name="id460947"></a>
|
||||
<a href="random_access_iterator.html#fusion.iterators.concepts.random_access_iterator.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -63,7 +63,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.iterators.concepts.random_access_iterator.refinement_of"></a><h5>
|
||||
<a name="id461123"></a>
|
||||
<a name="id461095"></a>
|
||||
<a href="random_access_iterator.html#fusion.iterators.concepts.random_access_iterator.refinement_of">Refinement
|
||||
of</a>
|
||||
</h5>
|
||||
@ -73,7 +73,7 @@
|
||||
Iterator</a>
|
||||
</p>
|
||||
<a name="fusion.iterators.concepts.random_access_iterator.expression_requirements"></a><h5>
|
||||
<a name="id461164"></a>
|
||||
<a name="id461135"></a>
|
||||
<a href="random_access_iterator.html#fusion.iterators.concepts.random_access_iterator.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h5>
|
||||
@ -126,7 +126,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.random_access_iterator.meta_expressions"></a><h5>
|
||||
<a name="id461465"></a>
|
||||
<a name="id461437"></a>
|
||||
<a href="random_access_iterator.html#fusion.iterators.concepts.random_access_iterator.meta_expressions">Meta
|
||||
Expressions</a>
|
||||
</h5>
|
||||
@ -141,24 +141,24 @@
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><EFBFBD><span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Amortized constant
|
||||
time</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance.html" title="advance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><EFBFBD><span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/advance.html" title="advance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Amortized constant
|
||||
time</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></tt></a><span class="special"><</span><span class="identifier">I</span><EFBFBD><span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td><tt class="computeroutput"><a href="../metafunctions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></tt></a><span class="special"><</span><span class="identifier">I</span> <span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></tt></td>
|
||||
<td>Amortized constant
|
||||
time</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterators.concepts.random_access_iterator.models"></a><h5>
|
||||
<a name="id461728"></a>
|
||||
<a name="id461698"></a>
|
||||
<a href="random_access_iterator.html#fusion.iterators.concepts.random_access_iterator.models">Models</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.functions.advance"></a><a href="advance.html" title="advance">advance</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.advance.description"></a><h5>
|
||||
<a name="id465445"></a>
|
||||
<a name="id465416"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance.synopsis"></a><h5>
|
||||
<a name="id465475"></a>
|
||||
<a name="id465445"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/advance.html" title="advance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">advance</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id465646"></a><p class="title"><b>Table<EFBFBD>1.6.<2E>Parameters</b></p>
|
||||
<a name="id465617"></a><p class="title"><b>Table<EFBFBD>1.6.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -76,7 +76,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.advance.expression_semantics"></a><h5>
|
||||
<a name="id465739"></a>
|
||||
<a name="id465710"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -97,14 +97,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance.header"></a><h5>
|
||||
<a name="id465896"></a>
|
||||
<a name="id465867"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.functions.advance.example"></a><h5>
|
||||
<a name="id465991"></a>
|
||||
<a name="id465961"></a>
|
||||
<a href="advance.html#fusion.iterators.functions.advance.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.functions.advance_c"></a><a href="advance_c.html" title="advance_c">advance_c</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.advance_c.description"></a><h5>
|
||||
<a name="id466287"></a>
|
||||
<a name="id466258"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance_c.synopsis"></a><h5>
|
||||
<a name="id466319"></a>
|
||||
<a name="id466289"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/advance_c.html" title="advance_c"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">advance_c</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id466491"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
<a name="id466462"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -76,7 +76,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.advance_c.expression_semantics"></a><h5>
|
||||
<a name="id466585"></a>
|
||||
<a name="id466555"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -97,14 +97,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.advance_c.header"></a><h5>
|
||||
<a name="id466741"></a>
|
||||
<a name="id466712"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.functions.advance_c.example"></a><h5>
|
||||
<a name="id466835"></a>
|
||||
<a name="id466806"></a>
|
||||
<a href="advance_c.html#fusion.iterators.functions.advance_c.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.functions.deref"></a><a href="deref.html" title="deref">deref</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.deref.description"></a><h5>
|
||||
<a name="id461984"></a>
|
||||
<a name="id461955"></a>
|
||||
<a href="deref.html#fusion.iterators.functions.deref.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Deferences an iterator.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.deref.synopsis"></a><h5>
|
||||
<a name="id462014"></a>
|
||||
<a name="id461985"></a>
|
||||
<a href="deref.html#fusion.iterators.functions.deref.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">deref</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id462157"></a><p class="title"><b>Table<EFBFBD>1.2.<2E>Parameters</b></p>
|
||||
<a name="id462128"></a><p class="title"><b>Table<EFBFBD>1.2.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.deref.expression_semantics"></a><h5>
|
||||
<a name="id462230"></a>
|
||||
<a name="id462202"></a>
|
||||
<a href="deref.html#fusion.iterators.functions.deref.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -82,14 +82,14 @@
|
||||
<tt class="computeroutput"><span class="identifier">i</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.deref.header"></a><h5>
|
||||
<a name="id462374"></a>
|
||||
<a name="id462345"></a>
|
||||
<a href="deref.html#fusion.iterators.functions.deref.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.functions.deref.example"></a><h5>
|
||||
<a name="id462468"></a>
|
||||
<a name="id462439"></a>
|
||||
<a href="deref.html#fusion.iterators.functions.deref.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.functions.distance"></a><a href="distance.html" title="distance">distance</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.distance.description"></a><h5>
|
||||
<a name="id464603"></a>
|
||||
<a name="id464574"></a>
|
||||
<a href="distance.html#fusion.iterators.functions.distance.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Returns the distance between 2 iterators.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.distance.synopsis"></a><h5>
|
||||
<a name="id464632"></a>
|
||||
<a name="id464603"></a>
|
||||
<a href="distance.html#fusion.iterators.functions.distance.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -44,7 +44,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/distance.html" title="distance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">distance</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">J</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">j</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id464832"></a><p class="title"><b>Table<EFBFBD>1.5.<2E>Parameters</b></p>
|
||||
<a name="id464803"></a><p class="title"><b>Table<EFBFBD>1.5.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -69,7 +69,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.distance.expression_semantics"></a><h5>
|
||||
<a name="id464916"></a>
|
||||
<a name="id464887"></a>
|
||||
<a href="distance.html#fusion.iterators.functions.distance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -84,14 +84,14 @@
|
||||
iterators <tt class="computeroutput"><span class="identifier">i</span></tt> and <tt class="computeroutput"><span class="identifier">j</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.distance.header"></a><h5>
|
||||
<a name="id465041"></a>
|
||||
<a name="id465012"></a>
|
||||
<a href="distance.html#fusion.iterators.functions.distance.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">distance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.functions.distance.example"></a><h5>
|
||||
<a name="id465136"></a>
|
||||
<a name="id465106"></a>
|
||||
<a href="distance.html#fusion.iterators.functions.distance.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.functions.next"></a><a href="next.html" title="next">next</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.next.description"></a><h5>
|
||||
<a name="id462914"></a>
|
||||
<a name="id462885"></a>
|
||||
<a href="next.html#fusion.iterators.functions.next.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator 1 position forwards.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.next.synopsis"></a><h5>
|
||||
<a name="id462944"></a>
|
||||
<a name="id462915"></a>
|
||||
<a href="next.html#fusion.iterators.functions.next.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/next.html" title="next"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">next</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id463088"></a><p class="title"><b>Table<EFBFBD>1.3.<2E>Parameters</b></p>
|
||||
<a name="id463059"></a><p class="title"><b>Table<EFBFBD>1.3.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.next.expression_semantics"></a><h5>
|
||||
<a name="id463160"></a>
|
||||
<a name="id463131"></a>
|
||||
<a href="next.html#fusion.iterators.functions.next.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -83,14 +83,14 @@
|
||||
next element after <tt class="computeroutput"><span class="identifier">i</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.next.header"></a><h5>
|
||||
<a name="id463254"></a>
|
||||
<a name="id463225"></a>
|
||||
<a href="next.html#fusion.iterators.functions.next.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.functions.next.example"></a><h5>
|
||||
<a name="id463347"></a>
|
||||
<a name="id463319"></a>
|
||||
<a href="next.html#fusion.iterators.functions.next.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.functions.prior"></a><a href="prior.html" title="prior">prior</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.functions.prior.description"></a><h5>
|
||||
<a name="id463801"></a>
|
||||
<a name="id463772"></a>
|
||||
<a href="prior.html#fusion.iterators.functions.prior.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator 1 position backwards.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.prior.synopsis"></a><h5>
|
||||
<a name="id463831"></a>
|
||||
<a name="id463802"></a>
|
||||
<a href="prior.html#fusion.iterators.functions.prior.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -43,7 +43,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/prior.html" title="prior"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">prior</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id463974"></a><p class="title"><b>Table<EFBFBD>1.4.<2E>Parameters</b></p>
|
||||
<a name="id463945"></a><p class="title"><b>Table<EFBFBD>1.4.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -67,7 +67,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.functions.prior.expression_semantics"></a><h5>
|
||||
<a name="id464048"></a>
|
||||
<a name="id464019"></a>
|
||||
<a href="prior.html#fusion.iterators.functions.prior.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -83,14 +83,14 @@
|
||||
element prior to <tt class="computeroutput"><span class="identifier">i</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.functions.prior.header"></a><h5>
|
||||
<a name="id464152"></a>
|
||||
<a name="id464123"></a>
|
||||
<a href="prior.html#fusion.iterators.functions.prior.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">prior</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.functions.prior.example"></a><h5>
|
||||
<a name="id464247"></a>
|
||||
<a name="id464218"></a>
|
||||
<a href="prior.html#fusion.iterators.functions.prior.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.advance"></a><a href="advance.html" title="advance">advance</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.advance.description"></a><h5>
|
||||
<a name="id474500"></a>
|
||||
<a name="id474470"></a>
|
||||
<a href="advance.html#fusion.iterators.metafunctions.advance.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.advance.synopsis"></a><h5>
|
||||
<a name="id474531"></a>
|
||||
<a name="id474501"></a>
|
||||
<a href="advance.html#fusion.iterators.metafunctions.advance.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id474647"></a><p class="title"><b>Table<EFBFBD>1.17.<2E>Parameters</b></p>
|
||||
<a name="id474616"></a><p class="title"><b>Table<EFBFBD>1.17.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -79,7 +79,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.advance.expression_semantics"></a><h5>
|
||||
<a name="id474741"></a>
|
||||
<a name="id474710"></a>
|
||||
<a href="advance.html#fusion.iterators.metafunctions.advance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -99,14 +99,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.advance.header"></a><h5>
|
||||
<a name="id474911"></a>
|
||||
<a name="id474881"></a>
|
||||
<a href="advance.html#fusion.iterators.metafunctions.advance.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.advance.example"></a><h5>
|
||||
<a name="id475006"></a>
|
||||
<a name="id474975"></a>
|
||||
<a href="advance.html#fusion.iterators.metafunctions.advance.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.advance_c"></a><a href="advance_c.html" title="advance_c">advance_c</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.advance_c.description"></a><h5>
|
||||
<a name="id475466"></a>
|
||||
<a name="id475436"></a>
|
||||
<a href="advance_c.html#fusion.iterators.metafunctions.advance_c.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.advance_c.synopsis"></a><h5>
|
||||
<a name="id475497"></a>
|
||||
<a name="id475466"></a>
|
||||
<a href="advance_c.html#fusion.iterators.metafunctions.advance_c.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id475614"></a><p class="title"><b>Table<EFBFBD>1.18.<2E>Parameters</b></p>
|
||||
<a name="id475583"></a><p class="title"><b>Table<EFBFBD>1.18.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -79,7 +79,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.advance_c.expression_semantics"></a><h5>
|
||||
<a name="id475708"></a>
|
||||
<a name="id475677"></a>
|
||||
<a href="advance_c.html#fusion.iterators.metafunctions.advance_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -96,17 +96,17 @@
|
||||
If <tt class="computeroutput"><span class="identifier">I</span></tt> is a <a href="../concepts/bidirectional_iterator.html" title="Bidirectional
|
||||
Iterator">Bidirectional
|
||||
Iterator</a> then <tt class="computeroutput"><span class="identifier">N</span></tt>
|
||||
may be negative. Equivalent to <tt class="computeroutput"><a href="advance.html" title="advance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><EFBFBD><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special"><</span><span class="identifier">N</span><span class="special">></span><EFBFBD><span class="special">>::</span><span class="identifier">type</span></tt>.
|
||||
may be negative. Equivalent to <tt class="computeroutput"><a href="advance.html" title="advance"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special"><</span><span class="identifier">N</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.advance_c.header"></a><h5>
|
||||
<a name="id475980"></a>
|
||||
<a name="id475948"></a>
|
||||
<a href="advance_c.html#fusion.iterators.metafunctions.advance_c.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.advance_c.example"></a><h5>
|
||||
<a name="id476073"></a>
|
||||
<a name="id476042"></a>
|
||||
<a href="advance_c.html#fusion.iterators.metafunctions.advance_c.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.deref"></a><a href="deref.html" title="deref">deref</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.deref.description"></a><h5>
|
||||
<a name="id470121"></a>
|
||||
<a name="id470091"></a>
|
||||
<a href="deref.html#fusion.iterators.metafunctions.deref.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Returns the type that will be returned by dereferencing an iterator.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.deref.synposis"></a><h5>
|
||||
<a name="id470153"></a>
|
||||
<a name="id470122"></a>
|
||||
<a href="deref.html#fusion.iterators.metafunctions.deref.synposis">Synposis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id470251"></a><p class="title"><b>Table<EFBFBD>1.12.<2E>Parameters</b></p>
|
||||
<a name="id470221"></a><p class="title"><b>Table<EFBFBD>1.12.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -70,7 +70,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.deref.expression_semantics"></a><h5>
|
||||
<a name="id470324"></a>
|
||||
<a name="id470294"></a>
|
||||
<a href="deref.html#fusion.iterators.metafunctions.deref.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -85,14 +85,14 @@
|
||||
an iterator of type <tt class="computeroutput"><span class="identifier">I</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.deref.header"></a><h5>
|
||||
<a name="id470435"></a>
|
||||
<a name="id470405"></a>
|
||||
<a href="deref.html#fusion.iterators.metafunctions.deref.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.deref.example"></a><h5>
|
||||
<a name="id470530"></a>
|
||||
<a name="id470500"></a>
|
||||
<a href="deref.html#fusion.iterators.metafunctions.deref.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.distance"></a><a href="distance.html" title="distance">distance</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.distance.description"></a><h5>
|
||||
<a name="id473606"></a>
|
||||
<a name="id473576"></a>
|
||||
<a href="distance.html#fusion.iterators.metafunctions.distance.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Returns the distance between two iterators.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.distance.synopsis"></a><h5>
|
||||
<a name="id473638"></a>
|
||||
<a name="id473608"></a>
|
||||
<a href="distance.html#fusion.iterators.metafunctions.distance.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id473755"></a><p class="title"><b>Table<EFBFBD>1.16.<2E>Parameters</b></p>
|
||||
<a name="id473725"></a><p class="title"><b>Table<EFBFBD>1.16.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -72,7 +72,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.distance.expression_semantics"></a><h5>
|
||||
<a name="id473841"></a>
|
||||
<a name="id473811"></a>
|
||||
<a href="distance.html#fusion.iterators.metafunctions.distance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -88,14 +88,14 @@
|
||||
<tt class="computeroutput"><span class="identifier">J</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.distance.header"></a><h5>
|
||||
<a name="id473974"></a>
|
||||
<a name="id473944"></a>
|
||||
<a href="distance.html#fusion.iterators.metafunctions.distance.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">distance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.distance.example"></a><h5>
|
||||
<a name="id474068"></a>
|
||||
<a name="id474037"></a>
|
||||
<a href="distance.html#fusion.iterators.metafunctions.distance.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.equal_to"></a><a href="equal_to.html" title="equal_to">equal_to</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.equal_to.description"></a><h5>
|
||||
<a name="id472714"></a>
|
||||
<a name="id472683"></a>
|
||||
<a href="equal_to.html#fusion.iterators.metafunctions.equal_to.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -34,7 +34,7 @@
|
||||
and <tt class="computeroutput"><span class="identifier">J</span></tt> are equal.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.equal_to.synopsis"></a><h5>
|
||||
<a name="id472765"></a>
|
||||
<a name="id472734"></a>
|
||||
<a href="equal_to.html#fusion.iterators.metafunctions.equal_to.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id472882"></a><p class="title"><b>Table<EFBFBD>1.15.<2E>Parameters</b></p>
|
||||
<a name="id472852"></a><p class="title"><b>Table<EFBFBD>1.15.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -71,7 +71,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.equal_to.expression_semantics"></a><h5>
|
||||
<a name="id472956"></a>
|
||||
<a name="id472926"></a>
|
||||
<a href="equal_to.html#fusion.iterators.metafunctions.equal_to.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -87,14 +87,14 @@
|
||||
Returns <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></tt> otherwise.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.equal_to.header"></a><h5>
|
||||
<a name="id473149"></a>
|
||||
<a name="id473119"></a>
|
||||
<a href="equal_to.html#fusion.iterators.metafunctions.equal_to.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">equal_to</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.equal_to.example"></a><h5>
|
||||
<a name="id473243"></a>
|
||||
<a name="id473213"></a>
|
||||
<a href="equal_to.html#fusion.iterators.metafunctions.equal_to.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.next"></a><a href="next.html" title="next">next</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.next.description"></a><h5>
|
||||
<a name="id471110"></a>
|
||||
<a name="id471079"></a>
|
||||
<a href="next.html#fusion.iterators.metafunctions.next.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Returns the type of the next iterator in a sequence.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.next.synposis"></a><h5>
|
||||
<a name="id471140"></a>
|
||||
<a name="id471109"></a>
|
||||
<a href="next.html#fusion.iterators.metafunctions.next.synposis">Synposis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id471239"></a><p class="title"><b>Table<EFBFBD>1.13.<2E>Parameters</b></p>
|
||||
<a name="id471208"></a><p class="title"><b>Table<EFBFBD>1.13.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -70,7 +70,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.next.expression_semantics"></a><h5>
|
||||
<a name="id471312"></a>
|
||||
<a name="id471281"></a>
|
||||
<a href="next.html#fusion.iterators.metafunctions.next.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -86,14 +86,14 @@
|
||||
next element in the sequence after <tt class="computeroutput"><span class="identifier">I</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.next.header"></a><h5>
|
||||
<a name="id471432"></a>
|
||||
<a name="id471402"></a>
|
||||
<a href="next.html#fusion.iterators.metafunctions.next.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.next.example"></a><h5>
|
||||
<a name="id471526"></a>
|
||||
<a name="id471495"></a>
|
||||
<a href="next.html#fusion.iterators.metafunctions.next.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.prior"></a><a href="prior.html" title="prior">prior</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.prior.description"></a><h5>
|
||||
<a name="id471831"></a>
|
||||
<a name="id471801"></a>
|
||||
<a href="prior.html#fusion.iterators.metafunctions.prior.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Returns the type of the previous iterator in a sequence.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.prior.synopsis"></a><h5>
|
||||
<a name="id471863"></a>
|
||||
<a name="id471832"></a>
|
||||
<a href="prior.html#fusion.iterators.metafunctions.prior.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id471962"></a><p class="title"><b>Table<EFBFBD>1.14.<2E>Parameters</b></p>
|
||||
<a name="id471931"></a><p class="title"><b>Table<EFBFBD>1.14.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -70,7 +70,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.prior.expression_semantics"></a><h5>
|
||||
<a name="id472034"></a>
|
||||
<a name="id472004"></a>
|
||||
<a href="prior.html#fusion.iterators.metafunctions.prior.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -86,14 +86,14 @@
|
||||
previous element in the sequence before <tt class="computeroutput"><span class="identifier">I</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.prior.header"></a><h5>
|
||||
<a name="id472156"></a>
|
||||
<a name="id472126"></a>
|
||||
<a href="prior.html#fusion.iterators.metafunctions.prior.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">prior</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.prior.example"></a><h5>
|
||||
<a name="id472251"></a>
|
||||
<a name="id472220"></a>
|
||||
<a href="prior.html#fusion.iterators.metafunctions.prior.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,14 +26,14 @@
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.iterators.metafunctions.value_of"></a><a href="value_of.html" title="value_of">value_of</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.metafunctions.value_of.description"></a><h5>
|
||||
<a name="id469113"></a>
|
||||
<a name="id469083"></a>
|
||||
<a href="value_of.html#fusion.iterators.metafunctions.value_of.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Returns the type stored at the position of an iterator.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.value_of.synopsis"></a><h5>
|
||||
<a name="id469142"></a>
|
||||
<a name="id469112"></a>
|
||||
<a href="value_of.html#fusion.iterators.metafunctions.value_of.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id469242"></a><p class="title"><b>Table<EFBFBD>1.11.<2E>Parameters</b></p>
|
||||
<a name="id469212"></a><p class="title"><b>Table<EFBFBD>1.11.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -70,7 +70,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.metafunctions.value_of.expression_semantics"></a><h5>
|
||||
<a name="id469315"></a>
|
||||
<a name="id469285"></a>
|
||||
<a href="value_of.html#fusion.iterators.metafunctions.value_of.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -85,14 +85,14 @@
|
||||
a sequence at iterator position <tt class="computeroutput"><span class="identifier">I</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.metafunctions.value_of.header"></a><h5>
|
||||
<a name="id469426"></a>
|
||||
<a name="id469395"></a>
|
||||
<a href="value_of.html#fusion.iterators.metafunctions.value_of.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">value_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.metafunctions.value_of.example"></a><h5>
|
||||
<a name="id469520"></a>
|
||||
<a name="id469490"></a>
|
||||
<a href="value_of.html#fusion.iterators.metafunctions.value_of.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -31,14 +31,14 @@
|
||||
=="> Operator
|
||||
==</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.operators.operator_equality.description"></a><h5>
|
||||
<a name="id468018"></a>
|
||||
<a name="id467988"></a>
|
||||
<a href="operator_equality.html#fusion.iterators.operators.operator_equality.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Compares 2 iterators for equality.
|
||||
</p>
|
||||
<a name="fusion.iterators.operators.operator_equality.synopsis"></a><h5>
|
||||
<a name="id468048"></a>
|
||||
<a name="id468019"></a>
|
||||
<a href="operator_equality.html#fusion.iterators.operators.operator_equality.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="emphasis"><em>unspecified</em></span> <span class="keyword">operator</span><span class="special">==(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">J</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id468190"></a><p class="title"><b>Table<EFBFBD>1.9.<2E>Parameters</b></p>
|
||||
<a name="id468160"></a><p class="title"><b>Table<EFBFBD>1.9.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -72,7 +72,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.operators.operator_equality.expression_semantics"></a><h5>
|
||||
<a name="id468265"></a>
|
||||
<a name="id468235"></a>
|
||||
<a href="operator_equality.html#fusion.iterators.operators.operator_equality.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -88,7 +88,7 @@
|
||||
and <tt class="computeroutput"><span class="identifier">j</span></tt> respectively.
|
||||
</p>
|
||||
<a name="fusion.iterators.operators.operator_equality.header"></a><h5>
|
||||
<a name="id468449"></a>
|
||||
<a name="id468419"></a>
|
||||
<a href="operator_equality.html#fusion.iterators.operators.operator_equality.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -30,14 +30,14 @@
|
||||
!="> Operator
|
||||
!=</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.operators.operator_inequality.description"></a><h5>
|
||||
<a name="id468567"></a>
|
||||
<a name="id468536"></a>
|
||||
<a href="operator_inequality.html#fusion.iterators.operators.operator_inequality.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Compares 2 iterators for inequality.
|
||||
</p>
|
||||
<a name="fusion.iterators.operators.operator_inequality.synopsis"></a><h5>
|
||||
<a name="id468598"></a>
|
||||
<a name="id468568"></a>
|
||||
<a href="operator_inequality.html#fusion.iterators.operators.operator_inequality.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -48,7 +48,7 @@
|
||||
<span class="emphasis"><em>unspecified</em></span> <span class="keyword">operator</span><span class="special">==(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">J</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id468740"></a><p class="title"><b>Table<EFBFBD>1.10.<2E>Parameters</b></p>
|
||||
<a name="id468710"></a><p class="title"><b>Table<EFBFBD>1.10.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -71,7 +71,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.operators.operator_inequality.expression_semantics"></a><h5>
|
||||
<a name="id468815"></a>
|
||||
<a name="id468785"></a>
|
||||
<a href="operator_inequality.html#fusion.iterators.operators.operator_inequality.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -84,7 +84,7 @@
|
||||
and <tt class="computeroutput"><span class="identifier">j</span></tt> respectively.
|
||||
</p>
|
||||
<a name="fusion.iterators.operators.operator_inequality.header"></a><h5>
|
||||
<a name="id468979"></a>
|
||||
<a name="id468949"></a>
|
||||
<a href="operator_inequality.html#fusion.iterators.operators.operator_inequality.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -30,14 +30,14 @@
|
||||
*"> Operator
|
||||
*</a></h4></div></div></div>
|
||||
<a name="fusion.iterators.operators.operator_unary_star.description"></a><h5>
|
||||
<a name="id467134"></a>
|
||||
<a name="id467104"></a>
|
||||
<a href="operator_unary_star.html#fusion.iterators.operators.operator_unary_star.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
Dereferences an iterator.
|
||||
</p>
|
||||
<a name="fusion.iterators.operators.operator_unary_star.synopsis"></a><h5>
|
||||
<a name="id467164"></a>
|
||||
<a name="id467134"></a>
|
||||
<a href="operator_unary_star.html#fusion.iterators.operators.operator_unary_star.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="keyword">typename</span> <a href="../metafunctions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></tt></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">*(</span><span class="emphasis"><em>unspecified</em></span><span class="special"><</span><span class="identifier">I</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id467322"></a><p class="title"><b>Table<EFBFBD>1.8.<2E>Parameters</b></p>
|
||||
<a name="id467292"></a><p class="title"><b>Table<EFBFBD>1.8.<2E>Parameters</b></p>
|
||||
<table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -71,7 +71,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<a name="fusion.iterators.operators.operator_unary_star.expression_semantics"></a><h5>
|
||||
<a name="id467396"></a>
|
||||
<a name="id467366"></a>
|
||||
<a href="operator_unary_star.html#fusion.iterators.operators.operator_unary_star.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h5>
|
||||
@ -86,14 +86,14 @@
|
||||
<span class="bold"><b>Semantics</b></span>: Equivalent to <tt class="computeroutput"><a href="../functions/deref.html" title="deref"><tt class="computeroutput"><span class="identifier">deref</span></tt></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.iterators.operators.operator_unary_star.header"></a><h5>
|
||||
<a name="id467530"></a>
|
||||
<a name="id467501"></a>
|
||||
<a href="operator_unary_star.html#fusion.iterators.operators.operator_unary_star.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.iterators.operators.operator_unary_star.example"></a><h5>
|
||||
<a name="id467625"></a>
|
||||
<a name="id467595"></a>
|
||||
<a href="operator_unary_star.html#fusion.iterators.operators.operator_unary_star.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
||||
<a name="fusion.notes"></a><a href="notes.html" title="Notes">Notes</a></h2></div></div></div>
|
||||
<a name="fusion.notes.recursive_inlined_functions"></a><h3>
|
||||
<a name="id614107"></a>
|
||||
<a name="id613822"></a>
|
||||
<a href="notes.html#fusion.notes.recursive_inlined_functions">Recursive Inlined
|
||||
Functions</a>
|
||||
</h3>
|
||||
@ -39,17 +39,17 @@
|
||||
compiler limit of course). Compile time complexity remains linear.
|
||||
</p>
|
||||
<a name="fusion.notes.overloaded_functions"></a><h3>
|
||||
<a name="id614176"></a>
|
||||
<a name="id613890"></a>
|
||||
<a href="notes.html#fusion.notes.overloaded_functions">Overloaded Functions</a>
|
||||
</h3>
|
||||
<p>
|
||||
Associative sequences use function overloading to implement membership testing
|
||||
and type associated key lookup. This amounts to constant runtime and amortized
|
||||
constant compile time complexities. There is an overloaded function, <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span></tt>, for each key <span class="emphasis"><em>type</em></span><EFBFBD><tt class="computeroutput"><span class="identifier">k</span></tt>. The compiler chooses the appropriate function
|
||||
constant compile time complexities. There is an overloaded function, <tt class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">k</span><span class="special">)</span></tt>, for each key <span class="emphasis"><em>type</em></span> <tt class="computeroutput"><span class="identifier">k</span></tt>. The compiler chooses the appropriate function
|
||||
given a key, <tt class="computeroutput"><span class="identifier">k</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.notes.tag_dispatching"></a><h3>
|
||||
<a name="id614254"></a>
|
||||
<a name="id613968"></a>
|
||||
<a href="notes.html#fusion.notes.tag_dispatching">Tag Dispatching</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -101,7 +101,7 @@
|
||||
</li>
|
||||
</ol></div>
|
||||
<a name="fusion.notes.extensibility"></a><h3>
|
||||
<a name="id614626"></a>
|
||||
<a name="id614340"></a>
|
||||
<a href="notes.html#fusion.notes.extensibility">Extensibility</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -136,7 +136,7 @@
|
||||
it very cheap to pass around.
|
||||
</p>
|
||||
<a name="fusion.notes.element_conversion"></a><h3>
|
||||
<a name="id614924"></a>
|
||||
<a name="id614638"></a>
|
||||
<a href="notes.html#fusion.notes.element_conversion">Element Conversion</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -148,7 +148,8 @@
|
||||
<a href="sequences/generation/functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</span></tt></a><span class="special">(</span><span class="number">1</span><span class="special">,</span> <span class="char">'x'</span><span class="special">)</span>
|
||||
</pre>
|
||||
<p>
|
||||
returns a <a href="sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><tt class="computeroutput"><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><EFBFBD><span class="keyword">char</span><span class="special">></span></tt>.
|
||||
returns a <a href="sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><tt class="computeroutput"><span class="special"><</span><span class="keyword">int</span><span class="special">,</span>
|
||||
<span class="keyword">char</span><span class="special">></span></tt>.
|
||||
</p>
|
||||
<p>
|
||||
There are a few exceptions, however.
|
||||
@ -158,7 +159,7 @@
|
||||
</p>
|
||||
<p>
|
||||
Array arguments are deduced to reference to const types. For example
|
||||
<sup>[<a name="id615075" href="#ftn.id615075">14</a>]</sup>
|
||||
<sup>[<a name="id614789" href="#ftn.id614789">14</a>]</sup>
|
||||
:
|
||||
</p>
|
||||
<pre class="programlisting">
|
||||
@ -191,7 +192,7 @@
|
||||
<a href="sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special"><</span><span class="keyword">void</span> <span class="special">(*)(</span><span class="keyword">int</span><span class="special">)></span>
|
||||
</pre>
|
||||
<a name="fusion.notes.boost__ref"></a><h3>
|
||||
<a name="id615494"></a>
|
||||
<a name="id615208"></a>
|
||||
<a href="notes.html#fusion.notes.boost__ref">boost::ref</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -234,9 +235,9 @@
|
||||
</p>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id615075" href="#id615075">14</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id614789" href="#id614789">14</a>] </sup>
|
||||
Note that the type of a string literal is an array of const characters,
|
||||
not <tt class="computeroutput"><span class="keyword">const</span><EFBFBD><span class="keyword">char</span><span class="special">*</span></tt>. To get <a href="sequences/generation/functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</span></tt></a> to create a <a href="sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> with an element of a non-const
|
||||
not <tt class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span></tt>. To get <a href="sequences/generation/functions/make_list.html" title="make_list"><tt class="computeroutput"><span class="identifier">make_list</span></tt></a> to create a <a href="sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a> with an element of a non-const
|
||||
array type one must use the <tt class="computeroutput"><span class="identifier">ref</span></tt>
|
||||
wrapper (see <a href="notes.html#fusion.notes.boost__ref"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></tt></a>).
|
||||
</p></div>
|
||||
|
@ -34,7 +34,7 @@
|
||||
The library is organized in three layers:
|
||||
</p>
|
||||
<a name="fusion.organization.layers"></a><h3>
|
||||
<a name="id450586"></a>
|
||||
<a name="id450570"></a>
|
||||
<a href="organization.html#fusion.organization.layers">Layers</a>
|
||||
</h3>
|
||||
<div class="blockquote"><blockquote class="blockquote"><p>
|
||||
@ -50,7 +50,7 @@
|
||||
against.
|
||||
</p>
|
||||
<a name="fusion.organization.directory"></a><h3>
|
||||
<a name="id450640"></a>
|
||||
<a name="id450624"></a>
|
||||
<a href="organization.html#fusion.organization.directory">Directory</a>
|
||||
</h3>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -159,7 +159,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.organization.example"></a><h3>
|
||||
<a name="id450812"></a>
|
||||
<a name="id450796"></a>
|
||||
<a href="organization.html#fusion.organization.example">Example</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -174,13 +174,13 @@
|
||||
</pre>
|
||||
<p>
|
||||
The first includes all sequences. The second includes all of sequence containers.
|
||||
The third includes only <tt class="computeroutput"><span class="identifier">list</span></tt><EFBFBD>
|
||||
<sup>[<a name="id451052" href="#ftn.id451052">3</a>]</sup>
|
||||
The third includes only <tt class="computeroutput"><span class="identifier">list</span></tt>
|
||||
<sup>[<a name="id451036" href="#ftn.id451036">3</a>]</sup>
|
||||
.
|
||||
</p>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id451052" href="#id451052">3</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id451036" href="#id451036">3</a>] </sup>
|
||||
Modules may contain smaller components. Header file information for each
|
||||
component will be provided as part of the component's documentation.
|
||||
</p></div>
|
||||
|
@ -32,7 +32,7 @@
|
||||
<span class="bold"><b>--Niklaus Wirth</b></span>
|
||||
</p></blockquote></div>
|
||||
<a name="fusion.preface.description"></a><h3>
|
||||
<a name="id379487"></a>
|
||||
<a name="id378800"></a>
|
||||
<a href="preface.html#fusion.preface.description">Description</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -50,7 +50,7 @@
|
||||
of compile time metaprogramming with runtime programming.
|
||||
</p>
|
||||
<a name="fusion.preface.motivation"></a><h3>
|
||||
<a name="id377614"></a>
|
||||
<a name="id377608"></a>
|
||||
<a href="preface.html#fusion.preface.motivation">Motivation</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -76,7 +76,7 @@
|
||||
an instant <span class="emphasis"><em>AHA!</em></span> moment.
|
||||
</p>
|
||||
<a name="fusion.preface.how_to_use_this_manual"></a><h3>
|
||||
<a name="id447741"></a>
|
||||
<a name="id378406"></a>
|
||||
<a href="preface.html#fusion.preface.how_to_use_this_manual">How to use this manual</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -84,7 +84,7 @@
|
||||
icons precede some text to indicate:
|
||||
</p>
|
||||
<div class="table">
|
||||
<a name="id447763"></a><p class="title"><b>Table<EFBFBD>1.1.<2E>Icons</b></p>
|
||||
<a name="id378429"></a><p class="title"><b>Table<EFBFBD>1.1.<2E>Icons</b></p>
|
||||
<table class="table" summary="Icons">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -130,7 +130,7 @@
|
||||
Tools</a>.
|
||||
</p>
|
||||
<a name="fusion.preface.support"></a><h3>
|
||||
<a name="id378038"></a>
|
||||
<a name="id379143"></a>
|
||||
<a href="preface.html#fusion.preface.support">Support</a>
|
||||
</h3>
|
||||
<p>
|
||||
|
@ -33,15 +33,15 @@
|
||||
</p>
|
||||
<p>
|
||||
For starters, we shall include all of Fusion's <span class="underline">_sequence</span>_s
|
||||
<sup>[<a name="id447953" href="#ftn.id447953">1</a>]</sup>
|
||||
<sup>[<a name="id447937" href="#ftn.id447937">1</a>]</sup>
|
||||
:
|
||||
</p>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<p>
|
||||
Let's begin with a <tt class="computeroutput"><a href="sequences/containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a></tt><EFBFBD>
|
||||
<sup>[<a name="id448057" href="#ftn.id448057">2</a>]</sup>
|
||||
Let's begin with a <tt class="computeroutput"><a href="sequences/containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a></tt>
|
||||
<sup>[<a name="id448040" href="#ftn.id448040">2</a>]</sup>
|
||||
:
|
||||
</p>
|
||||
<pre class="programlisting">
|
||||
@ -59,7 +59,7 @@
|
||||
Let's see some examples.
|
||||
</p>
|
||||
<a name="fusion.quick_start.print_the_vector_as_xml"></a><h3>
|
||||
<a name="id448515"></a>
|
||||
<a name="id448498"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.print_the_vector_as_xml">Print the vector
|
||||
as XML</a>
|
||||
</h3>
|
||||
@ -116,7 +116,7 @@
|
||||
print just about any Fusion <a href="sequences.html" title="Sequences">Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.quick_start.print_only_pointers"></a><h3>
|
||||
<a name="id449103"></a>
|
||||
<a name="id449086"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.print_only_pointers">Print only pointers</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -150,7 +150,7 @@
|
||||
Easy, right?
|
||||
</p>
|
||||
<a name="fusion.quick_start.associative_tuples"></a><h3>
|
||||
<a name="id449508"></a>
|
||||
<a name="id449492"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.associative_tuples">Associative tuples</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -225,7 +225,7 @@
|
||||
a <tt class="computeroutput"><span class="identifier">dog</span></tt> or a whole <tt class="computeroutput"><span class="identifier">alternate_universe</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.quick_start.tip_of_the_iceberg"></a><h3>
|
||||
<a name="id450527"></a>
|
||||
<a name="id450510"></a>
|
||||
<a href="quick_start.html#fusion.quick_start.tip_of_the_iceberg">Tip of the Iceberg</a>
|
||||
</h3>
|
||||
<p>
|
||||
@ -236,12 +236,12 @@
|
||||
</p>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id447953" href="#id447953">1</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id447937" href="#id447937">1</a>] </sup>
|
||||
There are finer grained header files available if you wish to have more
|
||||
control over which components to include (see section <a href="organization.html" title="Organization">Orgainization</a>
|
||||
for details).
|
||||
</p></div>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id448057" href="#id448057">2</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id448040" href="#id448040">2</a>] </sup>
|
||||
Unless otherwise noted, components are in namespace <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span></tt>.
|
||||
For the sake of simplicity, code in this quick start implies <tt class="computeroutput"><span class="keyword">using</span></tt> directives for the fusion components
|
||||
we will be using.
|
||||
|
@ -46,7 +46,7 @@
|
||||
type that can be used to iterate through the Sequence's elements.
|
||||
</p>
|
||||
<a name="fusion.sequences.header"></a><h3>
|
||||
<a name="id476543"></a>
|
||||
<a name="id476511"></a>
|
||||
<a href="sequences.html#fusion.sequences.header">Header</a>
|
||||
</h3>
|
||||
<pre class="programlisting">
|
||||
|
@ -40,11 +40,11 @@
|
||||
mechanism. If you wish to use these sequences with fusion, simply include
|
||||
the necessary files and they will be regarded as first-class, fully conforming
|
||||
fusion sequences
|
||||
<sup>[<a name="id500252" href="#ftn.id500252">4</a>]</sup>
|
||||
<sup>[<a name="id500062" href="#ftn.id500062">4</a>]</sup>
|
||||
.
|
||||
</p>
|
||||
<a name="fusion.sequences.adapted.header"></a><h4>
|
||||
<a name="id500294"></a>
|
||||
<a name="id500103"></a>
|
||||
<a href="adapted.html#fusion.sequences.adapted.header">Header</a>
|
||||
</h4>
|
||||
<pre class="programlisting">
|
||||
@ -52,7 +52,7 @@
|
||||
</pre>
|
||||
<div class="footnotes">
|
||||
<br><hr width="100" align="left">
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id500252" href="#id500252">4</a>] </sup>
|
||||
<div class="footnote"><p><sup>[<a name="ftn.id500062" href="#id500062">4</a>] </sup>
|
||||
Fusion sequences may also be adapted as fully conforming <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>
|
||||
sequences (see <a href="intrinsics.html" title="Intrinsics">Intrinsics</a>).
|
||||
That way, we can have 2-way adaptation to and from <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a>
|
||||
|
@ -33,21 +33,21 @@
|
||||
Access Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.sequences.adapted.boost__array.header"></a><h5>
|
||||
<a name="id501986"></a>
|
||||
<a name="id501795"></a>
|
||||
<a href="boost__array.html#fusion.sequences.adapted.boost__array.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">array</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.boost__array.model_of"></a><h5>
|
||||
<a name="id502090"></a>
|
||||
<a name="id501899"></a>
|
||||
<a href="boost__array.html#fusion.sequences.adapted.boost__array.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../concepts/random_access_sequence.html" title="Random
|
||||
Access Sequence">Random
|
||||
Access Sequence</a></li></ul></div>
|
||||
<a name="fusion.sequences.adapted.boost__array.example"></a><h5>
|
||||
<a name="id502131"></a>
|
||||
<a name="id501940"></a>
|
||||
<a href="boost__array.html#fusion.sequences.adapted.boost__array.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -60,7 +60,7 @@
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../intrinsics/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">2</span><span class="special">>(</span><span class="identifier">arr</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.boost__array.see_also"></a><h5>
|
||||
<a name="id502751"></a>
|
||||
<a name="id502560"></a>
|
||||
<a href="boost__array.html#fusion.sequences.adapted.boost__array.see_also">See also</a>
|
||||
</h5>
|
||||
<p>
|
||||
|
75
doc/html/fusion/sequences/adapted/boost__tuple.html
Normal file
75
doc/html/fusion/sequences/adapted/boost__tuple.html
Normal file
@ -0,0 +1,75 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>boost::tuple</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapted.html" title="Adapted">
|
||||
<link rel="prev" href="boost__array.html" title="boost::array">
|
||||
<link rel="next" href="boost__variant.html" title="boost::variant">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%">
|
||||
<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="../../../../../../../more/index.htm">More</a></td>
|
||||
</table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="boost__array.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="boost__variant.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.sequences.adapted.boost__tuple"></a><a href="boost__tuple.html" title="boost::tuple">boost::tuple</a></h4></div></div></div>
|
||||
<p>
|
||||
This module provides adapters for <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tuple</span></tt>.
|
||||
Including the module header makes <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">tuple</span></tt>
|
||||
a fully conforming <a href="../concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.sequences.adapted.boost__tuple.header"></a><h5>
|
||||
<a name="id502673"></a>
|
||||
<a href="boost__tuple.html#fusion.sequences.adapted.boost__tuple.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">boost_tuple</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.boost__tuple.model_of"></a><h5>
|
||||
<a name="id502777"></a>
|
||||
<a href="boost__tuple.html#fusion.sequences.adapted.boost__tuple.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward Sequence</a></li></ul></div>
|
||||
<a name="fusion.sequences.adapted.boost__tuple.example"></a><h5>
|
||||
<a name="id502819"></a>
|
||||
<a href="boost__tuple.html#fusion.sequences.adapted.boost__tuple.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">tuple</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">example_tuple</span><span class="special">(</span><span class="number">101</span><span class="special">,</span> <span class="string">"hello"</span><span class="special">);</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">example_tuple</span><span class="special">)</span> <span class="special"><<</span> <span class="char">'\n'</span><span class="special">;</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">next</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">begin</span><span class="special">(</span><span class="identifier">example_tuple</span><span class="special">))</span> <span class="special"><<</span> <span class="char">'\n'</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.boost__tuple.see_also"></a><h5>
|
||||
<a name="id503136"></a>
|
||||
<a href="boost__tuple.html#fusion.sequences.adapted.boost__tuple.see_also">See also</a>
|
||||
</h5>
|
||||
<p>
|
||||
<a href="http://www.boost.org/libs/tuple/doc/tuple_users_guide.html" target="_top">Boost.Tuple
|
||||
Library</a>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><small>Copyright <20> 2001-2005 Joel de Guzman, Dan Marsden</small></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="boost__array.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="boost__variant.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
79
doc/html/fusion/sequences/adapted/boost__variant.html
Normal file
79
doc/html/fusion/sequences/adapted/boost__variant.html
Normal file
@ -0,0 +1,79 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>boost::variant</title>
|
||||
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
|
||||
<link rel="start" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../adapted.html" title="Adapted">
|
||||
<link rel="prev" href="boost__tuple.html" title="boost::tuple">
|
||||
<link rel="next" href="../intrinsics.html" title="Intrinsics">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
<table cellpadding="2" width="100%">
|
||||
<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="../../../../../../../more/index.htm">More</a></td>
|
||||
</table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="boost__tuple.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../intrinsics.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.sequences.adapted.boost__variant"></a><a href="boost__variant.html" title="boost::variant">boost::variant</a></h4></div></div></div>
|
||||
<p>
|
||||
This module provides adapters for <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variant</span></tt>.
|
||||
Including the module header makes <tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">variant</span></tt>
|
||||
a fully conforming <a href="../concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>. The variant acts as a sequence of the types that can be
|
||||
contained in the variant. Accessing types not currently stored int the
|
||||
variant will lead to the variant being populated with a default constructed
|
||||
value of that type.
|
||||
</p>
|
||||
<a name="fusion.sequences.adapted.boost__variant.header"></a><h5>
|
||||
<a name="id503252"></a>
|
||||
<a href="boost__variant.html#fusion.sequences.adapted.boost__variant.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">variant</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.boost__variant.model_of"></a><h5>
|
||||
<a name="id503356"></a>
|
||||
<a href="boost__variant.html#fusion.sequences.adapted.boost__variant.model_of">Model
|
||||
of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward Sequence</a></li></ul></div>
|
||||
<a name="fusion.sequences.adapted.boost__variant.example"></a><h5>
|
||||
<a name="id503399"></a>
|
||||
<a href="boost__variant.html#fusion.sequences.adapted.boost__variant.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="identifier">boost</span><span class="special">::</span><span class="identifier">variant</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">></span> <span class="identifier">example_variant</span> <span class="special">=</span> <span class="number">101</span><span class="special">;</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">example_variant</span> <span class="special"><<</span> <span class="char">'\n'</span><span class="special">;</span>
|
||||
<span class="special">*</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">find</span><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">>(</span><span class="identifier">example_variant</span><span class="special">)</span> <span class="special">=</span> <span class="string">"hello"</span><span class="special">;</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">example_variant</span> <span class="special"><<</span> <span class="char">'\n'</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.boost__variant.see_also"></a><h5>
|
||||
<a name="id503680"></a>
|
||||
<a href="boost__variant.html#fusion.sequences.adapted.boost__variant.see_also">See also</a>
|
||||
</h5>
|
||||
<p>
|
||||
<a href="http://www.boost.org/doc/html/variant.html" target="_top">Boost.Variant Library</a>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><small>Copyright <20> 2001-2005 Joel de Guzman, Dan Marsden</small></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="boost__tuple.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../adapted.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="../intrinsics.html"><img src="../../../images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -31,14 +31,14 @@
|
||||
sequences fully conforming fusion sequences.
|
||||
</p>
|
||||
<a name="fusion.sequences.adapted.mpl_sequence.header"></a><h5>
|
||||
<a name="id501092"></a>
|
||||
<a name="id500902"></a>
|
||||
<a href="mpl_sequence.html#fusion.sequences.adapted.mpl_sequence.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">mpl</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.mpl_sequence.model_of"></a><h5>
|
||||
<a name="id501196"></a>
|
||||
<a name="id501005"></a>
|
||||
<a href="mpl_sequence.html#fusion.sequences.adapted.mpl_sequence.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc">
|
||||
@ -62,7 +62,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.sequences.adapted.mpl_sequence.example"></a><h5>
|
||||
<a name="id501289"></a>
|
||||
<a name="id501098"></a>
|
||||
<a href="mpl_sequence.html#fusion.sequences.adapted.mpl_sequence.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -76,7 +76,7 @@
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../intrinsics/functions/at_c.html" title="at_c"><tt class="computeroutput"><span class="identifier">at_c</span></tt></a><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">v</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.mpl_sequence.see_also"></a><h5>
|
||||
<a name="id501875"></a>
|
||||
<a name="id501684"></a>
|
||||
<a href="mpl_sequence.html#fusion.sequences.adapted.mpl_sequence.see_also">See also</a>
|
||||
</h5>
|
||||
<p>
|
||||
|
@ -33,21 +33,21 @@
|
||||
Access Sequence</a>.
|
||||
</p>
|
||||
<a name="fusion.sequences.adapted.std__pair.header"></a><h5>
|
||||
<a name="id500460"></a>
|
||||
<a name="id500270"></a>
|
||||
<a href="std__pair.html#fusion.sequences.adapted.std__pair.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">adapted</span><span class="special">/</span><span class="identifier">std_pair</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.std__pair.model_of"></a><h5>
|
||||
<a name="id500564"></a>
|
||||
<a name="id500374"></a>
|
||||
<a href="std__pair.html#fusion.sequences.adapted.std__pair.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../concepts/random_access_sequence.html" title="Random
|
||||
Access Sequence">Random
|
||||
Access Sequence</a></li></ul></div>
|
||||
<a name="fusion.sequences.adapted.std__pair.example"></a><h5>
|
||||
<a name="id500607"></a>
|
||||
<a name="id500416"></a>
|
||||
<a href="std__pair.html#fusion.sequences.adapted.std__pair.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting">
|
||||
@ -57,12 +57,13 @@
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <span class="identifier">p</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
</pre>
|
||||
<a name="fusion.sequences.adapted.std__pair.see_also"></a><h5>
|
||||
<a name="id500959"></a>
|
||||
<a name="id500768"></a>
|
||||
<a href="std__pair.html#fusion.sequences.adapted.std__pair.see_also">See also</a>
|
||||
</h5>
|
||||
<p>
|
||||
<a href="http://www.sgi.com/tech/stl/pair.html" target="_top"><tt class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></tt></a>,
|
||||
<a href="../../tuples/pairs.html" title="Pairs"><tt class="computeroutput"><span class="identifier">TR1</span><EFBFBD><span class="keyword">and</span><EFBFBD><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></tt></a>
|
||||
<a href="../../tuples/pairs.html" title="Pairs"><tt class="computeroutput"><span class="identifier">TR1</span>
|
||||
<span class="keyword">and</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></tt></a>
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user