forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
1 parent
b605617c4f
commit
cda74605fc
379 files changed
+28481
-2185
No files matched your search
@@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>joint_view</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../view.html" title="View">
|
||||
<link rel="previous" href="iterator_range.html" title="iterator_range">
|
||||
@@ -22,6 +26,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="iterator_range.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../view.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="zip_view.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h3 class="title">
|
||||
@@ -33,28 +38,59 @@
|
||||
<a name="id522089"></a>
|
||||
<a href="joint_view.html#fusion.view.joint_view.description">Description</a>
|
||||
</h4>
|
||||
=======
|
||||
<div class="section" title="joint_view">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="fusion.view.joint_view"></a><a class="link" href="joint_view.html" title="joint_view">joint_view</a>
|
||||
</h3></div></div></div>
|
||||
<a name="fusion.view.joint_view.description"></a><h5>
|
||||
<a name="id726993"></a>
|
||||
<a class="link" href="joint_view.html#fusion.view.joint_view.description">Description</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
<tt class="computeroutput"><span class="identifier">joint_view</span></tt> presents a view
|
||||
which is a concatenation of two sequences.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.view.joint_view.header"></a><h4>
|
||||
<a name="id522129"></a>
|
||||
<a href="joint_view.html#fusion.view.joint_view.header">Header</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.view.joint_view.header"></a><h5>
|
||||
<a name="id727017"></a>
|
||||
<a class="link" href="joint_view.html#fusion.view.joint_view.header">Header</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<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">view</span><span class="special">/</span><span class="identifier">joint_view</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">joint_view</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.view.joint_view.synopsis"></a><h4>
|
||||
<a name="id522285"></a>
|
||||
<a href="joint_view.html#fusion.view.joint_view.synopsis">Synopsis</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.view.joint_view.synopsis"></a><h5>
|
||||
<a name="id730770"></a>
|
||||
<a class="link" href="joint_view.html#fusion.view.joint_view.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence2</span><span class="special">></span>
|
||||
<span class="keyword">struct</span> <span class="identifier">joint_view</span><span class="special">;</span>
|
||||
</pre>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.view.joint_view.template_parameters"></a><h4>
|
||||
<a name="id522380"></a>
|
||||
<a href="joint_view.html#fusion.view.joint_view.template_parameters">Template parameters</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.view.joint_view.template_parameters"></a><h5>
|
||||
<a name="id730834"></a>
|
||||
<a class="link" href="joint_view.html#fusion.view.joint_view.template_parameters">Template parameters</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
<col>
|
||||
@@ -99,6 +135,7 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.view.joint_view.model_of"></a><h4>
|
||||
<a name="id522535"></a>
|
||||
<a href="joint_view.html#fusion.view.joint_view.model_of">Model of</a>
|
||||
@@ -106,6 +143,23 @@
|
||||
<div class="itemizedlist"><ul type="disc"><li><a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward Sequence</a></li></ul></div>
|
||||
<div class="variablelist">
|
||||
=======
|
||||
<a name="fusion.view.joint_view.model_of"></a><h5>
|
||||
<a name="id730957"></a>
|
||||
<a class="link" href="joint_view.html#fusion.view.joint_view.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
||||
<li class="listitem"><a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a></li>
|
||||
<li class="listitem">
|
||||
<a class="link" href="../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
Sequence</a> if <code class="computeroutput"><span class="identifier">Sequence1</span></code>
|
||||
and <code class="computeroutput"><span class="identifier">Sequence2</span></code> implement
|
||||
the <a class="link" href="../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative
|
||||
Sequence</a> model.
|
||||
</li>
|
||||
</ul></div>
|
||||
<div class="variablelist" title="Notation">
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
<dt><span class="term"><tt class="computeroutput"><span class="identifier">JV</span></tt></span></dt>
|
||||
@@ -127,15 +181,26 @@
|
||||
</p></dd>
|
||||
</dl>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.view.joint_view.expression_semantics"></a><h4>
|
||||
<a name="id522734"></a>
|
||||
<a href="joint_view.html#fusion.view.joint_view.expression_semantics">Expression Semantics</a>
|
||||
</h4>
|
||||
=======
|
||||
<a name="fusion.view.joint_view.expression_semantics"></a><h5>
|
||||
<a name="id731125"></a>
|
||||
<a class="link" href="joint_view.html#fusion.view.joint_view.expression_semantics">Expression Semantics</a>
|
||||
</h5>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
Semantics of an expression is defined only where it differs from, or is not
|
||||
<<<<<<< .working
|
||||
defined in <a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||||
Sequence">Forward
|
||||
Sequence</a>.
|
||||
=======
|
||||
defined in the implemented models.
|
||||
>>>>>>> .merge-right.r57242
|
||||
</p>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@@ -184,12 +249,21 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.view.joint_view.example"></a><h4>
|
||||
<a name="id523069"></a>
|
||||
<a href="joint_view.html#fusion.view.joint_view.example">Example</a>
|
||||
</h4>
|
||||
<pre class="programlisting"><a href="../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span> <span class="identifier">v1</span><span class="special">(</span><span class="number">3</span><span class="special">,</span> <span class="char">'x'</span><span class="special">);</span>
|
||||
<a href="../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v2</span><span class="special">(</span><span class="string">"hello"</span><span class="special">,</span> <span class="number">123</span><span class="special">);</span>
|
||||
=======
|
||||
<a name="fusion.view.joint_view.example"></a><h5>
|
||||
<a name="id731359"></a>
|
||||
<a class="link" href="joint_view.html#fusion.view.joint_view.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><a class="link" href="../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span> <span class="identifier">v1</span><span class="special">(</span><span class="number">3</span><span class="special">,</span> <span class="char">'x'</span><span class="special">);</span>
|
||||
<a class="link" href="../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span> <span class="identifier">v2</span><span class="special">(</span><span class="string">"hello"</span><span class="special">,</span> <span class="number">123</span><span class="special">);</span>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<span class="identifier">joint_view</span><span class="special"><</span>
|
||||
<a href="../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span>
|
||||
<span class="special">,</span> <a href="../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">int</span><span class="special">></span>
|
||||
|
||||
Reference in new issue
Block a user