Updateded: fixed 'requirement' errors

[SVN r70297]
This commit is contained in:
Joel de Guzman
2011-03-21 04:08:44 +00:00
parent 690735de20
commit 407657d56c
259 changed files with 3789 additions and 3516 deletions

View File

@ -27,7 +27,7 @@
<a name="fusion.notes"></a><a class="link" href="notes.html" title="Notes">Notes</a>
</h2></div></div></div>
<a name="fusion.notes.recursive_inlined_functions"></a><h4>
<a name="id1059493"></a>
<a name="id1088573"></a>
<a class="link" href="notes.html#fusion.notes.recursive_inlined_functions">Recursive Inlined
Functions</a>
</h4>
@ -40,7 +40,7 @@
remains linear.
</p>
<a name="fusion.notes.overloaded_functions"></a><h4>
<a name="id1059534"></a>
<a name="id1088613"></a>
<a class="link" href="notes.html#fusion.notes.overloaded_functions">Overloaded Functions</a>
</h4>
<p>
@ -50,7 +50,7 @@
given a key, <code class="computeroutput"><span class="identifier">k</span></code>.
</p>
<a name="fusion.notes.tag_dispatching"></a><h4>
<a name="id1059586"></a>
<a name="id1088666"></a>
<a class="link" href="notes.html#fusion.notes.tag_dispatching">Tag Dispatching</a>
</h4>
<p>
@ -59,14 +59,14 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
A type for which an appropriate template specialization is required
</li>
A type for which an appropriate template specialization is required
</li>
<li class="listitem">
A metafunction that associates the type with a tag type
</li>
A metafunction that associates the type with a tag type
</li>
<li class="listitem">
A template that is specialized for the tag type
</li>
A template that is specialized for the tag type
</li>
</ol></div>
<p>
For example, the fusion <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code> metafunction
@ -86,22 +86,22 @@
</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<code class="computeroutput"><span class="identifier">Sequence</span></code> is the type for
which a suitable implementation of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin_impl</span></code>
is required
</li>
<code class="computeroutput"><span class="identifier">Sequence</span></code> is the type for
which a suitable implementation of <code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin_impl</span></code>
is required
</li>
<li class="listitem">
<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">tag_of</span></code> is the metafunction that associates
<code class="computeroutput"><span class="identifier">Sequence</span></code> with an appropriate
tag
</li>
<code class="computeroutput"><span class="identifier">traits</span><span class="special">::</span><span class="identifier">tag_of</span></code> is the metafunction that associates
<code class="computeroutput"><span class="identifier">Sequence</span></code> with an appropriate
tag
</li>
<li class="listitem">
<code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin_impl</span></code> is the template which is specialized
to provide an implementation for each tag type
</li>
<code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin_impl</span></code> is the template which is specialized
to provide an implementation for each tag type
</li>
</ol></div>
<a name="fusion.notes.extensibility"></a><h4>
<a name="id1059874"></a>
<a name="id1088934"></a>
<a class="link" href="notes.html#fusion.notes.extensibility">Extensibility</a>
</h4>
<p>
@ -136,7 +136,7 @@
it very cheap to pass around.
</p>
<a name="fusion.notes.element_conversion"></a><h4>
<a name="id1060057"></a>
<a name="id1089116"></a>
<a class="link" href="notes.html#fusion.notes.element_conversion">Element Conversion</a>
</h4>
<p>
@ -157,7 +157,9 @@
<span class="bold"><strong>Arrays:</strong></span>
</p>
<p>
Array arguments are deduced to reference to const types. For example <sup>[<a name="id1060161" href="#ftn.id1060161" class="footnote">10</a>]</sup>:
Array arguments are deduced to reference to const types. For example
<sup>[<a name="id1089221" href="#ftn.id1089221" class="footnote">10</a>]</sup>
:
</p>
<pre class="programlisting"><a class="link" href="container/generation/functions/make_list.html" title="make_list"><code class="computeroutput"><span class="identifier">make_list</span></code></a><span class="special">(</span><span class="string">"Donald"</span><span class="special">,</span> <span class="string">"Daisy"</span><span class="special">)</span>
</pre>
@ -185,7 +187,7 @@
<pre class="programlisting"><a class="link" href="container/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a><span class="special">&lt;</span><span class="keyword">void</span> <span class="special">(*)(</span><span class="keyword">int</span><span class="special">)&gt;</span>
</pre>
<a name="fusion.notes.boost__ref"></a><h4>
<a name="id1060448"></a>
<a name="id1089507"></a>
<a class="link" href="notes.html#fusion.notes.boost__ref">boost::ref</a>
</h4>
<p>
@ -224,7 +226,7 @@
details.
</p>
<a name="fusion.notes.adt_attribute_proxy"></a><h4>
<a name="id1060903"></a>
<a name="id1089962"></a>
<a class="link" href="notes.html#fusion.notes.adt_attribute_proxy">adt_attribute_proxy</a>
</h4>
<p>
@ -456,12 +458,12 @@
</table></div>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id1060161" href="#id1060161" class="para">10</a>] </sup>
Note that the type of a string literal is an array of const characters, not
<code class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span></code>. To get <a class="link" href="container/generation/functions/make_list.html" title="make_list"><code class="computeroutput"><span class="identifier">make_list</span></code></a> to create a <a class="link" href="container/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> with an element of a non-const
array type one must use the <code class="computeroutput"><span class="identifier">ref</span></code>
wrapper (see <a class="link" href="notes.html#fusion.notes.boost__ref"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></code></a>).
</p></div>
<div class="footnote"><p><sup>[<a name="ftn.id1089221" href="#id1089221" class="para">10</a>] </sup>
Note that the type of a string literal is an array of const characters,
not <code class="computeroutput"><span class="keyword">const</span> <span class="keyword">char</span><span class="special">*</span></code>. To get <a class="link" href="container/generation/functions/make_list.html" title="make_list"><code class="computeroutput"><span class="identifier">make_list</span></code></a> to create a <a class="link" href="container/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> with an element of a non-const
array type one must use the <code class="computeroutput"><span class="identifier">ref</span></code>
wrapper (see <a class="link" href="notes.html#fusion.notes.boost__ref"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">ref</span></code></a>).
</p></div>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>