forked from boostorg/fusion
81 lines
5.2 KiB
HTML
81 lines
5.2 KiB
HTML
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
<title>Class template tuple</title>
|
||
<link rel="stylesheet" href="../../../../../../doc/html/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">
|
||
<link rel="up" href="../tuple.html" title="Tuple">
|
||
<link rel="prev" href="../tuple.html" title="Tuple">
|
||
<link rel="next" href="class_template_tuple/construction.html" title="Construction">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<table cellpadding="2" width="100%"><tr>
|
||
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
|
||
<td align="center"><a href="../../../../../../index.html">Home</a></td>
|
||
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
|
||
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
|
||
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
|
||
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
|
||
</tr></table>
|
||
<hr>
|
||
<div class="spirit-nav">
|
||
<a accesskey="p" href="../tuple.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../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="class_template_tuple/construction.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||
</div>
|
||
<div class="section" lang="en">
|
||
<div class="titlepage"><div><div><h3 class="title">
|
||
<a name="fusion.tuple.class_template_tuple"></a><a href="class_template_tuple.html" title="Class template tuple">Class template tuple</a></h3></div></div></div>
|
||
<div class="toc"><dl>
|
||
<dt><span class="section"><a href="class_template_tuple/construction.html">Construction</a></span></dt>
|
||
<dt><span class="section"><a href="class_template_tuple/tuple_creation_functions.html">Tuple
|
||
creation functions</a></span></dt>
|
||
<dt><span class="section"><a href="class_template_tuple/tuple_helper_classes.html">Tuple
|
||
helper classes</a></span></dt>
|
||
<dt><span class="section"><a href="class_template_tuple/element_access.html">Element
|
||
access</a></span></dt>
|
||
<dt><span class="section"><a href="class_template_tuple/relational_operators.html">Relational
|
||
operators</a></span></dt>
|
||
</dl></div>
|
||
<p>
|
||
Fusion's implementation of the <a href="http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1403.pdf" target="_top">TR1
|
||
Tuple</a> is also a fusion <a href="../sequence/concepts/forward_sequence.html" title="Forward
|
||
Sequence">Forward
|
||
Sequence</a>. As such the fusion tuple type provides a lot of functionality
|
||
beyond that required by TR1.
|
||
</p>
|
||
<p>
|
||
Currently tuple is basically a synonym for <a href="../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a>, although this may be changed
|
||
in future releases of fusion.
|
||
</p>
|
||
<a name="fusion.tuple.class_template_tuple.synopsis"></a><h4>
|
||
<a name="id636651"></a>
|
||
<a href="class_template_tuple.html#fusion.tuple.class_template_tuple.synopsis">Synopsis</a>
|
||
</h4>
|
||
<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="emphasis"><em>unspecified</em></span><span class="special">,</span>
|
||
<span class="keyword">typename</span> <span class="identifier">T2</span> <span class="special">=</span> <span class="emphasis"><em>unspecified</em></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="emphasis"><em>unspecified</em></span><span class="special">></span>
|
||
<span class="keyword">class</span> <span class="identifier">tuple</span><span class="special">;</span>
|
||
</pre>
|
||
<p>
|
||
/tuple.hpp>
|
||
</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"><div class="copyright-footer">Copyright © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||
Schwinger<p>
|
||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||
</p>
|
||
</div></td>
|
||
</tr></table>
|
||
<hr>
|
||
<div class="spirit-nav">
|
||
<a accesskey="p" href="../tuple.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../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="class_template_tuple/construction.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||
</div>
|
||
</body>
|
||
</html>
|