Copy generated fusion documentation from trunk.

[SVN r59021]
This commit is contained in:
Daniel James
2010-01-15 06:35:28 +00:00
parent cda74605fc
commit 3f4d3eb887
263 changed files with 13560 additions and 37050 deletions

View File

@ -3,18 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>find</title>
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
<<<<<<< .working
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
=======
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<<<<<<< .working
>>>>>>> .merge-right.r57125
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
=======
<link rel="home" href="../../../../index.html" title="Chapter&#160;1.&#160;Fusion 2.0">
>>>>>>> .merge-right.r58299
<link rel="up" href="../metafunctions.html" title="Metafunctions">
<link rel="previous" href="none.html" title="none">
<link rel="prev" href="none.html" title="none">
<link rel="next" href="find_if.html" title="find_if">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -30,79 +22,21 @@
<div class="spirit-nav">
<a accesskey="p" href="none.html"><img src="../../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="find_if.html"><img src="../../../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h5 class="title">
<a name="fusion.algorithm.query.metafunctions.find"></a><a href="find.html" title="find">find</a>
</h5></div></div>
<div></div>
</div>
<div class="section" title="find">
<div class="titlepage"><div><div><h5 class="title">
<a name="fusion.algorithm.query.metafunctions.find"></a><a class="link" href="find.html" title="find">find</a>
</h5></div></div></div>
<a name="fusion.algorithm.query.metafunctions.find.description"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554625"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.description">Description</a>
=======
<a name="id806623"></a>
=======
<a name="id769736"></a>
=======
<a name="id762112"></a>
=======
<a name="id784699"></a>
=======
<a name="id771997"></a>
=======
<a name="id768720"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a name="id762167"></a>
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.description">Description</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
<<<<<<< .working
Returns the result type of <tt class="computeroutput"><span class="identifier">find</span></tt>,
given the sequence and search types.
=======
Returns the result type of <a class="link" href="../functions/find.html" title="find"><code class="computeroutput"><span class="identifier">find</span></code></a>, given the sequence and
search types.
>>>>>>> .merge-right.r57242
</p>
<a name="fusion.algorithm.query.metafunctions.find.synopsis"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554666"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.synopsis">Synopsis</a>
=======
<a name="id807331"></a>
=======
<a name="id769764"></a>
=======
<a name="id762140"></a>
=======
<a name="id784727"></a>
=======
<a name="id772025"></a>
=======
<a name="id768748"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a name="id762194"></a>
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.synopsis">Synopsis</a>
>>>>>>> .merge-right.r57125
</h6>
<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span>
<span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">,</span>
@ -114,160 +48,96 @@
<span class="special">};</span>
</pre>
<div class="table">
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id554782"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
<table class="table" summary="Parameters">
=======
<a name="id807417"></a><p class="title"><b>Table<EFBFBD>1.49.<2E>Parameters</b></p>
=======
<a name="id769849"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
=======
<a name="id762225"></a><p class="title"><b>Table<EFBFBD>1.53.<2E>Parameters</b></p>
=======
<a name="id784812"></a><p class="title"><b>Table&#160;1.53.&#160;Parameters</b></p>
=======
<a name="id772110"></a><p class="title"><b>Table&#160;1.53.&#160;Parameters</b></p>
=======
<a name="id768833"></a><p class="title"><b>Table&#160;1.53.&#160;Parameters</b></p>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a name="id762279"></a><p class="title"><b>Table&#160;1.53.&#160;Parameters</b></p>
<div class="table-contents"><table class="table" summary="Parameters">
>>>>>>> .merge-right.r57125
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th><p>
<th>
<p>
Parameter
</p></th>
<th><p>
</p>
</th>
<th>
<p>
Requirement
</p></th>
<th><p>
</p>
</th>
<th>
<p>
Description
</p></th>
</p>
</th>
</tr></thead>
<tbody>
<tr>
<td><p>
<tt class="computeroutput"><span class="identifier">Sequence</span></tt>
</p></td>
<td><p>
Model of <a href="../../../sequence/concepts/forward_sequence.html" title="Forward
Sequence">Forward
<td>
<p>
<code class="computeroutput"><span class="identifier">Sequence</span></code>
</p>
</td>
<td>
<p>
Model of <a class="link" href="../../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward
Sequence</a>
</p></td>
<td><p>
</p>
</td>
<td>
<p>
Operation's argument
</p></td>
</p>
</td>
</tr>
<tr>
<td><p>
<tt class="computeroutput"><span class="identifier">T</span></tt>
</p></td>
<td><p>
<td>
<p>
<code class="computeroutput"><span class="identifier">T</span></code>
</p>
</td>
<td>
<p>
Any type
</p></td>
<td><p>
</p>
</td>
<td>
<p>
Operation's argument
</p></td>
</p>
</td>
</tr>
</tbody>
</table>
</table></div>
</div>
<<<<<<< .working
<a name="fusion.algorithm.query.metafunctions.find.expression_semantics"></a><h6>
<a name="id554920"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.expression_semantics">Expression
=======
<br class="table-break"><a name="fusion.algorithm.query.metafunctions.find.expression_semantics"></a><h6>
<a name="id768949"></a>
<a name="id762396"></a>
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.expression_semantics">Expression
>>>>>>> .merge-right.r57125
Semantics</a>
</h6>
<pre class="programlisting"><a href="find.html" title="find"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">find</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
<pre class="programlisting"><a class="link" href="find.html" title="find"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">find</span></code></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">,</span> <span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span>
</pre>
<p>
<span class="bold"><b>Return type</b></span>: A model of the same iterator
category as the iterators of <tt class="computeroutput"><span class="identifier">Sequence</span></tt>.
<span class="bold"><strong>Return type</strong></span>: A model of the same iterator
category as the iterators of <code class="computeroutput"><span class="identifier">Sequence</span></code>.
</p>
<p>
<span class="bold"><b>Semantics</b></span>: Returns an iterator to the
first element of type <tt class="computeroutput"><span class="identifier">T</span></tt>
in <tt class="computeroutput"><span class="identifier">Sequence</span></tt>, or <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/end.html" title="end"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span></tt>
<span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the
first element of type <code class="computeroutput"><span class="identifier">T</span></code>
in <code class="computeroutput"><span class="identifier">Sequence</span></code>, or <code class="computeroutput"><a class="link" href="../../../sequence/intrinsic/metafunctions/end.html" title="end"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">end</span></code></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">type</span></code>
if there is no such element.
</p>
<a name="fusion.algorithm.query.metafunctions.find.complexity"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555121"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.complexity">Complexity</a>
=======
<a name="id807665"></a>
=======
<a name="id770098"></a>
=======
<a name="id762473"></a>
=======
<a name="id785060"></a>
=======
<a name="id772358"></a>
=======
<a name="id769081"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a name="id762528"></a>
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.complexity">Complexity</a>
>>>>>>> .merge-right.r57125
</h6>
<p>
Linear, at most <tt class="computeroutput"><a href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><tt class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></tt></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></tt> comparisons.
Linear, at most <code class="computeroutput"><a class="link" href="../../../sequence/intrinsic/metafunctions/size.html" title="size"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">size</span></code></a><span class="special">&lt;</span><span class="identifier">Sequence</span><span class="special">&gt;::</span><span class="identifier">value</span></code> comparisons.
</p>
<a name="fusion.algorithm.query.metafunctions.find.header"></a><h6>
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<<<<<<< .working
<a name="id555202"></a>
<a href="find.html#fusion.algorithm.query.metafunctions.find.header">Header</a>
=======
<a name="id807715"></a>
=======
<a name="id770148"></a>
=======
<a name="id762524"></a>
=======
<a name="id785111"></a>
=======
<a name="id772409"></a>
=======
<a name="id769132"></a>
>>>>>>> .merge-right.r58559
>>>>>>> .merge-right.r58549
>>>>>>> .merge-right.r58299
>>>>>>> .merge-right.r57337
>>>>>>> .merge-right.r57242
<a name="id762578"></a>
<a class="link" href="find.html#fusion.algorithm.query.metafunctions.find.header">Header</a>
>>>>>>> .merge-right.r57125
</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">algorithm</span><span class="special">/</span><span class="identifier">query</span><span class="special">/</span><span class="identifier">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<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">find</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>