Documentation fix + stuff

[SVN r36122]
This commit is contained in:
Joel de Guzman
2006-11-20 23:17:25 +00:00
parent 141dac45fe
commit 1b7f4a1a47
188 changed files with 1085 additions and 1072 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="id453393"></a>
<a name="id453948"></a>
<a href="category_of.html#fusion.support.category_of.description">Description</a>
</h4>
<p>
@ -36,7 +36,7 @@
<a href="../sequences/concepts.html" title="Concepts">Sequence Concepts</a>).
</p>
<a name="fusion.support.category_of.synopsis"></a><h4>
<a name="id453458"></a>
<a name="id454014"></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="id453588"></a>
<a name="id454144"></a>
<a href="category_of.html#fusion.support.category_of.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -72,7 +72,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.category_of.expression_semantics"></a><h4>
<a name="id453666"></a>
<a name="id454221"></a>
<a href="category_of.html#fusion.support.category_of.expression_semantics">Expression
Semantics</a>
</h4>
@ -138,14 +138,14 @@
of a particular <a href="../sequences.html" title="Sequences">Sequence</a> or <a href="../iterators.html" title="Iterators">Iterator</a>.
</p>
<a name="fusion.support.category_of.header"></a><h4>
<a name="id454254"></a>
<a name="id454809"></a>
<a href="category_of.html#fusion.support.category_of.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">support</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="id454347"></a>
<a name="id454902"></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.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="id450493"></a>
<a name="id451052"></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="id450582"></a>
<a name="id451141"></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="id450712"></a>
<a name="id451271"></a>
<a href="is_sequence.html#fusion.support.is_sequence.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -73,7 +73,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.is_sequence.expression_semantics"></a><h4>
<a name="id450790"></a>
<a name="id451349"></a>
<a href="is_sequence.html#fusion.support.is_sequence.expression_semantics">Expression
Semantics</a>
</h4>
@ -90,14 +90,14 @@
otherwise.
</p>
<a name="fusion.support.is_sequence.header"></a><h4>
<a name="id450945"></a>
<a name="id451504"></a>
<a href="is_sequence.html#fusion.support.is_sequence.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">support</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="id451038"></a>
<a name="id451597"></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="id451484"></a>
<a name="id452043"></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="id451585"></a>
<a name="id452144"></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="id451714"></a>
<a name="id452273"></a>
<a href="is_view.html#fusion.support.is_view.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -76,7 +76,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.is_view.expression_semantics"></a><h4>
<a name="id451792"></a>
<a name="id452350"></a>
<a href="is_view.html#fusion.support.is_view.expression_semantics">Expression Semantics</a>
</h4>
<pre class="programlisting">
@ -92,14 +92,14 @@
otherwise.
</p>
<a name="fusion.support.is_view.header"></a><h4>
<a name="id451944"></a>
<a name="id452503"></a>
<a href="is_view.html#fusion.support.is_view.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">support</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="id452032"></a>
<a name="id452591"></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="id454665"></a>
<a name="id455220"></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="id454765"></a>
<a name="id455320"></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="id455207"></a>
<a name="id455762"></a>
<a href="pair.html#fusion.support.pair.template_parameters">Template parameters</a>
</h4>
<div class="informaltable"><table class="table">
@ -117,7 +117,7 @@
</dl>
</div>
<a name="fusion.support.pair.expression_semantics"></a><h4>
<a name="id455427"></a>
<a name="id455982"></a>
<a href="pair.html#fusion.support.pair.expression_semantics">Expression Semantics</a>
</h4>
<div class="informaltable"><table class="table">
@ -193,14 +193,14 @@
</tbody>
</table></div>
<a name="fusion.support.pair.header"></a><h4>
<a name="id455990"></a>
<a name="id456544"></a>
<a href="pair.html#fusion.support.pair.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">support</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="id456082"></a>
<a name="id456636"></a>
<a href="pair.html#fusion.support.pair.example">Example</a>
</h4>
<pre class="programlisting">

View File

@ -26,24 +26,21 @@
<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="id452481"></a>
<a name="id453040"></a>
<a href="tag_of.html#fusion.support.tag_of.description">Description</a>
</h4>
<p>
All conforming Fusion sequences and iterators have an associated tag type.
The purpose of the tag is to enable <a href="../notes.html#fusion.notes.tag_dispatching"><span class="emphasis"><em>tag
dispatching</em></span></a> from <a href="../sequences/intrinsics.html" title="Intrinsics">Intrinsic</a>
functions to implementations appropriate for the type. The default implementation
of <tt class="computeroutput"><span class="identifier">tag_of</span></tt> returns <tt class="computeroutput"><span class="identifier">T</span><span class="special">::</span><span class="identifier">fusion_tag</span></tt>
for a given type <tt class="computeroutput"><span class="identifier">T</span></tt>, if such
a member typedef exists.
functions to implementations appropriate for the type.
</p>
<p>
This metafunction may be specialized to accomodate clients providing Fusion
conforming sequences.
</p>
<a name="fusion.support.tag_of.synopsis"></a><h4>
<a name="id452575"></a>
<a name="id453092"></a>
<a href="tag_of.html#fusion.support.tag_of.synopsis">Synopsis</a>
</h4>
<pre class="programlisting">
@ -56,10 +53,10 @@
<span class="special">};</span>
<span class="special">}</span>
</pre>
<p>
namespace traits { template&lt;typename Sequence&gt; struct tag_of { typedef
<span class="emphasis"><em>unspecified</em></span> type; }; } [heading Parameters]
</p>
<a name="fusion.support.tag_of.parameters"></a><h4>
<a name="id453219"></a>
<a href="tag_of.html#fusion.support.tag_of.parameters">Parameters</a>
</h4>
<div class="informaltable"><table class="table">
<colgroup>
<col>
@ -79,7 +76,7 @@
</tr></tbody>
</table></div>
<a name="fusion.support.tag_of.expression_semantics"></a><h4>
<a name="id452768"></a>
<a name="id453297"></a>
<a href="tag_of.html#fusion.support.tag_of.expression_semantics">Expression Semantics</a>
</h4>
<pre class="programlisting">
@ -93,21 +90,21 @@
with <tt class="computeroutput"><span class="identifier">T</span></tt>.
</p>
<a name="fusion.support.tag_of.header"></a><h4>
<a name="id452881"></a>
<a name="id453410"></a>
<a href="tag_of.html#fusion.support.tag_of.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">support</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="id452969"></a>
<a name="id453499"></a>
<a href="tag_of.html#fusion.support.tag_of.example">Example</a>
</h4>
<pre class="programlisting">
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_sequence</span><span class="special">&lt;</span><a href="../sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;&gt;</span> <span class="identifier">tag1</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_sequence</span><span class="special">&lt;</span><a href="../sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">tag2</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_sequence</span><span class="special">&lt;</span><a href="../sequences/containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;&gt;</span> <span class="special">&gt;</span> <span class="identifier">tag3</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">is_sequence</span><span class="special">&lt;</span><a href="../sequences/containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;</span> <span class="identifier">tag4</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">tag_of</span><span class="special">&lt;</span><a href="../sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">tag1</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">tag_of</span><span class="special">&lt;</span><a href="../sequences/containers/list.html" title="list"><tt class="computeroutput"><span class="identifier">list</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">tag2</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">tag_of</span><span class="special">&lt;</span><a href="../sequences/containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">tag3</span><span class="special">;</span>
<span class="keyword">typedef</span> <span class="identifier">traits</span><span class="special">::</span><span class="identifier">tag_of</span><span class="special">&lt;</span><a href="../sequences/containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span> <span class="identifier">tag4</span><span class="special">;</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">tag1</span><span class="special">,</span> <span class="identifier">tag2</span><span class="special">&gt;));</span>
<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">is_same</span><span class="special">&lt;</span><span class="identifier">tag3</span><span class="special">,</span> <span class="identifier">tag4</span><span class="special">&gt;));</span>