forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
@ -3,7 +3,11 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Construction</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<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../class_template_tuple.html" title="Class template tuple">
|
||||
<link rel="previous" href="../class_template_tuple.html" title="Class template tuple">
|
||||
@ -23,6 +27,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../class_template_tuple.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../class_template_tuple.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="tuple_creation_functions.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<<<<<<< .working
|
||||
<div class="section" lang="en">
|
||||
<div class="titlepage">
|
||||
<div><div><h4 class="title">
|
||||
@ -34,6 +39,16 @@
|
||||
<a name="id592245"></a>
|
||||
<a href="construction.html#fusion.tuple.class_template_tuple.construction.description">Description</a>
|
||||
</h5>
|
||||
=======
|
||||
<div class="section" title="Construction">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
<a name="fusion.tuple.class_template_tuple.construction"></a><a class="link" href="construction.html" title="Construction">Construction</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.tuple.class_template_tuple.construction.description"></a><h6>
|
||||
<a name="id800045"></a>
|
||||
<a class="link" href="construction.html#fusion.tuple.class_template_tuple.construction.description">Description</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
The <a href="http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1403.pdf" target="_top">TR1
|
||||
Tuple</a> type provides a default constructor, a constructor that takes
|
||||
@ -41,11 +56,19 @@
|
||||
copy constructor. The details of the various constructors are described
|
||||
in this section.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.tuple.class_template_tuple.construction.specification"></a><h5>
|
||||
<a name="id592287"></a>
|
||||
<a href="construction.html#fusion.tuple.class_template_tuple.construction.specification">Specification</a>
|
||||
</h5>
|
||||
<div class="variablelist">
|
||||
=======
|
||||
<a name="fusion.tuple.class_template_tuple.construction.specification"></a><h6>
|
||||
<a name="id800073"></a>
|
||||
<a class="link" href="construction.html#fusion.tuple.class_template_tuple.construction.specification">Specification</a>
|
||||
</h6>
|
||||
<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">T1</span>
|
||||
|
@ -4,7 +4,11 @@
|
||||
<title>Element
|
||||
access</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<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../class_template_tuple.html" title="Class template tuple">
|
||||
<link rel="previous" href="tuple_helper_classes.html" title="Tuple
|
||||
@ -31,6 +35,7 @@
|
||||
<a name="fusion.tuple.class_template_tuple.element_access"></a><a href="element_access.html" title="Element
|
||||
access">Element
|
||||
access</a>
|
||||
<<<<<<< .working
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
@ -38,15 +43,29 @@
|
||||
<a name="id594261"></a>
|
||||
<a href="element_access.html#fusion.tuple.class_template_tuple.element_access.description">Description</a>
|
||||
</h5>
|
||||
=======
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.tuple.class_template_tuple.element_access.description"></a><h6>
|
||||
<a name="id801793"></a>
|
||||
<a class="link" href="element_access.html#fusion.tuple.class_template_tuple.element_access.description">Description</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
The <a href="http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1403.pdf" target="_top">TR1
|
||||
Tuple</a> provides the <tt class="computeroutput"><span class="identifier">get</span></tt>
|
||||
function to provide access to it's elements by zero based numeric index.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.tuple.class_template_tuple.element_access.specification"></a><h5>
|
||||
<a name="id594311"></a>
|
||||
<a href="element_access.html#fusion.tuple.class_template_tuple.element_access.specification">Specification</a>
|
||||
</h5>
|
||||
=======
|
||||
<a name="fusion.tuple.class_template_tuple.element_access.specification"></a><h6>
|
||||
<a name="id801828"></a>
|
||||
<a class="link" href="element_access.html#fusion.tuple.class_template_tuple.element_access.specification">Specification</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">int</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">T</span><span class="special">></span>
|
||||
<span class="identifier">RJ</span> <span class="identifier">get</span><span class="special">(</span><span class="identifier">T</span><span class="special">&</span> <span class="identifier">t</span><span class="special">);</span>
|
||||
</pre>
|
||||
|
@ -4,7 +4,11 @@
|
||||
<title>Relational
|
||||
operators</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<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../class_template_tuple.html" title="Class template tuple">
|
||||
<link rel="previous" href="element_access.html" title="Element
|
||||
@ -30,6 +34,7 @@
|
||||
<a name="fusion.tuple.class_template_tuple.relational_operators"></a><a href="relational_operators.html" title="Relational
|
||||
operators">Relational
|
||||
operators</a>
|
||||
<<<<<<< .working
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
@ -37,15 +42,30 @@
|
||||
<a name="id594938"></a>
|
||||
<a href="relational_operators.html#fusion.tuple.class_template_tuple.relational_operators.description">Description</a>
|
||||
</h5>
|
||||
=======
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.tuple.class_template_tuple.relational_operators.description"></a><h6>
|
||||
<a name="id802258"></a>
|
||||
<a class="link" href="relational_operators.html#fusion.tuple.class_template_tuple.relational_operators.description">Description</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
The <a href="http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1403.pdf" target="_top">TR1
|
||||
Tuple</a> provides the standard boolean relational operators.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.tuple.class_template_tuple.relational_operators.specification"></a><h5>
|
||||
<a name="id594976"></a>
|
||||
<a href="relational_operators.html#fusion.tuple.class_template_tuple.relational_operators.specification">Specification</a>
|
||||
</h5>
|
||||
<div class="variablelist">
|
||||
=======
|
||||
<a name="fusion.tuple.class_template_tuple.relational_operators.specification"></a><h6>
|
||||
<a name="id802282"></a>
|
||||
<a class="link" href="relational_operators.html#fusion.tuple.class_template_tuple.relational_operators.specification">Specification</a>
|
||||
</h6>
|
||||
<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">T1</span>
|
||||
|
@ -4,7 +4,11 @@
|
||||
<title>Tuple
|
||||
creation functions</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<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../class_template_tuple.html" title="Class template tuple">
|
||||
<link rel="previous" href="construction.html" title="Construction">
|
||||
@ -30,6 +34,7 @@
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_creation_functions"></a><a href="tuple_creation_functions.html" title="Tuple
|
||||
creation functions">Tuple
|
||||
creation functions</a>
|
||||
<<<<<<< .working
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
@ -37,16 +42,30 @@
|
||||
<a name="id593031"></a>
|
||||
<a href="tuple_creation_functions.html#fusion.tuple.class_template_tuple.tuple_creation_functions.description">Description</a>
|
||||
</h5>
|
||||
=======
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_creation_functions.description"></a><h6>
|
||||
<a name="id800948"></a>
|
||||
<a class="link" href="tuple_creation_functions.html#fusion.tuple.class_template_tuple.tuple_creation_functions.description">Description</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
TR1 describes 2 utility functions for creating <span class="underline">_tr1</span><span class="underline">tuple</span>_s. <tt class="computeroutput"><span class="identifier">make_tuple</span></tt>
|
||||
builds a tuple out of it's argument list, and <tt class="computeroutput"><span class="identifier">tie</span></tt>
|
||||
builds a tuple of references to it's arguments. The details of these creation
|
||||
functions are described in this section.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_creation_functions.specification"></a><h5>
|
||||
<a name="id593102"></a>
|
||||
<a href="tuple_creation_functions.html#fusion.tuple.class_template_tuple.tuple_creation_functions.specification">Specification</a>
|
||||
</h5>
|
||||
=======
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_creation_functions.specification"></a><h6>
|
||||
<a name="id800990"></a>
|
||||
<a class="link" href="tuple_creation_functions.html#fusion.tuple.class_template_tuple.tuple_creation_functions.specification">Specification</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T1</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">T2</span><span class="special">,</span> <span class="special">...,</span> <span class="keyword">typename</span> <span class="identifier">TN</span><span class="special">></span>
|
||||
<span class="identifier">tuple</span><span class="special"><</span><span class="identifier">V1</span><span class="special">,</span> <span class="identifier">V2</span><span class="special">,</span> <span class="special">...,</span> <span class="identifier">VN</span><span class="special">></span> <span class="identifier">make_tuple</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T1</span><span class="special">&</span> <span class="identifier">t1</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">T2</span><span class="special">&</span> <span class="identifier">t2</span><span class="special">,</span> <span class="special">...,</span> <span class="keyword">const</span> <span class="identifier">TN</span><span class="special">&</span> <span class="identifier">tn</span><span class="special">);</span>
|
||||
</pre>
|
||||
|
@ -4,7 +4,11 @@
|
||||
<title>Tuple
|
||||
helper classes</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<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../class_template_tuple.html" title="Class template tuple">
|
||||
<link rel="previous" href="tuple_creation_functions.html" title="Tuple
|
||||
@ -31,6 +35,7 @@
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_helper_classes"></a><a href="tuple_helper_classes.html" title="Tuple
|
||||
helper classes">Tuple
|
||||
helper classes</a>
|
||||
<<<<<<< .working
|
||||
</h4></div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
@ -38,15 +43,29 @@
|
||||
<a name="id593818"></a>
|
||||
<a href="tuple_helper_classes.html#fusion.tuple.class_template_tuple.tuple_helper_classes.description">Description</a>
|
||||
</h5>
|
||||
=======
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_helper_classes.description"></a><h6>
|
||||
<a name="id801499"></a>
|
||||
<a class="link" href="tuple_helper_classes.html#fusion.tuple.class_template_tuple.tuple_helper_classes.description">Description</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<p>
|
||||
The <a href="http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1403.pdf" target="_top">TR1
|
||||
Tuple</a> provides 2 helper traits, for compile time access to the
|
||||
tuple size, and the element types.
|
||||
</p>
|
||||
<<<<<<< .working
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_helper_classes.specification"></a><h5>
|
||||
<a name="id593857"></a>
|
||||
<a href="tuple_helper_classes.html#fusion.tuple.class_template_tuple.tuple_helper_classes.specification">Specification</a>
|
||||
</h5>
|
||||
=======
|
||||
<a name="fusion.tuple.class_template_tuple.tuple_helper_classes.specification"></a><h6>
|
||||
<a name="id801522"></a>
|
||||
<a class="link" href="tuple_helper_classes.html#fusion.tuple.class_template_tuple.tuple_helper_classes.specification">Specification</a>
|
||||
</h6>
|
||||
>>>>>>> .merge-right.r57125
|
||||
<pre class="programlisting"><span class="identifier">tuple_size</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">value</span>
|
||||
</pre>
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user