Files
boost_fusion/doc/html/fusion/tuples/class_template_tuple.html
Tobias Schwinger 9df373af5f revises function object concepts and functional module documenation to reflect
boost::result_of-based result computation


[SVN r38209]
2007-07-13 19:25:34 +00:00

81 lines
5.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Class template tuple</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="../../index.html" title="Chapter 1. Fusion 2.0">
<link rel="up" href="../tuples.html" title="Tuples">
<link rel="prev" href="../tuples.html" title="Tuples">
<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%">
<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="../tuples.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tuples.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="class_template_tuple/construction.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.tuples.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="../sequences/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="../sequences/containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a>, although this may be changed
in future releases of fusion.
</p>
<a name="fusion.tuples.class_template_tuple.synopsis"></a><h4>
<a name="id1212054"></a>
<a href="class_template_tuple.html#fusion.tuples.class_template_tuple.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
<span class="keyword">template</span><span class="special">&lt;</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">&gt;</span>
<span class="keyword">class</span> <span class="identifier">tuple</span><span class="special">;</span>
</pre>
<a name="fusion.tuples.class_template_tuple.header"></a><h4>
<a name="id1212173"></a>
<a href="class_template_tuple.html#fusion.tuples.class_template_tuple.header">Header</a>
</h4>
<pre class="programlisting">
<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">tuple</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
</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 © 2001-2007 Joel de Guzman, Dan Marsden, Tobias
Schwinger</small></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../tuples.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../tuples.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="class_template_tuple/construction.html"><img src="../../images/next.png" alt="Next"></a>
</div>
</body>
</html>