adds documentation for functional module

[SVN r36959]
This commit is contained in:
Tobias Schwinger
2007-02-15 23:11:24 +00:00
parent 67f0df4958
commit ca6f831b96
247 changed files with 8675 additions and 3833 deletions

View File

@@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>as_set</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<65>1.<2E>Fusion 2.0">
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="prev" href="as_vector.html" title="as_vector">
@@ -26,14 +26,14 @@
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.sequences.conversion.metafunctions.as_set"></a><a href="as_set.html" title="as_set">as_set</a></h5></div></div></div>
<a name="fusion.sequences.conversion.metafunctions.as_set.description"></a><h6>
<a name="id543349"></a>
<a name="id1071952"></a>
<a href="as_set.html#fusion.sequences.conversion.metafunctions.as_set.description">Description</a>
</h6>
<p>
Returns the result type of <a href="../functions/as_set.html" title="as_set"><tt class="computeroutput"><span class="identifier">as_set</span></tt></a>.
Returns the result type of <a href="../functions/as_set.html" title="as_set"><code class="computeroutput"><span class="identifier">as_set</span></code></a>.
</p>
<a name="fusion.sequences.conversion.metafunctions.as_set.synopsis"></a><h6>
<a name="id543397"></a>
<a name="id1071994"></a>
<a href="as_set.html#fusion.sequences.conversion.metafunctions.as_set.synopsis">Synopsis</a>
</h6>
<pre class="programlisting">
@@ -41,7 +41,7 @@
<span class="keyword">struct</span> <span class="identifier">as_set</span><span class="special">;</span>
</pre>
<a name="fusion.sequences.conversion.metafunctions.as_set.parameters"></a><h6>
<a name="id543478"></a>
<a name="id1072065"></a>
<a href="as_set.html#fusion.sequences.conversion.metafunctions.as_set.parameters">Parameters</a>
</h6>
<div class="informaltable"><table class="table">
@@ -56,7 +56,7 @@
<th>Description</th>
</tr></thead>
<tbody><tr>
<td><tt class="computeroutput"><span class="identifier">Sequence</span></tt></td>
<td><code class="computeroutput"><span class="identifier">Sequence</span></code></td>
<td>A
fusion <a href="../../../sequences.html" title="Sequences">Sequence</a>
</td>
@@ -65,7 +65,7 @@
</tr></tbody>
</table></div>
<a name="fusion.sequences.conversion.metafunctions.as_set.expression_semantics"></a><h6>
<a name="id543565"></a>
<a name="id1072144"></a>
<a href="as_set.html#fusion.sequences.conversion.metafunctions.as_set.expression_semantics">Expression
Semantics</a>
</h6>
@@ -73,30 +73,30 @@
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">;</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A <a href="../../containers/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a> with same elements as the
input sequence, <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
<span class="bold"><strong>Return type</strong></span>: A <a href="../../containers/set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a> with same elements as the
input sequence, <code class="computeroutput"><span class="identifier">Sequence</span></code>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Convert a fusion sequence,
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>, to a <a href="../../containers/set.html" title="set"><tt class="computeroutput"><span class="identifier">set</span></tt></a>.
<span class="bold"><strong>Semantics</strong></span>: Convert a fusion sequence,
<code class="computeroutput"><span class="identifier">Sequence</span></code>, to a <a href="../../containers/set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a>.
</p>
<p>
<span class="bold"><b>Precondition</b></span>: There may be no duplicate
<span class="bold"><strong>Precondition</strong></span>: There may be no duplicate
key types.
</p>
<a name="fusion.sequences.conversion.metafunctions.as_set.header"></a><h6>
<a name="id543727"></a>
<a name="id1072285"></a>
<a href="as_set.html#fusion.sequences.conversion.metafunctions.as_set.header">Header</a>
</h6>
<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">sequence</span><span class="special">/</span><span class="identifier">conversion</span><span class="special">/</span><span class="identifier">as_set</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<a name="fusion.sequences.conversion.metafunctions.as_set.example"></a><h6>
<a name="id543832"></a>
<a name="id1072378"></a>
<a href="as_set.html#fusion.sequences.conversion.metafunctions.as_set.example">Example</a>
</h6>
<pre class="programlisting">
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><a href="../../containers/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span>
<span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_set</span><span class="special">&lt;</span><a href="../../containers/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special">&lt;</span><span class="keyword">char</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">type</span>
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>