merge from trunk

[SVN r42226]
This commit is contained in:
Joel de Guzman
2007-12-21 03:13:31 +00:00
parent 7bd2fd716d
commit 4a29dd2a7c
239 changed files with 1875 additions and 1915 deletions

View File

@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.support.category_of"></a><a href="category_of.html" title="category_of">category_of</a></h3></div></div></div>
<a name="fusion.support.category_of.description"></a><h4>
<a name="id462954"></a>
<a name="id462934"></a>
<a href="category_of.html#fusion.support.category_of.description">Description</a>
</h4>
<p>
@ -36,7 +36,7 @@
<a href="../sequence/concepts.html" title="Concepts">Sequence Concepts</a>).
</p>
<a name="fusion.support.category_of.synopsis"></a><h4>
<a name="id463022"></a>
<a name="id463002"></a>
<a href="category_of.html#fusion.support.category_of.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -50,7 +50,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.category_of.parameters"></a><h4>
<a name="id463153"></a>
<a name="id463132"></a>
<a href="category_of.html#fusion.support.category_of.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -95,7 +95,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.category_of.expression_semantics"></a><h4>
<a name="id463259"></a>
<a name="id463238"></a>
<a href="category_of.html#fusion.support.category_of.expression_semantics">Expression
Semantics</a>
</h4>
@ -161,7 +161,7 @@
of a particular <a href="../sequence.html" title="Sequence">Sequence</a> or <a href="../iterator.html" title="Iterator">Iterator</a>.
</p>
<a name="fusion.support.category_of.header"></a><h4>
<a name="id463862"></a>
<a name="id463842"></a>
<a href="category_of.html#fusion.support.category_of.header">Header</a>
</h4>
<pre class="programlisting">
@ -169,7 +169,7 @@
<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">include</span><span class="special">/</span><span class="identifier">category_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.support.category_of.example"></a><h4>
<a name="id464020"></a>
<a name="id463999"></a>
<a href="category_of.html#fusion.support.category_of.example">Example</a>
</h4>
<pre class="programlisting">

View File

@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.support.deduce"></a><a href="deduce.html" title="deduce">deduce</a></h3></div></div></div>
<a name="fusion.support.deduce.description"></a><h4>
<a name="id464340"></a>
<a name="id464319"></a>
<a href="deduce.html#fusion.support.deduce.description">Description</a>
</h4>
<p>
@ -39,7 +39,7 @@
Reference wrappers are removed (see <a href="../notes.html#fusion.notes.boost__ref"><tt class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></tt></a>).
</p>
<a name="fusion.support.deduce.header"></a><h4>
<a name="id464439"></a>
<a name="id464418"></a>
<a href="deduce.html#fusion.support.deduce.header">Header</a>
</h4>
<pre class="programlisting">
@ -47,7 +47,7 @@
<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">include</span><span class="special">/</span><span class="identifier">deduce</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.support.deduce.synopsis"></a><h4>
<a name="id464595"></a>
<a name="id464575"></a>
<a href="deduce.html#fusion.support.deduce.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -61,7 +61,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.deduce.example"></a><h4>
<a name="id464726"></a>
<a name="id464706"></a>
<a href="deduce.html#fusion.support.deduce.example">Example</a>
</h4>
<pre class="programlisting">
@ -82,7 +82,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.deduce.see_also"></a><h4>
<a name="id465091"></a>
<a name="id465070"></a>
<a href="deduce.html#fusion.support.deduce.see_also">See also</a>
</h4>
<div class="itemizedlist"><ul type="disc"><li><a href="deduce_sequence.html" title="deduce_sequence"><tt class="computeroutput"><span class="identifier">deduce_sequence</span></tt></a></li></ul></div>

View File

@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.support.deduce_sequence"></a><a href="deduce_sequence.html" title="deduce_sequence">deduce_sequence</a></h3></div></div></div>
<a name="fusion.support.deduce_sequence.description"></a><h4>
<a name="id465160"></a>
<a name="id465139"></a>
<a href="deduce_sequence.html#fusion.support.deduce_sequence.description">Description</a>
</h4>
<p>
@ -39,7 +39,7 @@
original type as its argument.
</p>
<a name="fusion.support.deduce_sequence.header"></a><h4>
<a name="id465222"></a>
<a name="id465200"></a>
<a href="deduce_sequence.html#fusion.support.deduce_sequence.header">Header</a>
</h4>
<pre class="programlisting">
@ -47,7 +47,7 @@
<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">include</span><span class="special">/</span><span class="identifier">deduce_sequence</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.support.deduce_sequence.synopsis"></a><h4>
<a name="id465380"></a>
<a name="id465358"></a>
<a href="deduce_sequence.html#fusion.support.deduce_sequence.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -61,7 +61,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.deduce_sequence.example"></a><h4>
<a name="id465512"></a>
<a name="id465490"></a>
<a href="deduce_sequence.html#fusion.support.deduce_sequence.example">Example</a>
</h4>
<pre class="programlisting">
@ -84,7 +84,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.deduce_sequence.see_also"></a><h4>
<a name="id466071"></a>
<a name="id466049"></a>
<a href="deduce_sequence.html#fusion.support.deduce_sequence.see_also">See also</a>
</h4>
<div class="itemizedlist"><ul type="disc"><li><a href="deduce.html" title="deduce"><tt class="computeroutput"><span class="identifier">deduce</span></tt></a></li></ul></div>

View File

@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.support.is_sequence"></a><a href="is_sequence.html" title="is_sequence">is_sequence</a></h3></div></div></div>
<a name="fusion.support.is_sequence.description"></a><h4>
<a name="id459701"></a>
<a name="id459681"></a>
<a href="is_sequence.html#fusion.support.is_sequence.description">Description</a>
</h4>
<p>
@ -37,7 +37,7 @@
conforming sequences.
</p>
<a name="fusion.support.is_sequence.synopsis"></a><h4>
<a name="id459795"></a>
<a name="id459774"></a>
<a href="is_sequence.html#fusion.support.is_sequence.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -51,7 +51,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.is_sequence.parameters"></a><h4>
<a name="id459926"></a>
<a name="id459906"></a>
<a href="is_sequence.html#fusion.support.is_sequence.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -96,7 +96,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.is_sequence.expression_semantics"></a><h4>
<a name="id460032"></a>
<a name="id460012"></a>
<a href="is_sequence.html#fusion.support.is_sequence.expression_semantics">Expression
Semantics</a>
</h4>
@ -114,7 +114,7 @@
otherwise.
</p>
<a name="fusion.support.is_sequence.header"></a><h4>
<a name="id460202"></a>
<a name="id460182"></a>
<a href="is_sequence.html#fusion.support.is_sequence.header">Header</a>
</h4>
<pre class="programlisting">
@ -122,7 +122,7 @@
<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">include</span><span class="special">/</span><span class="identifier">is_sequence</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.support.is_sequence.example"></a><h4>
<a name="id460359"></a>
<a name="id460339"></a>
<a href="is_sequence.html#fusion.support.is_sequence.example">Example</a>
</h4>
<pre class="programlisting">

View File

@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.support.is_view"></a><a href="is_view.html" title="is_view">is_view</a></h3></div></div></div>
<a name="fusion.support.is_view.description"></a><h4>
<a name="id460805"></a>
<a name="id460784"></a>
<a href="is_view.html#fusion.support.is_view.description">Description</a>
</h4>
<p>
@ -40,7 +40,7 @@
specialized to accomodate clients providing Fusion conforming views.
</p>
<a name="fusion.support.is_view.synopsis"></a><h4>
<a name="id460916"></a>
<a name="id460896"></a>
<a href="is_view.html#fusion.support.is_view.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -54,7 +54,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.is_view.parameters"></a><h4>
<a name="id461047"></a>
<a name="id461026"></a>
<a href="is_view.html#fusion.support.is_view.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -99,7 +99,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.is_view.expression_semantics"></a><h4>
<a name="id461153"></a>
<a name="id461132"></a>
<a href="is_view.html#fusion.support.is_view.expression_semantics">Expression Semantics</a>
</h4>
<pre class="programlisting">
@ -116,7 +116,7 @@
otherwise.
</p>
<a name="fusion.support.is_view.header"></a><h4>
<a name="id461323"></a>
<a name="id461302"></a>
<a href="is_view.html#fusion.support.is_view.header">Header</a>
</h4>
<pre class="programlisting">
@ -124,7 +124,7 @@
<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">include</span><span class="special">/</span><span class="identifier">is_view</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.support.is_view.example"></a><h4>
<a name="id461479"></a>
<a name="id461458"></a>
<a href="is_view.html#fusion.support.is_view.example">Example</a>
</h4>
<pre class="programlisting">

View File

@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.support.pair"></a><a href="pair.html" title="pair">pair</a></h3></div></div></div>
<a name="fusion.support.pair.description"></a><h4>
<a name="id466136"></a>
<a name="id466114"></a>
<a href="pair.html#fusion.support.pair.description">Description</a>
</h4>
<p>
@ -37,7 +37,7 @@
for example.
</p>
<a name="fusion.support.pair.synopsis"></a><h4>
<a name="id466241"></a>
<a name="id466219"></a>
<a href="pair.html#fusion.support.pair.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -61,7 +61,7 @@
<span class="identifier">make_pair</span><span class="special">(</span><span class="identifier">Second</span> <span class="keyword">const</span> <span class="special">&amp;);</span>
</pre>
<a name="fusion.support.pair.template_parameters"></a><h4>
<a name="id466684"></a>
<a name="id466662"></a>
<a href="pair.html#fusion.support.pair.template_parameters">Template parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -140,13 +140,14 @@
</dl>
</div>
<a name="fusion.support.pair.expression_semantics"></a><h4>
<a name="id466964"></a>
<a name="id466942"></a>
<a href="pair.html#fusion.support.pair.expression_semantics">Expression Semantics</a>
</h4>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th>
@ -159,6 +160,7 @@
Semantics
</p>
</th>
<td class="auto-generated"><EFBFBD></td>
</tr></thead>
<tbody>
<tr>
@ -173,6 +175,7 @@
equivalent to <tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">first</span><span class="special">&lt;</span><span class="identifier">P</span><span class="special">&gt;::</span><span class="identifier">type</span></tt>.
</p>
</td>
<td class="auto-generated"><EFBFBD></td>
</tr>
<tr>
<td>
@ -186,6 +189,7 @@
equivalent to <tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">second</span><span class="special">&lt;</span><span class="identifier">P</span><span class="special">&gt;::</span><span class="identifier">type</span></tt>.
</p>
</td>
<td class="auto-generated"><EFBFBD></td>
</tr>
<tr>
<td>
@ -198,6 +202,7 @@
Default construction.
</p>
</td>
<td class="auto-generated"><EFBFBD></td>
</tr>
<tr>
<td>
@ -210,6 +215,7 @@
Construct a pair given value for the second type, <tt class="computeroutput"><span class="identifier">s</span></tt>.
</p>
</td>
<td class="auto-generated"><EFBFBD></td>
</tr>
<tr>
<td>
@ -222,80 +228,42 @@
Copy constructs a pair from another pair, <tt class="computeroutput"><span class="identifier">p2</span></tt>.
</p>
</td>
<td class="auto-generated"><EFBFBD></td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">p</span> <span class="special">=</span>
<span class="identifier">p2</span></tt>
<tt class="computeroutput"><span class="identifier">p</span><span class="special">.</span><span class="identifier">second</span></tt>
</p>
</td>
<td>
<p>
Assigns a pair, p1, from another pair, <tt class="computeroutput"><span class="identifier">p2</span></tt>.
</p>
</td>
</tr>
<tr>
<td>
<p>
make_pair&lt;F&gt;(s)
</p>
</td>
<td>
<p>
Make a pair given the first type, <tt class="computeroutput"><span class="identifier">F</span></tt>,
and a value for the second type, <tt class="computeroutput"><span class="identifier">s</span></tt>.
The second type assumes the type of <tt class="computeroutput"><span class="identifier">s</span></tt>
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">o</span> <span class="special">&lt;&lt;</span>
<span class="identifier">p</span></tt>
</p>
</td>
<td>
<p>
Output <tt class="computeroutput"><span class="identifier">p</span></tt> to output
stream, <tt class="computeroutput"><span class="identifier">o</span></tt>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">i</span> <span class="special">&gt;&gt;</span>
<span class="identifier">p</span></tt>
</p>
</td>
<td>
<p>
Input <tt class="computeroutput"><span class="identifier">p</span></tt> from input
stream, <tt class="computeroutput"><span class="identifier">i</span></tt>.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">p</span> <span class="special">==</span>
<span class="identifier">p2</span></tt>
</p>
</td>
<td>
<p>
Tests two pairs for equality.
</p>
</td>
</tr>
<tr>
<td>
<p>
<tt class="computeroutput"><span class="identifier">p</span> <span class="special">!=</span>
<span class="identifier">p2</span></tt>
Get the data from <tt class="computeroutput"><span class="identifier">p1</span><span class="special">.]]</span> <span class="special">[[</span></tt>p
= p2<tt class="computeroutput"><span class="special">]</span> <span class="special">[</span><span class="identifier">Assigns</span> <span class="identifier">a</span>
<span class="identifier">pair</span><span class="special">,</span>
</tt>p1<tt class="computeroutput"><span class="special">,</span> <span class="identifier">from</span>
<span class="identifier">another</span> <span class="identifier">pair</span><span class="special">,</span> </tt>p2<tt class="computeroutput"><span class="special">.]]</span>
<span class="special">[[</span><span class="identifier">make_pair</span><span class="special">&lt;</span><span class="identifier">F</span><span class="special">&gt;(</span><span class="identifier">s</span><span class="special">)]</span> <span class="special">[</span><span class="identifier">Make</span> <span class="identifier">a</span>
<span class="identifier">pair</span> <span class="identifier">given</span>
<span class="identifier">the</span> <span class="identifier">first</span>
<span class="identifier">type</span><span class="special">,</span>
</tt>F<tt class="computeroutput"><span class="special">,</span> <span class="keyword">and</span>
<span class="identifier">a</span> <span class="identifier">value</span>
<span class="keyword">for</span> <span class="identifier">the</span>
<span class="identifier">second</span> <span class="identifier">type</span><span class="special">,</span> </tt>s<tt class="computeroutput"><span class="special">.</span>
<span class="identifier">The</span> <span class="identifier">second</span>
<span class="identifier">type</span> <span class="identifier">assumes</span>
<span class="identifier">the</span> <span class="identifier">type</span>
<span class="identifier">of</span> </tt>s<tt class="computeroutput"><span class="special">]]</span>
<span class="special">[[</span></tt>o &lt;&lt; p<tt class="computeroutput"><span class="special">]</span> <span class="special">[</span><span class="identifier">Output</span> </tt>p<tt class="computeroutput"> <span class="identifier">to</span>
<span class="identifier">output</span> <span class="identifier">stream</span><span class="special">,</span> </tt>o<tt class="computeroutput"><span class="special">.]]</span>
<span class="special">[[</span></tt>i &gt;&gt; p<tt class="computeroutput"><span class="special">]</span> <span class="special">[</span><span class="identifier">Input</span> </tt>p<tt class="computeroutput"> <span class="identifier">from</span>
<span class="identifier">input</span> <span class="identifier">stream</span><span class="special">,</span> </tt>i<tt class="computeroutput"><span class="special">.]]</span>
<span class="special">[[</span></tt>p == p2<tt class="computeroutput"><span class="special">]</span>
<span class="special">[</span><span class="identifier">Tests</span>
<span class="identifier">two</span> <span class="identifier">pairs</span>
<span class="keyword">for</span> <span class="identifier">equality</span><span class="special">.]]</span> <span class="special">[[</span></tt>p
!= p2`
</p>
</td>
<td>
@ -307,7 +275,7 @@
</tbody>
</table></div>
<a name="fusion.support.pair.header"></a><h4>
<a name="id467677"></a>
<a name="id467922"></a>
<a href="pair.html#fusion.support.pair.header">Header</a>
</h4>
<pre class="programlisting">
@ -315,7 +283,7 @@
<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">include</span><span class="special">/</span><span class="identifier">pair</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.support.pair.example"></a><h4>
<a name="id467833"></a>
<a name="id468079"></a>
<a href="pair.html#fusion.support.pair.example">Example</a>
</h4>
<pre class="programlisting">

View File

@ -26,7 +26,7 @@
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.support.tag_of"></a><a href="tag_of.html" title="tag_of">tag_of</a></h3></div></div></div>
<a name="fusion.support.tag_of.description"></a><h4>
<a name="id461929"></a>
<a name="id461908"></a>
<a href="tag_of.html#fusion.support.tag_of.description">Description</a>
</h4>
<p>
@ -40,7 +40,7 @@
conforming sequences.
</p>
<a name="fusion.support.tag_of.synopsis"></a><h4>
<a name="id461989"></a>
<a name="id461968"></a>
<a href="tag_of.html#fusion.support.tag_of.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -54,7 +54,7 @@
<span class="special">}</span>
</pre>
<a name="fusion.support.tag_of.parameters"></a><h4>
<a name="id462118"></a>
<a name="id462098"></a>
<a href="tag_of.html#fusion.support.tag_of.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -99,7 +99,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.tag_of.expression_semantics"></a><h4>
<a name="id462224"></a>
<a name="id462204"></a>
<a href="tag_of.html#fusion.support.tag_of.expression_semantics">Expression Semantics</a>
</h4>
<pre class="programlisting">
@ -113,7 +113,7 @@
with <tt class="computeroutput"><span class="identifier">T</span></tt>.
</p>
<a name="fusion.support.tag_of.header"></a><h4>
<a name="id462343"></a>
<a name="id462322"></a>
<a href="tag_of.html#fusion.support.tag_of.header">Header</a>
</h4>
<pre class="programlisting">
@ -121,7 +121,7 @@
<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">include</span><span class="special">/</span><span class="identifier">tag_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.support.tag_of.example"></a><h4>
<a name="id462499"></a>
<a name="id462478"></a>
<a href="tag_of.html#fusion.support.tag_of.example">Example</a>
</h4>
<pre class="programlisting">