Update of /cvsroot/boost/boost/libs/fusion/doc/html/fusion/tuples
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14230/fusion/tuples
Modified Files:
class_template_tuple.html pairs.html
Log Message:
adds documentation for functional module
Index: class_template_tuple.html
===================================================================
RCS file:
/cvsroot/boost/boost/libs/fusion/doc/html/fusion/tuples/class_template_tuple.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- class_template_tuple.html 7 Feb 2007 22:59:25 -0000 1.11
+++ class_template_tuple.html 15 Feb 2007 23:11:24 -0000 1.12
@@ -3,7 +3,7 @@
<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.66.1">
+<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">
@@ -44,11 +44,11 @@
beyond that required by TR1.
</p>
<p>
- Currently tuple is basically a synonym for <a
href="../sequences/containers/vector.html" title="vector"><tt
class="computeroutput"><span class="identifier">vector</span></tt></a>,
although this may be changed
+ 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="id602788"></a>
+<a name="id1175401"></a>
<a
href="class_template_tuple.html#fusion.tuples.class_template_tuple.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@@ -60,7 +60,7 @@
<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="id602923"></a>
+<a name="id1175520"></a>
<a
href="class_template_tuple.html#fusion.tuples.class_template_tuple.header">Header</a>
</h4>
<pre class="programlisting">
Index: pairs.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/fusion/doc/html/fusion/tuples/pairs.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- pairs.html 7 Feb 2007 22:59:25 -0000 1.11
+++ pairs.html 15 Feb 2007 23:11:24 -0000 1.12
@@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Pairs</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
+<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="class_template_tuple/relational_operators.html"
title="Relational
@@ -27,46 +27,47 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.tuples.pairs"></a><a href="pairs.html"
title="Pairs">Pairs</a></h3></div></div></div>
<a name="fusion.tuples.pairs.description"></a><h4>
-<a name="id608618"></a>
+<a name="id1180350"></a>
<a href="pairs.html#fusion.tuples.pairs.description">Description</a>
</h4>
<p>
The <a
href="http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1403.pdf"
target="_top">TR1
- Tuple</a> interface is specified to provide uniform access to <tt
class="computeroutput"><span class="identifier">std</span><span
class="special">::</span><span class="identifier">pair</span></tt>
+ Tuple</a> interface is specified to provide uniform access to <code
class="computeroutput"><span class="identifier">std</span><span
class="special">::</span><span class="identifier">pair</span></code>
as if it were a 2 element tuple.
</p>
<a name="fusion.tuples.pairs.specification"></a><h4>
-<a name="id608672"></a>
+<a name="id1180400"></a>
<a
href="pairs.html#fusion.tuples.pairs.specification">Specification</a>
</h4>
<pre class="programlisting">
<span class="identifier">tuple_size</span><span
class="special"><</span><span class="identifier">std</span><span
class="special">::</span><span class="identifier">pair</span><span
class="special"><</span><span class="identifier">T1</span><span
class="special">,</span> <span class="identifier">T2</span><span
class="special">></span> <span class="special">>::</span><span
class="identifier">value</span>
</pre>
<p>
- <span class="bold"><b>Type</b></span>: An MPL Integral Constant
+ <span class="bold"><strong>Type</strong></span>: An <a
href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html"
target="_top">MPL
+ Integral Constant</a>
</p>
<p>
- <span class="bold"><b>Value</b></span>: Returns 2, the number of
elements
+ <span class="bold"><strong>Value</strong></span>: Returns 2, the
number of elements
in a pair.
</p>
<pre class="programlisting">
<span class="identifier">tuple_element</span><span
class="special"><</span><span class="number">0</span><span
class="special">,</span> <span class="identifier">std</span><span
class="special">::</span><span class="identifier">pair</span><span
class="special"><</span><span class="identifier">T1</span><span
class="special">,</span> <span class="identifier">T2</span><span
class="special">></span> <span class="special">>::</span><span
class="identifier">type</span>
</pre>
<p>
- <span class="bold"><b>Type</b></span>: <tt
class="computeroutput"><span class="identifier">T1</span></tt>
+ <span class="bold"><strong>Type</strong></span>: <code
class="computeroutput"><span class="identifier">T1</span></code>
</p>
<p>
- <span class="bold"><b>Value</b></span>: Returns the type of the first
element
+ <span class="bold"><strong>Value</strong></span>: Returns the type of
the first element
of the pair
</p>
<pre class="programlisting">
<span class="identifier">tuple_element</span><span
class="special"><</span><span class="number">1</span><span
class="special">,</span> <span class="identifier">std</span><span
class="special">::</span><span class="identifier">pair</span><span
class="special"><</span><span class="identifier">T1</span><span
class="special">,</span> <span class="identifier">T2</span><span
class="special">></span> <span class="special">>::</span><span
class="identifier">type</span>
</pre>
<p>
- <span class="bold"><b>Type</b></span>: <tt
class="computeroutput"><span class="identifier">T2</span></tt>
+ <span class="bold"><strong>Type</strong></span>: <code
class="computeroutput"><span class="identifier">T2</span></code>
</p>
<p>
- <span class="bold"><b>Value</b></span>: Returns thetype of the second
element
+ <span class="bold"><strong>Value</strong></span>: Returns thetype of
the second element
of the pair
</p>
<pre class="programlisting">
@@ -77,21 +78,21 @@
<span class="keyword">const</span> <span class="identifier">P</span><span
class="special">&</span> <span class="identifier">get</span><span
class="special">(</span><span class="keyword">const</span> <span
class="identifier">std</span><span class="special">::</span><span
class="identifier">pair</span><span class="special"><</span><span
class="identifier">T1</span><span class="special">,</span> <span
class="identifier">T2</span><span class="special">>&</span> <span
class="identifier">pr</span><span class="special">);</span>
</pre>
<p>
- <span class="bold"><b>Type</b></span>: If <tt
class="computeroutput"><span class="identifier">I</span>
- <span class="special">==</span> <span class="number">0</span></tt>
- <tt class="computeroutput"><span class="identifier">P</span></tt> is
<tt class="computeroutput"><span class="identifier">T1</span></tt>,
- else if <tt class="computeroutput"><span class="identifier">I</span>
<span class="special">==</span>
- <span class="number">1</span></tt> <tt class="computeroutput"><span
class="identifier">P</span></tt>
- is <tt class="computeroutput"><span class="identifier">T2</span></tt>
else the program is
+ <span class="bold"><strong>Type</strong></span>: If <code
class="computeroutput"><span class="identifier">I</span>
+ <span class="special">==</span> <span class="number">0</span></code>
+ <code class="computeroutput"><span class="identifier">P</span></code>
is <code class="computeroutput"><span class="identifier">T1</span></code>,
+ else if <code class="computeroutput"><span class="identifier">I</span>
<span class="special">==</span>
+ <span class="number">1</span></code> <code
class="computeroutput"><span class="identifier">P</span></code>
+ is <code class="computeroutput"><span
class="identifier">T2</span></code> else the program is
ill-formed.
</p>
<p>
- <span class="bold"><b>Returns: <tt class="computeroutput"><span
class="identifier">pr</span><span class="special">.</span><span
class="identifier">first</span></tt>
- if <tt class="computeroutput"><span class="identifier">I</span> <span
class="special">==</span>
- <span class="number">0</span></tt> else <tt
class="computeroutput"><span class="identifier">pr</span><span
class="special">.</span><span
class="identifier">second</span></tt>.</b></span>[*Returns:
- <tt class="computeroutput"><span class="identifier">pr</span><span
class="special">.</span><span class="identifier">first</span></tt> if <tt
class="computeroutput"><span class="identifier">I</span>
- <span class="special">==</span> <span class="number">0</span></tt>
- else <tt class="computeroutput"><span
class="identifier">pr</span><span class="special">.</span><span
class="identifier">second</span></tt>.
+ <span class="bold"><strong>Returns: <code class="computeroutput"><span
class="identifier">pr</span><span class="special">.</span><span
class="identifier">first</span></code>
+ if <code class="computeroutput"><span class="identifier">I</span>
<span class="special">==</span>
+ <span class="number">0</span></code> else <code
class="computeroutput"><span class="identifier">pr</span><span
class="special">.</span><span
class="identifier">second</span></code>.</strong></span>[*Returns:
+ <code class="computeroutput"><span class="identifier">pr</span><span
class="special">.</span><span class="identifier">first</span></code> if <code
class="computeroutput"><span class="identifier">I</span>
+ <span class="special">==</span> <span class="number">0</span></code>
+ else <code class="computeroutput"><span
class="identifier">pr</span><span class="special">.</span><span
class="identifier">second</span></code>.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"
width="100%"><tr>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs