diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 12:57:26 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 12:57:26 -0700 |
commit | 1a78a62555be32868418fe52f8e330c9d0f95d5a (patch) | |
tree | d3765a80e7d3b9640ec2e930743630cd6b9fce2b /libs/fusion/doc/html/fusion/iterator | |
download | boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.gz boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.tar.bz2 boost-1a78a62555be32868418fe52f8e330c9d0f95d5a.zip |
Imported Upstream version 1.49.0upstream/1.49.0
Diffstat (limited to 'libs/fusion/doc/html/fusion/iterator')
29 files changed, 4556 insertions, 0 deletions
diff --git a/libs/fusion/doc/html/fusion/iterator/concepts.html b/libs/fusion/doc/html/fusion/iterator/concepts.html new file mode 100755 index 0000000000..532797b4cc --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/concepts.html @@ -0,0 +1,66 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Concepts</title> +<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../iterator.html" title="Iterator"> +<link rel="prev" href="../iterator.html" title="Iterator"> +<link rel="next" href="concepts/forward_iterator.html" title="Forward Iterator"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../iterator.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="concepts/forward_iterator.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="fusion.iterator.concepts"></a><a class="link" href="concepts.html" title="Concepts">Concepts</a> +</h3></div></div></div> +<div class="toc"><dl> +<dt><span class="section"><a href="concepts/forward_iterator.html">Forward + Iterator</a></span></dt> +<dt><span class="section"><a href="concepts/bidirectional_iterator.html">Bidirectional + Iterator</a></span></dt> +<dt><span class="section"><a href="concepts/random_access_iterator.html">Random + Access Iterator</a></span></dt> +<dt><span class="section"><a href="concepts/associative_iterator.html">Associative + Iterator</a></span></dt> +</dl></div> +<p> + Fusion iterators are divided into different traversal categories. <a class="link" href="concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> is the most basic concept. <a class="link" href="concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> is a refinement of <a class="link" href="concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a>. <a class="link" href="concepts/random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> is a refinement of <a class="link" href="concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a>. <a class="link" href="concepts/associative_iterator.html" title="Associative Iterator">Associative + Iterator</a> is a refinement of <a class="link" href="concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a>, <a class="link" href="concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> or <a class="link" href="concepts/random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a>. + </p> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../iterator.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="concepts/forward_iterator.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/concepts/associative_iterator.html b/libs/fusion/doc/html/fusion/iterator/concepts/associative_iterator.html new file mode 100755 index 0000000000..d69ccfd10b --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/concepts/associative_iterator.html @@ -0,0 +1,228 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Associative Iterator</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../concepts.html" title="Concepts"> +<link rel="prev" href="random_access_iterator.html" title="Random Access Iterator"> +<link rel="next" href="../functions.html" title="Functions"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="random_access_iterator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../functions.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.concepts.associative_iterator"></a><a class="link" href="associative_iterator.html" title="Associative Iterator">Associative + Iterator</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.concepts.associative_iterator.h0"></a> + <span><a name="fusion.iterator.concepts.associative_iterator.description"></a></span><a class="link" href="associative_iterator.html#fusion.iterator.concepts.associative_iterator.description">Description</a> + </h6> +<p> + An Associative Iterator provides additional semantics to obtain the properties + of the element of an associative forward, bidirectional or random access + sequence. + </p> +<div class="variablelist"> +<p class="title"><b>Notation</b></p> +<dl> +<dt><span class="term"><code class="computeroutput"><span class="identifier">i</span></code></span></dt> +<dd><p> + Associative Iterator + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">I</span></code></span></dt> +<dd><p> + Associative Iterator type + </p></dd> +</dl> +</div> +<h6> +<a name="fusion.iterator.concepts.associative_iterator.h1"></a> + <span><a name="fusion.iterator.concepts.associative_iterator.refinement_of"></a></span><a class="link" href="associative_iterator.html#fusion.iterator.concepts.associative_iterator.refinement_of">Refinement + of</a> + </h6> +<p> + <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward Iterator</a>, + <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> or <a class="link" href="random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> + </p> +<h6> +<a name="fusion.iterator.concepts.associative_iterator.h2"></a> + <span><a name="fusion.iterator.concepts.associative_iterator.expression_requirements"></a></span><a class="link" href="associative_iterator.html#fusion.iterator.concepts.associative_iterator.expression_requirements">Expression + requirements</a> + </h6> +<p> + In addition to the requirements defined in <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a>, <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> or <a class="link" href="random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> the following expressions must be valid: + </p> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Return type + </p> + </th> +<th> + <p> + Runtime Complexity + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">deref_data</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref_data</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr></tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.associative_iterator.h3"></a> + <span><a name="fusion.iterator.concepts.associative_iterator.meta_expressions"></a></span><a class="link" href="associative_iterator.html#fusion.iterator.concepts.associative_iterator.meta_expressions">Meta + Expressions</a> + </h6> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Compile Time Complexity + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/key_of.html" title="key_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">key_of</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/value_of_data.html" title="value_of_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of_data</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref_data</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +</tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.associative_iterator.h4"></a> + <span><a name="fusion.iterator.concepts.associative_iterator.models"></a></span><a class="link" href="associative_iterator.html#fusion.iterator.concepts.associative_iterator.models">Models</a> + </h6> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <a class="link" href="../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../container/set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/filter_view.html" title="filter_view"><code class="computeroutput"><span class="identifier">filter_view</span></code></a> + iterator (where adapted sequence is an <a class="link" href="../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative + Sequence</a> and a <a class="link" href="../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward + Sequence</a>) + </li> +<li class="listitem"> + <a class="link" href="../../view/iterator_range.html" title="iterator_range"><code class="computeroutput"><span class="identifier">iterator_range</span></code></a> + iterator (where adapted iterators are <a class="link" href="associative_iterator.html" title="Associative Iterator">Associative + Iterator</a>s) + </li> +<li class="listitem"> + <a class="link" href="../../view/joint_view.html" title="joint_view"><code class="computeroutput"><span class="identifier">joint_view</span></code></a> + iterator (where adapted sequences are <a class="link" href="../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative + Sequence</a>s and <a class="link" href="../../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward + Sequence</a>s) + </li> +<li class="listitem"> + <a class="link" href="../../view/reverse_view.html" title="reverse_view"><code class="computeroutput"><span class="identifier">reverse_view</span></code></a> + iterator (where adapted sequence is an <a class="link" href="../../sequence/concepts/associative_sequence.html" title="Associative Sequence">Associative + Sequence</a> and a <a class="link" href="../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional + Sequence</a>) + </li> +</ul></div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="random_access_iterator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../functions.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/concepts/bidirectional_iterator.html b/libs/fusion/doc/html/fusion/iterator/concepts/bidirectional_iterator.html new file mode 100755 index 0000000000..d37afeef99 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/concepts/bidirectional_iterator.html @@ -0,0 +1,321 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Bidirectional Iterator</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../concepts.html" title="Concepts"> +<link rel="prev" href="forward_iterator.html" title="Forward Iterator"> +<link rel="next" href="random_access_iterator.html" title="Random Access Iterator"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="forward_iterator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="random_access_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.concepts.bidirectional_iterator"></a><a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.concepts.bidirectional_iterator.h0"></a> + <span><a name="fusion.iterator.concepts.bidirectional_iterator.description"></a></span><a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.description">Description</a> + </h6> +<p> + A Bidirectional Iterator traverses a <a class="link" href="../../sequence.html" title="Sequence">Sequence</a> + allowing movement in either direction one element at a time. + </p> +<div class="variablelist"> +<p class="title"><b>Notation</b></p> +<dl> +<dt><span class="term"><code class="computeroutput"><span class="identifier">i</span></code></span></dt> +<dd><p> + A Bidirectional Iterator + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">I</span></code></span></dt> +<dd><p> + A Bidirectional Iterator type + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">M</span></code></span></dt> +<dd><p> + An <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> + integral constant + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">N</span></code></span></dt> +<dd><p> + An integral constant + </p></dd> +</dl> +</div> +<h6> +<a name="fusion.iterator.concepts.bidirectional_iterator.h1"></a> + <span><a name="fusion.iterator.concepts.bidirectional_iterator.refinement_of"></a></span><a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.refinement_of">Refinement + of</a> + </h6> +<p> + <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward Iterator</a> + </p> +<h6> +<a name="fusion.iterator.concepts.bidirectional_iterator.h2"></a> + <span><a name="fusion.iterator.concepts.bidirectional_iterator.expression_requirements"></a></span><a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.expression_requirements">Expression + requirements</a> + </h6> +<p> + In addition to the requirements defined in <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a>, the following expressions must be valid: + </p> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Return type + </p> + </th> +<th> + <p> + Runtime Complexity + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">M</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +</tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.bidirectional_iterator.h3"></a> + <span><a name="fusion.iterator.concepts.bidirectional_iterator.meta_expressions"></a></span><a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.meta_expressions">Meta + Expressions</a> + </h6> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Compile Time Complexity + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr></tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.bidirectional_iterator.h4"></a> + <span><a name="fusion.iterator.concepts.bidirectional_iterator.expression_semantics"></a></span><a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.expression_semantics">Expression + Semantics</a> + </h6> +<p> + The semantics of an expression are defined only where they differ from, + or are not defined in <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Semantics + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + An iterator to the element preceding <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +</tr></tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.bidirectional_iterator.h5"></a> + <span><a name="fusion.iterator.concepts.bidirectional_iterator.invariants"></a></span><a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.invariants">Invariants</a> + </h6> +<p> + In addition to the invariants of <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a>, the following invariants always hold: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span> <span class="special">==</span> <span class="identifier">i</span> <span class="special">&&</span> + <a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span> <span class="special">==</span> <a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">))</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span> <span class="special">==</span> <a class="link" href="../functions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><-</span><span class="number">1</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </li> +<li class="listitem"> + Using <code class="computeroutput"><a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a></code> to traverse a + sequence will never return a previously seen position + </li> +</ul></div> +<h6> +<a name="fusion.iterator.concepts.bidirectional_iterator.h6"></a> + <span><a name="fusion.iterator.concepts.bidirectional_iterator.models"></a></span><a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.models">Models</a> + </h6> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <a class="link" href="../../adapted/std__pair.html" title="std::pair"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../adapted/boost__array.html" title="boost::array"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/single_view.html" title="single_view"><code class="computeroutput"><span class="identifier">single_view</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/iterator_range.html" title="iterator_range"><code class="computeroutput"><span class="identifier">iterator_range</span></code></a> + (where adapted sequence is a <a class="link" href="../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional + Sequence</a>) + </li> +<li class="listitem"> + <a class="link" href="../../view/transform_view.html" title="transform_view"><code class="computeroutput"><span class="identifier">transform_view</span></code></a> + (where adapted sequence is a <a class="link" href="../../sequence/concepts/bidirectional_sequence.html" title="Bidirectional Sequence">Bidirectional + Sequence</a>) + </li> +<li class="listitem"> + <a class="link" href="../../view/reverse_view.html" title="reverse_view"><code class="computeroutput"><span class="identifier">reverse_view</span></code></a> + </li> +</ul></div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="forward_iterator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="random_access_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/concepts/forward_iterator.html b/libs/fusion/doc/html/fusion/iterator/concepts/forward_iterator.html new file mode 100755 index 0000000000..43594a9106 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/concepts/forward_iterator.html @@ -0,0 +1,476 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Forward Iterator</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../concepts.html" title="Concepts"> +<link rel="prev" href="../concepts.html" title="Concepts"> +<link rel="next" href="bidirectional_iterator.html" title="Bidirectional Iterator"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../concepts.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bidirectional_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.concepts.forward_iterator"></a><a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.concepts.forward_iterator.h0"></a> + <span><a name="fusion.iterator.concepts.forward_iterator.description"></a></span><a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.description">Description</a> + </h6> +<p> + A Forward Iterator traverses a <a class="link" href="../../sequence.html" title="Sequence">Sequence</a> + allowing movement in only one direction through it's elements, one element + at a time. + </p> +<div class="variablelist"> +<p class="title"><b>Notation</b></p> +<dl> +<dt><span class="term"><code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code></span></dt> +<dd><p> + Forward Iterators + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">I</span></code>, <code class="computeroutput"><span class="identifier">J</span></code></span></dt> +<dd><p> + Forward Iterator types + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">M</span></code></span></dt> +<dd><p> + An <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> + integral constant + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">N</span></code></span></dt> +<dd><p> + An integral constant + </p></dd> +</dl> +</div> +<h6> +<a name="fusion.iterator.concepts.forward_iterator.h1"></a> + <span><a name="fusion.iterator.concepts.forward_iterator.expression_requirements"></a></span><a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.expression_requirements">Expression + requirements</a> + </h6> +<p> + A type models Forward Iterator if, in addition to being CopyConstructable, + the following expressions are valid: + </p> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Return type + </p> + </th> +<th> + <p> + Runtime Complexity + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span> <span class="special">==</span> + <span class="identifier">j</span></code> + </p> + </td> +<td> + <p> + Convertible to bool + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span> <span class="special">!=</span> + <span class="identifier">j</span></code> + </p> + </td> +<td> + <p> + Convertible to bool + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">M</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">distance</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> + <span class="identifier">j</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> + <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><span class="special">*</span><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +</tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.forward_iterator.h2"></a> + <span><a name="fusion.iterator.concepts.forward_iterator.meta_expressions"></a></span><a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.meta_expressions">Meta + Expressions</a> + </h6> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Compile Time Complexity + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> + <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> + <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Linear + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">I</span> <span class="special">,</span><span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Linear + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></code></a><span class="special"><</span><span class="identifier">I</span> <span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Linear + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +</tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.forward_iterator.h3"></a> + <span><a name="fusion.iterator.concepts.forward_iterator.expression_semantics"></a></span><a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.expression_semantics">Expression + Semantics</a> + </h6> +<p> + [ table [[Expression] [Semantics]] [[<code class="computeroutput"><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code>] [An + iterator to the element following <code class="computeroutput"><span class="identifier">i</span></code>]] + [[<code class="computeroutput"><span class="identifier">i</span> <span class="special">==</span> + <span class="identifier">j</span></code>] [Iterator equality comparison]] + [[<code class="computeroutput"><span class="identifier">i</span> <span class="special">!=</span> + <span class="identifier">j</span></code>] [Iterator inequality comparison]] + [[<code class="computeroutput"><a class="link" href="../functions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code>] [An + iterator n elements after <code class="computeroutput"><span class="identifier">i</span></code> + in the sequence]] [[<code class="computeroutput"><a class="link" href="../functions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">M</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code>] [Equivalent + to <code class="computeroutput"><span class="identifier">advance_c</span><span class="special"><</span><span class="identifier">M</span><span class="special">::</span><span class="identifier">value</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code>]] [[<code class="computeroutput"><a class="link" href="../functions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">distance</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <span class="identifier">j</span><span class="special">)</span></code>] [The number of elements between <code class="computeroutput"><span class="identifier">i</span></code> and <code class="computeroutput"><span class="identifier">j</span></code>]] + [[<code class="computeroutput"><a class="link" href="../functions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code>] + [The element at position<code class="computeroutput"><span class="identifier">i</span></code>]] + [[<code class="computeroutput"><span class="special">*</span><span class="identifier">i</span></code>] + [Equivalent to <code class="computeroutput"><span class="identifier">deref</span><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code>]] + ] + </p> +<h6> +<a name="fusion.iterator.concepts.forward_iterator.h4"></a> + <span><a name="fusion.iterator.concepts.forward_iterator.invariants"></a></span><a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.invariants">Invariants</a> + </h6> +<p> + The following invariants always hold: + </p> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <code class="computeroutput"><span class="special">!(</span><span class="identifier">i</span> + <span class="special">==</span> <span class="identifier">j</span><span class="special">)</span> <span class="special">==</span> <span class="special">(</span><span class="identifier">i</span> <span class="special">!=</span> <span class="identifier">j</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span> <span class="special">==</span> <a class="link" href="../functions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="number">1</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </li> +<li class="listitem"> + <code class="computeroutput"><a class="link" href="../functions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">distance</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span> <a class="link" href="../functions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">))</span> <span class="special">==</span> <span class="identifier">N</span></code> + </li> +<li class="listitem"> + Using <code class="computeroutput"><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a></code> to traverse the + sequence will never return to a previously seen position + </li> +<li class="listitem"> + <code class="computeroutput"><a class="link" href="../functions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + is equivalent to <code class="computeroutput"><span class="special">*</span><span class="identifier">i</span></code> + </li> +<li class="listitem"> + If <code class="computeroutput"><span class="identifier">i</span> <span class="special">==</span> + <span class="identifier">j</span></code> then <code class="computeroutput"><span class="special">*</span><span class="identifier">i</span></code> is equivalent to <code class="computeroutput"><span class="special">*</span><span class="identifier">j</span></code> + </li> +</ul></div> +<h6> +<a name="fusion.iterator.concepts.forward_iterator.h5"></a> + <span><a name="fusion.iterator.concepts.forward_iterator.models"></a></span><a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.models">Models</a> + </h6> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <a class="link" href="../../adapted/std__pair.html" title="std::pair"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../adapted/boost__array.html" title="boost::array"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../container/cons.html" title="cons"><code class="computeroutput"><span class="identifier">cons</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../container/list.html" title="list"><code class="computeroutput"><span class="identifier">list</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../container/set.html" title="set"><code class="computeroutput"><span class="identifier">set</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/single_view.html" title="single_view"><code class="computeroutput"><span class="identifier">single_view</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/filter_view.html" title="filter_view"><code class="computeroutput"><span class="identifier">filter_view</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/iterator_range.html" title="iterator_range"><code class="computeroutput"><span class="identifier">iterator_range</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/joint_view.html" title="joint_view"><code class="computeroutput"><span class="identifier">joint_view</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/transform_view.html" title="transform_view"><code class="computeroutput"><span class="identifier">transform_view</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/reverse_view.html" title="reverse_view"><code class="computeroutput"><span class="identifier">reverse_view</span></code></a> + iterator + </li> +</ul></div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../concepts.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="bidirectional_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/concepts/random_access_iterator.html b/libs/fusion/doc/html/fusion/iterator/concepts/random_access_iterator.html new file mode 100755 index 0000000000..389734d447 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/concepts/random_access_iterator.html @@ -0,0 +1,292 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Random Access Iterator</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../concepts.html" title="Concepts"> +<link rel="prev" href="bidirectional_iterator.html" title="Bidirectional Iterator"> +<link rel="next" href="associative_iterator.html" title="Associative Iterator"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="bidirectional_iterator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="associative_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.concepts.random_access_iterator"></a><a class="link" href="random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.concepts.random_access_iterator.h0"></a> + <span><a name="fusion.iterator.concepts.random_access_iterator.description"></a></span><a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.description">Description</a> + </h6> +<p> + A Random Access Iterator traverses a <a class="link" href="../../sequence.html" title="Sequence">Sequence</a> + moving in either direction, permitting efficient arbitrary distance movements + back and forward through the sequence. + </p> +<div class="variablelist"> +<p class="title"><b>Notation</b></p> +<dl> +<dt><span class="term"><code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code></span></dt> +<dd><p> + Random Access Iterators + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">I</span></code>, <code class="computeroutput"><span class="identifier">J</span></code></span></dt> +<dd><p> + Random Access Iterator types + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">M</span></code></span></dt> +<dd><p> + An <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> + integral constant + </p></dd> +<dt><span class="term"><code class="computeroutput"><span class="identifier">N</span></code></span></dt> +<dd><p> + An integral constant + </p></dd> +</dl> +</div> +<h6> +<a name="fusion.iterator.concepts.random_access_iterator.h1"></a> + <span><a name="fusion.iterator.concepts.random_access_iterator.refinement_of"></a></span><a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.refinement_of">Refinement + of</a> + </h6> +<p> + <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> + </p> +<h6> +<a name="fusion.iterator.concepts.random_access_iterator.h2"></a> + <span><a name="fusion.iterator.concepts.random_access_iterator.expression_requirements"></a></span><a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.expression_requirements">Expression + requirements</a> + </h6> +<p> + In addition to the requirements defined in <a class="link" href="bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a>, the following expressions must be valid: + </p> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Return type + </p> + </th> +<th> + <p> + Runtime Complexity + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../functions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">M</span><span class="special">>(</span><span class="identifier">i</span><span class="special">)</span></code> + </p> + </td> +<td> + <p> + <a class="link" href="random_access_iterator.html" title="Random Access Iterator">Random + Access Iterator</a> + </p> + </td> +<td> + <p> + Constant + </p> + </td> +</tr> +</tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.random_access_iterator.h3"></a> + <span><a name="fusion.iterator.concepts.random_access_iterator.meta_expressions"></a></span><a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.meta_expressions">Meta + Expressions</a> + </h6> +<div class="informaltable"><table class="table"> +<colgroup> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Expression + </p> + </th> +<th> + <p> + Compile Time Complexity + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> + <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> + <span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><a class="link" href="../metafunctions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></code></a><span class="special"><</span><span class="identifier">I</span> <span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> + </td> +<td> + <p> + Amortized constant time + </p> + </td> +</tr> +</tbody> +</table></div> +<h6> +<a name="fusion.iterator.concepts.random_access_iterator.h4"></a> + <span><a name="fusion.iterator.concepts.random_access_iterator.models"></a></span><a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.models">Models</a> + </h6> +<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<li class="listitem"> + <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../adapted/std__pair.html" title="std::pair"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../adapted/boost__array.html" title="boost::array"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/single_view.html" title="single_view"><code class="computeroutput"><span class="identifier">single_view</span></code></a> + iterator + </li> +<li class="listitem"> + <a class="link" href="../../view/iterator_range.html" title="iterator_range"><code class="computeroutput"><span class="identifier">iterator_range</span></code></a> + iterator (where adapted sequence is a <a class="link" href="../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random + Access Sequence</a>) + </li> +<li class="listitem"> + <a class="link" href="../../view/transform_view.html" title="transform_view"><code class="computeroutput"><span class="identifier">transform_view</span></code></a> + iterator (where adapted sequence is a <a class="link" href="../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random + Access Sequence</a>) + </li> +<li class="listitem"> + <a class="link" href="../../view/reverse_view.html" title="reverse_view"><code class="computeroutput"><span class="identifier">reverse_view</span></code></a> + iterator (where adapted sequence is a <a class="link" href="../../sequence/concepts/random_access_sequence.html" title="Random Access Sequence">Random + Access Sequence</a>) + </li> +</ul></div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="bidirectional_iterator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="associative_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions.html b/libs/fusion/doc/html/fusion/iterator/functions.html new file mode 100755 index 0000000000..f60bf07715 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions.html @@ -0,0 +1,58 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Functions</title> +<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../iterator.html" title="Iterator"> +<link rel="prev" href="concepts/associative_iterator.html" title="Associative Iterator"> +<link rel="next" href="functions/deref.html" title="deref"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="concepts/associative_iterator.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="functions/deref.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="fusion.iterator.functions"></a><a class="link" href="functions.html" title="Functions">Functions</a> +</h3></div></div></div> +<div class="toc"><dl> +<dt><span class="section"><a href="functions/deref.html">deref</a></span></dt> +<dt><span class="section"><a href="functions/next.html">next</a></span></dt> +<dt><span class="section"><a href="functions/prior.html">prior</a></span></dt> +<dt><span class="section"><a href="functions/distance.html">distance</a></span></dt> +<dt><span class="section"><a href="functions/advance.html">advance</a></span></dt> +<dt><span class="section"><a href="functions/advance_c.html">advance_c</a></span></dt> +<dt><span class="section"><a href="functions/deref_data.html">deref_data</a></span></dt> +</dl></div> +<p> + Fusion provides functions for manipulating iterators, analogous to the similar + functions from the <a href="http://www.boost.org/libs/mpl/index.html" target="_top">MPL</a> + library. + </p> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="concepts/associative_iterator.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="functions/deref.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions/advance.html b/libs/fusion/doc/html/fusion/iterator/functions/advance.html new file mode 100755 index 0000000000..ece9e821e7 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions/advance.html @@ -0,0 +1,161 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>advance</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../functions.html" title="Functions"> +<link rel="prev" href="distance.html" title="distance"> +<link rel="next" href="advance_c.html" title="advance_c"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="distance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance_c.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.functions.advance"></a><a class="link" href="advance.html" title="advance">advance</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.functions.advance.h0"></a> + <span><a name="fusion.iterator.functions.advance.description"></a></span><a class="link" href="advance.html#fusion.iterator.functions.advance.description">Description</a> + </h6> +<p> + Moves an iterator by a specified distance. + </p> +<h6> +<a name="fusion.iterator.functions.advance.h1"></a> + <span><a name="fusion.iterator.functions.advance.synopsis"></a></span><a class="link" href="advance.html#fusion.iterator.functions.advance.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">typename</span> <span class="identifier">M</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/advance.html" title="advance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">advance</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.functions.advance.t0"></a><p class="title"><b>Table 1.6. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Iterator to move relative to + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">N</span></code> + </p> + </td> +<td> + <p> + An <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL + Integral Constant</a> + </p> + </td> +<td> + <p> + Number of positions to move + </p> + </td> +</tr> +</tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.functions.advance.h2"></a> + <span><a name="fusion.iterator.functions.advance.expression_semantics"></a></span><a class="link" href="advance.html#fusion.iterator.functions.advance.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">M</span><span class="special">>(</span><span class="identifier">i</span><span class="special">);</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the + element <code class="computeroutput"><span class="identifier">M</span></code> positions from + <code class="computeroutput"><span class="identifier">i</span></code>. If <code class="computeroutput"><span class="identifier">i</span></code> + is a <a class="link" href="../concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> then <code class="computeroutput"><span class="identifier">M</span></code> + may be negative. + </p> +<h6> +<a name="fusion.iterator.functions.advance.h3"></a> + <span><a name="fusion.iterator.functions.advance.header"></a></span><a class="link" href="advance.html#fusion.iterator.functions.advance.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.functions.advance.h4"></a> + <span><a name="fusion.iterator.functions.advance.example"></a></span><a class="link" href="advance.html#fusion.iterator.functions.advance.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> + +<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="advance.html" title="advance"><code class="computeroutput"><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special"><</span><span class="number">2</span><span class="special">></span> <span class="special">>(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="distance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance_c.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions/advance_c.html b/libs/fusion/doc/html/fusion/iterator/functions/advance_c.html new file mode 100755 index 0000000000..1b910f4f46 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions/advance_c.html @@ -0,0 +1,160 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>advance_c</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../functions.html" title="Functions"> +<link rel="prev" href="advance.html" title="advance"> +<link rel="next" href="deref_data.html" title="deref_data"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.functions.advance_c"></a><a class="link" href="advance_c.html" title="advance_c">advance_c</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.functions.advance_c.h0"></a> + <span><a name="fusion.iterator.functions.advance_c.description"></a></span><a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.description">Description</a> + </h6> +<p> + Moves an iterator by a specified distance. + </p> +<h6> +<a name="fusion.iterator.functions.advance_c.h1"></a> + <span><a name="fusion.iterator.functions.advance_c.synopsis"></a></span><a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">int</span> <span class="identifier">N</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">advance_c</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.functions.advance_c.t0"></a><p class="title"><b>Table 1.7. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Iterator to move relative to + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">N</span></code> + </p> + </td> +<td> + <p> + Integer constant + </p> + </td> +<td> + <p> + Number of positions to move + </p> + </td> +</tr> +</tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.functions.advance_c.h2"></a> + <span><a name="fusion.iterator.functions.advance_c.expression_semantics"></a></span><a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">N</span><span class="special">>(</span><span class="identifier">i</span><span class="special">);</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the + element <code class="computeroutput"><span class="identifier">N</span></code> positions from + <code class="computeroutput"><span class="identifier">i</span></code>. If <code class="computeroutput"><span class="identifier">i</span></code> + is a <a class="link" href="../concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> then <code class="computeroutput"><span class="identifier">N</span></code> + may be negative. + </p> +<h6> +<a name="fusion.iterator.functions.advance_c.h3"></a> + <span><a name="fusion.iterator.functions.advance_c.header"></a></span><a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.functions.advance_c.h4"></a> + <span><a name="fusion.iterator.functions.advance_c.example"></a></span><a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> + +<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="number">2</span><span class="special">>(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions/deref.html b/libs/fusion/doc/html/fusion/iterator/functions/deref.html new file mode 100755 index 0000000000..6e60a73291 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions/deref.html @@ -0,0 +1,138 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>deref</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../functions.html" title="Functions"> +<link rel="prev" href="../functions.html" title="Functions"> +<link rel="next" href="next.html" title="next"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../functions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="next.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.functions.deref"></a><a class="link" href="deref.html" title="deref">deref</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.functions.deref.h0"></a> + <span><a name="fusion.iterator.functions.deref.description"></a></span><a class="link" href="deref.html#fusion.iterator.functions.deref.description">Description</a> + </h6> +<p> + Deferences an iterator. + </p> +<h6> +<a name="fusion.iterator.functions.deref.h1"></a> + <span><a name="fusion.iterator.functions.deref.synopsis"></a></span><a class="link" href="deref.html#fusion.iterator.functions.deref.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">deref</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.functions.deref.t0"></a><p class="title"><b>Table 1.2. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.functions.deref.h2"></a> + <span><a name="fusion.iterator.functions.deref.expression_semantics"></a></span><a class="link" href="deref.html#fusion.iterator.functions.deref.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">);</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: <code class="computeroutput"><a class="link" href="../metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Dereferences the iterator + <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<h6> +<a name="fusion.iterator.functions.deref.h3"></a> + <span><a name="fusion.iterator.functions.deref.header"></a></span><a class="link" href="deref.html#fusion.iterator.functions.deref.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.functions.deref.h4"></a> + <span><a name="fusion.iterator.functions.deref.example"></a></span><a class="link" href="deref.html#fusion.iterator.functions.deref.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&></span> <span class="identifier">vec</span><span class="special">;</span> + +<span class="keyword">int</span> <span class="identifier">i</span><span class="special">(</span><span class="number">0</span><span class="special">);</span> +<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="identifier">i</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">0</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(&(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))))</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">i</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../functions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="next.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions/deref_data.html b/libs/fusion/doc/html/fusion/iterator/functions/deref_data.html new file mode 100755 index 0000000000..d541a0ff15 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions/deref_data.html @@ -0,0 +1,138 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>deref_data</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../functions.html" title="Functions"> +<link rel="prev" href="advance_c.html" title="advance_c"> +<link rel="next" href="../operator.html" title="Operator"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance_c.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.functions.deref_data"></a><a class="link" href="deref_data.html" title="deref_data">deref_data</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.functions.deref_data.h0"></a> + <span><a name="fusion.iterator.functions.deref_data.description"></a></span><a class="link" href="deref_data.html#fusion.iterator.functions.deref_data.description">Description</a> + </h6> +<p> + Deferences the data property associated with the element referenced by + an associative iterator. + </p> +<h6> +<a name="fusion.iterator.functions.deref_data.h1"></a> + <span><a name="fusion.iterator.functions.deref_data.synopsis"></a></span><a class="link" href="deref_data.html#fusion.iterator.functions.deref_data.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref_data</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">deref</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.functions.deref_data.t0"></a><p class="title"><b>Table 1.8. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/associative_iterator.html" title="Associative Iterator">Associative + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.functions.deref_data.h2"></a> + <span><a name="fusion.iterator.functions.deref_data.expression_semantics"></a></span><a class="link" href="deref_data.html#fusion.iterator.functions.deref_data.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">deref_data</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">);</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: <code class="computeroutput"><a class="link" href="../metafunctions/deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref_data</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span></code> + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Dereferences the data property + associated with the element referenced by an associative iterator <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<h6> +<a name="fusion.iterator.functions.deref_data.h3"></a> + <span><a name="fusion.iterator.functions.deref_data.header"></a></span><a class="link" href="deref_data.html#fusion.iterator.functions.deref_data.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref_data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">deref_data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.functions.deref_data.h4"></a> + <span><a name="fusion.iterator.functions.deref_data.example"></a></span><a class="link" href="deref_data.html#fusion.iterator.functions.deref_data.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special"><</span><a class="link" href="../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">int</span><span class="special">&></span> <span class="special">></span> <span class="identifier">map</span><span class="special">;</span> + +<span class="keyword">int</span> <span class="identifier">i</span><span class="special">(</span><span class="number">0</span><span class="special">);</span> +<span class="identifier">map</span> <span class="identifier">m</span><span class="special">(</span><span class="number">1.0f</span><span class="special">,</span><span class="identifier">i</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">deref_data</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">m</span><span class="special">))</span> <span class="special">==</span> <span class="number">0</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(&(</span><a class="link" href="deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">deref_data</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">m</span><span class="special">)))</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">i</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance_c.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions/distance.html b/libs/fusion/doc/html/fusion/iterator/functions/distance.html new file mode 100755 index 0000000000..07e54a01c5 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions/distance.html @@ -0,0 +1,136 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>distance</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../functions.html" title="Functions"> +<link rel="prev" href="prior.html" title="prior"> +<link rel="next" href="advance.html" title="advance"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="prior.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.functions.distance"></a><a class="link" href="distance.html" title="distance">distance</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.functions.distance.h0"></a> + <span><a name="fusion.iterator.functions.distance.description"></a></span><a class="link" href="distance.html#fusion.iterator.functions.distance.description">Description</a> + </h6> +<p> + Returns the distance between 2 iterators. + </p> +<h6> +<a name="fusion.iterator.functions.distance.h1"></a> + <span><a name="fusion.iterator.functions.distance.synopsis"></a></span><a class="link" href="distance.html#fusion.iterator.functions.distance.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">typename</span> <span class="identifier">J</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/distance.html" title="distance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">distance</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">J</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">j</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.functions.distance.t0"></a><p class="title"><b>Table 1.5. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code> + </p> + </td> +<td> + <p> + Models of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> into the same sequence + </p> + </td> +<td> + <p> + The start and end points of the distance to be measured + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.functions.distance.h2"></a> + <span><a name="fusion.iterator.functions.distance.expression_semantics"></a></span><a class="link" href="distance.html#fusion.iterator.functions.distance.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="distance.html" title="distance"><code class="computeroutput"><span class="identifier">distance</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">,</span><span class="identifier">j</span><span class="special">);</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: <code class="computeroutput"><span class="keyword">int</span></code> + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns the distance between + iterators <code class="computeroutput"><span class="identifier">i</span></code> and <code class="computeroutput"><span class="identifier">j</span></code>. + </p> +<h6> +<a name="fusion.iterator.functions.distance.h3"></a> + <span><a name="fusion.iterator.functions.distance.header"></a></span><a class="link" href="distance.html#fusion.iterator.functions.distance.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">distance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">distance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.functions.distance.h4"></a> + <span><a name="fusion.iterator.functions.distance.example"></a></span><a class="link" href="distance.html#fusion.iterator.functions.distance.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> + +<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="distance.html" title="distance"><code class="computeroutput"><span class="identifier">distance</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">),</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))))</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="prior.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions/next.html b/libs/fusion/doc/html/fusion/iterator/functions/next.html new file mode 100755 index 0000000000..a67e93100e --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions/next.html @@ -0,0 +1,138 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>next</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../functions.html" title="Functions"> +<link rel="prev" href="deref.html" title="deref"> +<link rel="next" href="prior.html" title="prior"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="deref.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="prior.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.functions.next"></a><a class="link" href="next.html" title="next">next</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.functions.next.h0"></a> + <span><a name="fusion.iterator.functions.next.description"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.description">Description</a> + </h6> +<p> + Moves an iterator 1 position forwards. + </p> +<h6> +<a name="fusion.iterator.functions.next.h1"></a> + <span><a name="fusion.iterator.functions.next.synopsis"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">next</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.functions.next.t0"></a><p class="title"><b>Table 1.3. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.functions.next.h2"></a> + <span><a name="fusion.iterator.functions.next.expression_semantics"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><span class="identifier">next</span><span class="special">(</span><span class="identifier">i</span><span class="special">);</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the + next element after <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<h6> +<a name="fusion.iterator.functions.next.h3"></a> + <span><a name="fusion.iterator.functions.next.header"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.functions.next.h4"></a> + <span><a name="fusion.iterator.functions.next.example"></a></span><a class="link" href="next.html#fusion.iterator.functions.next.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> + +<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">,</span><span class="number">3</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))))</span> <span class="special">==</span> <span class="number">3</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="deref.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="prior.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/functions/prior.html b/libs/fusion/doc/html/fusion/iterator/functions/prior.html new file mode 100755 index 0000000000..2a2c577d78 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/functions/prior.html @@ -0,0 +1,137 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>prior</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../functions.html" title="Functions"> +<link rel="prev" href="next.html" title="next"> +<link rel="next" href="distance.html" title="distance"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="next.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="distance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.functions.prior"></a><a class="link" href="prior.html" title="prior">prior</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.functions.prior.h0"></a> + <span><a name="fusion.iterator.functions.prior.description"></a></span><a class="link" href="prior.html#fusion.iterator.functions.prior.description">Description</a> + </h6> +<p> + Moves an iterator 1 position backwards. + </p> +<h6> +<a name="fusion.iterator.functions.prior.h1"></a> + <span><a name="fusion.iterator.functions.prior.synopsis"></a></span><a class="link" href="prior.html#fusion.iterator.functions.prior.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/prior.html" title="prior"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">prior</span><span class="special">(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.functions.prior.t0"></a><p class="title"><b>Table 1.4. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.functions.prior.h2"></a> + <span><a name="fusion.iterator.functions.prior.expression_semantics"></a></span><a class="link" href="prior.html#fusion.iterator.functions.prior.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">);</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the + element prior to <code class="computeroutput"><span class="identifier">i</span></code>. + </p> +<h6> +<a name="fusion.iterator.functions.prior.h3"></a> + <span><a name="fusion.iterator.functions.prior.header"></a></span><a class="link" href="prior.html#fusion.iterator.functions.prior.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">prior</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">prior</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.functions.prior.h4"></a> + <span><a name="fusion.iterator.functions.prior.example"></a></span><a class="link" href="prior.html#fusion.iterator.functions.prior.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> + +<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="number">2</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="number">2</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><a class="link" href="prior.html" title="prior"><code class="computeroutput"><span class="identifier">prior</span></code></a><span class="special">(</span><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))))</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="next.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="distance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions.html b/libs/fusion/doc/html/fusion/iterator/metafunctions.html new file mode 100755 index 0000000000..f6a8561267 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions.html @@ -0,0 +1,57 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Metafunctions</title> +<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../iterator.html" title="Iterator"> +<link rel="prev" href="operator/operator_inequality.html" title="Operator !="> +<link rel="next" href="metafunctions/value_of.html" title="value_of"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="operator/operator_inequality.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="metafunctions/value_of.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="fusion.iterator.metafunctions"></a><a class="link" href="metafunctions.html" title="Metafunctions">Metafunctions</a> +</h3></div></div></div> +<div class="toc"><dl> +<dt><span class="section"><a href="metafunctions/value_of.html">value_of</a></span></dt> +<dt><span class="section"><a href="metafunctions/deref.html">deref</a></span></dt> +<dt><span class="section"><a href="metafunctions/next.html">next</a></span></dt> +<dt><span class="section"><a href="metafunctions/prior.html">prior</a></span></dt> +<dt><span class="section"><a href="metafunctions/equal_to.html">equal_to</a></span></dt> +<dt><span class="section"><a href="metafunctions/distance.html">distance</a></span></dt> +<dt><span class="section"><a href="metafunctions/advance.html">advance</a></span></dt> +<dt><span class="section"><a href="metafunctions/advance_c.html">advance_c</a></span></dt> +<dt><span class="section"><a href="metafunctions/key_of.html">key_of</a></span></dt> +<dt><span class="section"><a href="metafunctions/value_of_data.html">value_of_data</a></span></dt> +<dt><span class="section"><a href="metafunctions/deref_data.html">deref_data</a></span></dt> +</dl></div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="operator/operator_inequality.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="metafunctions/value_of.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/advance.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/advance.html new file mode 100755 index 0000000000..0642024964 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/advance.html @@ -0,0 +1,165 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>advance</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="distance.html" title="distance"> +<link rel="next" href="advance_c.html" title="advance_c"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="distance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance_c.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.advance"></a><a class="link" href="advance.html" title="advance">advance</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.advance.h0"></a> + <span><a name="fusion.iterator.metafunctions.advance.description"></a></span><a class="link" href="advance.html#fusion.iterator.metafunctions.advance.description">Description</a> + </h6> +<p> + Moves an iterator a specified distance. + </p> +<h6> +<a name="fusion.iterator.metafunctions.advance.h1"></a> + <span><a name="fusion.iterator.metafunctions.advance.synopsis"></a></span><a class="link" href="advance.html#fusion.iterator.metafunctions.advance.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">typename</span> <span class="identifier">M</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">advance</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.advance.t0"></a><p class="title"><b>Table 1.18. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Iterator to move relative to + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">M</span></code> + </p> + </td> +<td> + <p> + Model of <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL + Integral Constant</a> + </p> + </td> +<td> + <p> + Number of positions to move + </p> + </td> +</tr> +</tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.advance.h2"></a> + <span><a name="fusion.iterator.metafunctions.advance.expression_semantics"></a></span><a class="link" href="advance.html#fusion.iterator.metafunctions.advance.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="advance.html" title="advance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><span class="identifier">M</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator a distance + <code class="computeroutput"><span class="identifier">M</span></code> from <code class="computeroutput"><span class="identifier">I</span></code>. + If <code class="computeroutput"><span class="identifier">I</span></code> is a <a class="link" href="../concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> then <code class="computeroutput"><span class="identifier">M</span></code> + may be negative. + </p> +<h6> +<a name="fusion.iterator.metafunctions.advance.h3"></a> + <span><a name="fusion.iterator.metafunctions.advance.header"></a></span><a class="link" href="advance.html#fusion.iterator.metafunctions.advance.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.advance.h4"></a> + <span><a name="fusion.iterator.metafunctions.advance.example"></a></span><a class="link" href="advance.html#fusion.iterator.metafunctions.advance.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">second</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">third</span><span class="special">;</span> + +<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a class="link" href="equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><a class="link" href="advance.html" title="advance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special"><</span><span class="number">2</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="identifier">third</span><span class="special">>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="distance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance_c.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/advance_c.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/advance_c.html new file mode 100755 index 0000000000..612436b4d7 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/advance_c.html @@ -0,0 +1,164 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>advance_c</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="advance.html" title="advance"> +<link rel="next" href="key_of.html" title="key_of"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="key_of.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.advance_c"></a><a class="link" href="advance_c.html" title="advance_c">advance_c</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.advance_c.h0"></a> + <span><a name="fusion.iterator.metafunctions.advance_c.description"></a></span><a class="link" href="advance_c.html#fusion.iterator.metafunctions.advance_c.description">Description</a> + </h6> +<p> + Moves an iterator by a specified distance. + </p> +<h6> +<a name="fusion.iterator.metafunctions.advance_c.h1"></a> + <span><a name="fusion.iterator.metafunctions.advance_c.synopsis"></a></span><a class="link" href="advance_c.html#fusion.iterator.metafunctions.advance_c.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">int</span> <span class="identifier">N</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">advance_c</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.advance_c.t0"></a><p class="title"><b>Table 1.19. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Iterator to move relative to + </p> + </td> +</tr> +<tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">N</span></code> + </p> + </td> +<td> + <p> + Integer constant + </p> + </td> +<td> + <p> + Number of positions to move + </p> + </td> +</tr> +</tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.advance_c.h2"></a> + <span><a name="fusion.iterator.metafunctions.advance_c.expression_semantics"></a></span><a class="link" href="advance_c.html#fusion.iterator.metafunctions.advance_c.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">N</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator a distance + <code class="computeroutput"><span class="identifier">N</span></code> from <code class="computeroutput"><span class="identifier">I</span></code>. + If <code class="computeroutput"><span class="identifier">I</span></code> is a <a class="link" href="../concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> then <code class="computeroutput"><span class="identifier">N</span></code> + may be negative. Equivalent to <code class="computeroutput"><a class="link" href="advance.html" title="advance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">int_</span><span class="special"><</span><span class="identifier">N</span><span class="special">></span> <span class="special">>::</span><span class="identifier">type</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.advance_c.h3"></a> + <span><a name="fusion.iterator.metafunctions.advance_c.header"></a></span><a class="link" href="advance_c.html#fusion.iterator.metafunctions.advance_c.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">advance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.advance_c.h4"></a> + <span><a name="fusion.iterator.metafunctions.advance_c.example"></a></span><a class="link" href="advance_c.html#fusion.iterator.metafunctions.advance_c.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">second</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">third</span><span class="special">;</span> + +<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a class="link" href="equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><a class="link" href="advance_c.html" title="advance_c"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">advance_c</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">,</span> <span class="number">2</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="identifier">third</span><span class="special">>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="key_of.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/deref.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/deref.html new file mode 100755 index 0000000000..2d42a3e3b1 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/deref.html @@ -0,0 +1,144 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>deref</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="value_of.html" title="value_of"> +<link rel="next" href="next.html" title="next"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="value_of.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="next.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.deref"></a><a class="link" href="deref.html" title="deref">deref</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.deref.h0"></a> + <span><a name="fusion.iterator.metafunctions.deref.description"></a></span><a class="link" href="deref.html#fusion.iterator.metafunctions.deref.description">Description</a> + </h6> +<p> + Returns the type that will be returned by dereferencing an iterator. + </p> +<h6> +<a name="fusion.iterator.metafunctions.deref.h1"></a> + <span><a name="fusion.iterator.metafunctions.deref.synposis"></a></span><a class="link" href="deref.html#fusion.iterator.metafunctions.deref.synposis">Synposis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">deref</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.deref.t0"></a><p class="title"><b>Table 1.13. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.deref.h2"></a> + <span><a name="fusion.iterator.metafunctions.deref.expression_semantics"></a></span><a class="link" href="deref.html#fusion.iterator.metafunctions.deref.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: Any type + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns the result of dereferencing + an iterator of type <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.deref.h3"></a> + <span><a name="fusion.iterator.metafunctions.deref.header"></a></span><a class="link" href="deref.html#fusion.iterator.metafunctions.deref.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.deref.h4"></a> + <span><a name="fusion.iterator.metafunctions.deref.example"></a></span><a class="link" href="deref.html#fusion.iterator.metafunctions.deref.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <span class="keyword">const</span> <span class="identifier">vec</span> <span class="identifier">const_vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">second</span><span class="special">;</span> + +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">const_vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">const_first</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">const_first</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">const_second</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"><</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</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"><</span><a class="link" href="deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="value_of.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="next.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/deref_data.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/deref_data.html new file mode 100755 index 0000000000..1cfb703b96 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/deref_data.html @@ -0,0 +1,139 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>deref_data</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="value_of_data.html" title="value_of_data"> +<link rel="next" href="../../sequence.html" title="Sequence"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="value_of_data.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../sequence.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.deref_data"></a><a class="link" href="deref_data.html" title="deref_data">deref_data</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.deref_data.h0"></a> + <span><a name="fusion.iterator.metafunctions.deref_data.description"></a></span><a class="link" href="deref_data.html#fusion.iterator.metafunctions.deref_data.description">Description</a> + </h6> +<p> + Returns the type that will be returned by dereferencing the data property + referenced by an associative iterator. + </p> +<h6> +<a name="fusion.iterator.metafunctions.deref_data.h1"></a> + <span><a name="fusion.iterator.metafunctions.deref_data.synposis"></a></span><a class="link" href="deref_data.html#fusion.iterator.metafunctions.deref_data.synposis">Synposis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">deref_data</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.deref_data.t0"></a><p class="title"><b>Table 1.22. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/associative_iterator.html" title="Associative Iterator">Associative + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.deref_data.h2"></a> + <span><a name="fusion.iterator.metafunctions.deref_data.expression_semantics"></a></span><a class="link" href="deref_data.html#fusion.iterator.metafunctions.deref_data.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref_data</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: Any type + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns the result of dereferencing + the data property referenced by an associative iterator of type <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.deref_data.h3"></a> + <span><a name="fusion.iterator.metafunctions.deref_data.header"></a></span><a class="link" href="deref_data.html#fusion.iterator.metafunctions.deref_data.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boosta</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref_data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">deref_data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.deref_data.h4"></a> + <span><a name="fusion.iterator.metafunctions.deref_data.example"></a></span><a class="link" href="deref_data.html#fusion.iterator.metafunctions.deref_data.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special"><</span><a class="link" href="../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="special">></span> <span class="identifier">map</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</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"><</span><a class="link" href="deref_data.html" title="deref_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref_data</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</span><span class="special">&>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="value_of_data.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../sequence.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/distance.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/distance.html new file mode 100755 index 0000000000..65b3bfaa1c --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/distance.html @@ -0,0 +1,144 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>distance</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="equal_to.html" title="equal_to"> +<link rel="next" href="advance.html" title="advance"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="equal_to.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.distance"></a><a class="link" href="distance.html" title="distance">distance</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.distance.h0"></a> + <span><a name="fusion.iterator.metafunctions.distance.description"></a></span><a class="link" href="distance.html#fusion.iterator.metafunctions.distance.description">Description</a> + </h6> +<p> + Returns the distance between two iterators. + </p> +<h6> +<a name="fusion.iterator.metafunctions.distance.h1"></a> + <span><a name="fusion.iterator.metafunctions.distance.synopsis"></a></span><a class="link" href="distance.html#fusion.iterator.metafunctions.distance.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">typename</span> <span class="identifier">J</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">distance</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.distance.t0"></a><p class="title"><b>Table 1.17. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code>, <code class="computeroutput"><span class="identifier">J</span></code> + </p> + </td> +<td> + <p> + Models of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> into the same sequence + </p> + </td> +<td> + <p> + The start and end points of the distance to be measured + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.distance.h2"></a> + <span><a name="fusion.iterator.metafunctions.distance.expression_semantics"></a></span><a class="link" href="distance.html#fusion.iterator.metafunctions.distance.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="distance.html" title="distance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL + Integral Constant</a>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns the distance between + iterators of types <code class="computeroutput"><span class="identifier">I</span></code> and + <code class="computeroutput"><span class="identifier">J</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.distance.h3"></a> + <span><a name="fusion.iterator.metafunctions.distance.header"></a></span><a class="link" href="distance.html#fusion.iterator.metafunctions.distance.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">distance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">distance</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.distance.h4"></a> + <span><a name="fusion.iterator.metafunctions.distance.example"></a></span><a class="link" href="distance.html#fusion.iterator.metafunctions.distance.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">,</span><span class="keyword">char</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">second</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">third</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="distance.html" title="distance"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">distance</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">,</span><span class="identifier">third</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">dist</span><span class="special">;</span> + +<span class="identifier">BOOST_MPL_ASSERT_RELATION</span><span class="special">(</span><span class="identifier">dist</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="special">==,</span> <span class="number">2</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="equal_to.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="advance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/equal_to.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/equal_to.html new file mode 100755 index 0000000000..0211c4d27e --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/equal_to.html @@ -0,0 +1,143 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>equal_to</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="prior.html" title="prior"> +<link rel="next" href="distance.html" title="distance"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="prior.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="distance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.equal_to"></a><a class="link" href="equal_to.html" title="equal_to">equal_to</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.equal_to.h0"></a> + <span><a name="fusion.iterator.metafunctions.equal_to.description"></a></span><a class="link" href="equal_to.html#fusion.iterator.metafunctions.equal_to.description">Description</a> + </h6> +<p> + Returns a true-valued <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL + Integral Constant</a> if <code class="computeroutput"><span class="identifier">I</span></code> + and <code class="computeroutput"><span class="identifier">J</span></code> are equal. + </p> +<h6> +<a name="fusion.iterator.metafunctions.equal_to.h1"></a> + <span><a name="fusion.iterator.metafunctions.equal_to.synopsis"></a></span><a class="link" href="equal_to.html#fusion.iterator.metafunctions.equal_to.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">typename</span> <span class="identifier">J</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">equal_to</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.equal_to.t0"></a><p class="title"><b>Table 1.16. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code>, <code class="computeroutput"><span class="identifier">J</span></code> + </p> + </td> +<td> + <p> + Any fusion iterators + </p> + </td> +<td> + <p> + Operation's arguments + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.equal_to.h2"></a> + <span><a name="fusion.iterator.metafunctions.equal_to.expression_semantics"></a></span><a class="link" href="equal_to.html#fusion.iterator.metafunctions.equal_to.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">J</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of <a href="http://www.boost.org/libs/mpl/doc/refmanual/integral-constant.html" target="_top">MPL + Integral Constant</a>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">true_</span></code> + if <code class="computeroutput"><span class="identifier">I</span></code> and <code class="computeroutput"><span class="identifier">J</span></code> are iterators to the same position. + Returns <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mpl</span><span class="special">::</span><span class="identifier">false_</span></code> otherwise. + </p> +<h6> +<a name="fusion.iterator.metafunctions.equal_to.h3"></a> + <span><a name="fusion.iterator.metafunctions.equal_to.header"></a></span><a class="link" href="equal_to.html#fusion.iterator.metafunctions.equal_to.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">equal_to</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">equal_to</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.equal_to.h4"></a> + <span><a name="fusion.iterator.metafunctions.equal_to.example"></a></span><a class="link" href="equal_to.html#fusion.iterator.metafunctions.equal_to.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</span><span class="special">;</span> +<span class="keyword">typedef</span> <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"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">last</span><span class="special">;</span> +<span class="identifier">BOOST_MPL_ASSERT</span><span class="special">((</span><a class="link" href="equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">,</span> <span class="identifier">first</span><span class="special">>));</span> +<span class="identifier">BOOST_MPL_ASSERT_NOT</span><span class="special">((</span><a class="link" href="equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">,</span><span class="identifier">last</span><span class="special">>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="prior.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="distance.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/key_of.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/key_of.html new file mode 100755 index 0000000000..2161005c7a --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/key_of.html @@ -0,0 +1,139 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>key_of</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="advance_c.html" title="advance_c"> +<link rel="next" href="value_of_data.html" title="value_of_data"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance_c.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value_of_data.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.key_of"></a><a class="link" href="key_of.html" title="key_of">key_of</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.key_of.h0"></a> + <span><a name="fusion.iterator.metafunctions.key_of.description"></a></span><a class="link" href="key_of.html#fusion.iterator.metafunctions.key_of.description">Description</a> + </h6> +<p> + Returns the key type associated with the element referenced by an associative + iterator. + </p> +<h6> +<a name="fusion.iterator.metafunctions.key_of.h1"></a> + <span><a name="fusion.iterator.metafunctions.key_of.synopsis"></a></span><a class="link" href="key_of.html#fusion.iterator.metafunctions.key_of.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">key_of</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.key_of.t0"></a><p class="title"><b>Table 1.20. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/associative_iterator.html" title="Associative Iterator">Associative + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.key_of.h2"></a> + <span><a name="fusion.iterator.metafunctions.key_of.expression_semantics"></a></span><a class="link" href="key_of.html#fusion.iterator.metafunctions.key_of.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="key_of.html" title="key_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">key_of</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: Any type + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns the key type associated + with the element referenced by an associative iterator <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.key_of.h3"></a> + <span><a name="fusion.iterator.metafunctions.key_of.header"></a></span><a class="link" href="key_of.html#fusion.iterator.metafunctions.key_of.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">key_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">key_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.key_of.h4"></a> + <span><a name="fusion.iterator.metafunctions.key_of.example"></a></span><a class="link" href="key_of.html#fusion.iterator.metafunctions.key_of.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special"><</span><a class="link" href="../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</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"><</span><a class="link" href="key_of.html" title="key_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">key_of</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">float</span><span class="special">>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="advance_c.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value_of_data.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/next.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/next.html new file mode 100755 index 0000000000..0665596f10 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/next.html @@ -0,0 +1,139 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>next</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="deref.html" title="deref"> +<link rel="next" href="prior.html" title="prior"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="deref.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="prior.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.next"></a><a class="link" href="next.html" title="next">next</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.next.h0"></a> + <span><a name="fusion.iterator.metafunctions.next.description"></a></span><a class="link" href="next.html#fusion.iterator.metafunctions.next.description">Description</a> + </h6> +<p> + Returns the type of the next iterator in a sequence. + </p> +<h6> +<a name="fusion.iterator.metafunctions.next.h1"></a> + <span><a name="fusion.iterator.metafunctions.next.synposis"></a></span><a class="link" href="next.html#fusion.iterator.metafunctions.next.synposis">Synposis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">next</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.next.t0"></a><p class="title"><b>Table 1.14. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.next.h2"></a> + <span><a name="fusion.iterator.metafunctions.next.expression_semantics"></a></span><a class="link" href="next.html#fusion.iterator.metafunctions.next.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the + next element in the sequence after <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.next.h3"></a> + <span><a name="fusion.iterator.metafunctions.next.header"></a></span><a class="link" href="next.html#fusion.iterator.metafunctions.next.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">next</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.next.h4"></a> + <span><a name="fusion.iterator.metafunctions.next.example"></a></span><a class="link" href="next.html#fusion.iterator.metafunctions.next.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">second</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"><</span><a class="link" href="value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">double</span><span class="special">>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="deref.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="prior.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/prior.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/prior.html new file mode 100755 index 0000000000..5134acf2db --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/prior.html @@ -0,0 +1,142 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>prior</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="next.html" title="next"> +<link rel="next" href="equal_to.html" title="equal_to"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="next.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="equal_to.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.prior"></a><a class="link" href="prior.html" title="prior">prior</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.prior.h0"></a> + <span><a name="fusion.iterator.metafunctions.prior.description"></a></span><a class="link" href="prior.html#fusion.iterator.metafunctions.prior.description">Description</a> + </h6> +<p> + Returns the type of the previous iterator in a sequence. + </p> +<h6> +<a name="fusion.iterator.metafunctions.prior.h1"></a> + <span><a name="fusion.iterator.metafunctions.prior.synopsis"></a></span><a class="link" href="prior.html#fusion.iterator.metafunctions.prior.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">prior</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.prior.t0"></a><p class="title"><b>Table 1.15. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/bidirectional_iterator.html" title="Bidirectional Iterator">Bidirectional + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.prior.h2"></a> + <span><a name="fusion.iterator.metafunctions.prior.expression_semantics"></a></span><a class="link" href="prior.html#fusion.iterator.metafunctions.prior.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="prior.html" title="prior"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: A model of the same iterator + concept as <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns an iterator to the + previous element in the sequence before <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.prior.h3"></a> + <span><a name="fusion.iterator.metafunctions.prior.header"></a></span><a class="link" href="prior.html#fusion.iterator.metafunctions.prior.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">prior</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">prior</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.prior.h4"></a> + <span><a name="fusion.iterator.metafunctions.prior.example"></a></span><a class="link" href="prior.html#fusion.iterator.metafunctions.prior.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">double</span><span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">second</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"><</span><a class="link" href="value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">double</span><span class="special">>));</span> + +<span class="keyword">typedef</span> <a class="link" href="prior.html" title="prior"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">prior</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</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"><</span><a class="link" href="value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</span><span class="special">>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="next.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="equal_to.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/value_of.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/value_of.html new file mode 100755 index 0000000000..08b9829630 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/value_of.html @@ -0,0 +1,142 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>value_of</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="../metafunctions.html" title="Metafunctions"> +<link rel="next" href="deref.html" title="deref"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deref.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.value_of"></a><a class="link" href="value_of.html" title="value_of">value_of</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.value_of.h0"></a> + <span><a name="fusion.iterator.metafunctions.value_of.description"></a></span><a class="link" href="value_of.html#fusion.iterator.metafunctions.value_of.description">Description</a> + </h6> +<p> + Returns the type stored at the position of an iterator. + </p> +<h6> +<a name="fusion.iterator.metafunctions.value_of.h1"></a> + <span><a name="fusion.iterator.metafunctions.value_of.synopsis"></a></span><a class="link" href="value_of.html#fusion.iterator.metafunctions.value_of.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">value_of</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.value_of.t0"></a><p class="title"><b>Table 1.12. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.value_of.h2"></a> + <span><a name="fusion.iterator.metafunctions.value_of.expression_semantics"></a></span><a class="link" href="value_of.html#fusion.iterator.metafunctions.value_of.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: Any type + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns the type stored in + a sequence at iterator position <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.value_of.h3"></a> + <span><a name="fusion.iterator.metafunctions.value_of.header"></a></span><a class="link" href="value_of.html#fusion.iterator.metafunctions.value_of.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">value_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">value_of</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.value_of.h4"></a> + <span><a name="fusion.iterator.metafunctions.value_of.example"></a></span><a class="link" href="value_of.html#fusion.iterator.metafunctions.value_of.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&,</span><span class="keyword">const</span> <span class="keyword">int</span><span class="special">&></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">second</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="next.html" title="next"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">next</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">third</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"><</span><a class="link" href="value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</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"><</span><a class="link" href="value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">second</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</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"><</span><a class="link" href="value_of.html" title="value_of"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of</span></code></a><span class="special"><</span><span class="identifier">third</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">const</span> <span class="keyword">int</span><span class="special">&>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deref.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/metafunctions/value_of_data.html b/libs/fusion/doc/html/fusion/iterator/metafunctions/value_of_data.html new file mode 100755 index 0000000000..b7a46191aa --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/metafunctions/value_of_data.html @@ -0,0 +1,140 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>value_of_data</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../metafunctions.html" title="Metafunctions"> +<link rel="prev" href="key_of.html" title="key_of"> +<link rel="next" href="deref_data.html" title="deref_data"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="key_of.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.metafunctions.value_of_data"></a><a class="link" href="value_of_data.html" title="value_of_data">value_of_data</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.metafunctions.value_of_data.h0"></a> + <span><a name="fusion.iterator.metafunctions.value_of_data.description"></a></span><a class="link" href="value_of_data.html#fusion.iterator.metafunctions.value_of_data.description">Description</a> + </h6> +<p> + Returns the type of the data property associated with the element referenced + by an associative iterator references. + </p> +<h6> +<a name="fusion.iterator.metafunctions.value_of_data.h1"></a> + <span><a name="fusion.iterator.metafunctions.value_of_data.synopsis"></a></span><a class="link" href="value_of_data.html#fusion.iterator.metafunctions.value_of_data.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">struct</span> <span class="identifier">value_of_data</span> +<span class="special">{</span> + <span class="keyword">typedef</span> <span class="emphasis"><em>unspecified</em></span> <span class="identifier">type</span><span class="special">;</span> +<span class="special">};</span> +</pre> +<div class="table"> +<a name="fusion.iterator.metafunctions.value_of_data.t0"></a><p class="title"><b>Table 1.21. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">I</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/associative_iterator.html" title="Associative Iterator">Associative + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.metafunctions.value_of_data.h2"></a> + <span><a name="fusion.iterator.metafunctions.value_of_data.expression_semantics"></a></span><a class="link" href="value_of_data.html#fusion.iterator.metafunctions.value_of_data.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><a class="link" href="value_of_data.html" title="value_of_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of_data</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: Any type + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Returns the type of the data + property associated with the element referenced by an associative iterator + <code class="computeroutput"><span class="identifier">I</span></code>. + </p> +<h6> +<a name="fusion.iterator.metafunctions.value_of_data.h3"></a> + <span><a name="fusion.iterator.metafunctions.value_of_data.header"></a></span><a class="link" href="value_of_data.html#fusion.iterator.metafunctions.value_of_data.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">value_of_data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">value_of_data</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.metafunctions.value_of_data.h4"></a> + <span><a name="fusion.iterator.metafunctions.value_of_data.example"></a></span><a class="link" href="value_of_data.html#fusion.iterator.metafunctions.value_of_data.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/map.html" title="map"><code class="computeroutput"><span class="identifier">map</span></code></a><span class="special"><</span><a class="link" href="../../support/pair.html" title="pair"><code class="computeroutput"><span class="identifier">pair</span></code></a><span class="special"><</span><span class="keyword">float</span><span class="special">,</span><span class="keyword">int</span><span class="special">></span> <span class="special">></span> <span class="identifier">vec</span><span class="special">;</span> +<span class="keyword">typedef</span> <a class="link" href="../../sequence/intrinsic/metafunctions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">begin</span></code></a><span class="special"><</span><span class="identifier">vec</span><span class="special">>::</span><span class="identifier">type</span> <span class="identifier">first</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"><</span><a class="link" href="value_of_data.html" title="value_of_data"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">value_of_data</span></code></a><span class="special"><</span><span class="identifier">first</span><span class="special">>::</span><span class="identifier">type</span><span class="special">,</span> <span class="keyword">int</span><span class="special">>));</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="key_of.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/operator.html b/libs/fusion/doc/html/fusion/iterator/operator.html new file mode 100755 index 0000000000..3acb90c138 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/operator.html @@ -0,0 +1,56 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Operator</title> +<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../iterator.html" title="Iterator"> +<link rel="prev" href="functions/deref_data.html" title="deref_data"> +<link rel="next" href="operator/operator_unary_star.html" title="Operator *"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="functions/deref_data.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator/operator_unary_star.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="fusion.iterator.operator"></a><a class="link" href="operator.html" title="Operator">Operator</a> +</h3></div></div></div> +<div class="toc"><dl> +<dt><span class="section"><a href="operator/operator_unary_star.html">Operator + *</a></span></dt> +<dt><span class="section"><a href="operator/operator_equality.html">Operator + ==</a></span></dt> +<dt><span class="section"><a href="operator/operator_inequality.html">Operator + !=</a></span></dt> +</dl></div> +<p> + Overloaded operators are provided to provide a more natural syntax for dereferencing + iterators, and comparing them for equality. + </p> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="functions/deref_data.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator/operator_unary_star.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/operator/operator_equality.html b/libs/fusion/doc/html/fusion/iterator/operator/operator_equality.html new file mode 100755 index 0000000000..5760b4b956 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/operator/operator_equality.html @@ -0,0 +1,128 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Operator ==</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../operator.html" title="Operator"> +<link rel="prev" href="operator_unary_star.html" title="Operator *"> +<link rel="next" href="operator_inequality.html" title="Operator !="> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="operator_unary_star.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../operator.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator_inequality.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.operator.operator_equality"></a><a class="link" href="operator_equality.html" title="Operator ==">Operator + ==</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.operator.operator_equality.h0"></a> + <span><a name="fusion.iterator.operator.operator_equality.description"></a></span><a class="link" href="operator_equality.html#fusion.iterator.operator.operator_equality.description">Description</a> + </h6> +<p> + Compares 2 iterators for equality. + </p> +<h6> +<a name="fusion.iterator.operator.operator_equality.h1"></a> + <span><a name="fusion.iterator.operator.operator_equality.synopsis"></a></span><a class="link" href="operator_equality.html#fusion.iterator.operator.operator_equality.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">typename</span> <span class="identifier">J</span> + <span class="special">></span> +<span class="emphasis"><em>unspecified</em></span> <span class="keyword">operator</span><span class="special">==(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">J</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.operator.operator_equality.t0"></a><p class="title"><b>Table 1.10. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code> + </p> + </td> +<td> + <p> + Any fusion iterators + </p> + </td> +<td> + <p> + Operation's arguments + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.operator.operator_equality.h2"></a> + <span><a name="fusion.iterator.operator.operator_equality.expression_semantics"></a></span><a class="link" href="operator_equality.html#fusion.iterator.operator.operator_equality.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><span class="identifier">i</span> <span class="special">==</span> <span class="identifier">j</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: Convertible to <code class="computeroutput"><span class="keyword">bool</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Equivalent to <code class="computeroutput"><a class="link" href="../metafunctions/equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">value</span></code> + where <code class="computeroutput"><span class="identifier">I</span></code> and <code class="computeroutput"><span class="identifier">J</span></code> are the types of <code class="computeroutput"><span class="identifier">i</span></code> + and <code class="computeroutput"><span class="identifier">j</span></code> respectively. + </p> +<h6> +<a name="fusion.iterator.operator.operator_equality.h3"></a> + <span><a name="fusion.iterator.operator.operator_equality.header"></a></span><a class="link" href="operator_equality.html#fusion.iterator.operator.operator_equality.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">equal_to</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">equal_to</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="operator_unary_star.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../operator.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator_inequality.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/operator/operator_inequality.html b/libs/fusion/doc/html/fusion/iterator/operator/operator_inequality.html new file mode 100755 index 0000000000..548ab597f5 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/operator/operator_inequality.html @@ -0,0 +1,126 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Operator !=</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../operator.html" title="Operator"> +<link rel="prev" href="operator_equality.html" title="Operator =="> +<link rel="next" href="../metafunctions.html" title="Metafunctions"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="operator_equality.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../operator.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.operator.operator_inequality"></a><a class="link" href="operator_inequality.html" title="Operator !=">Operator + !=</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.operator.operator_inequality.h0"></a> + <span><a name="fusion.iterator.operator.operator_inequality.description"></a></span><a class="link" href="operator_inequality.html#fusion.iterator.operator.operator_inequality.description">Description</a> + </h6> +<p> + Compares 2 iterators for inequality. + </p> +<h6> +<a name="fusion.iterator.operator.operator_inequality.h1"></a> + <span><a name="fusion.iterator.operator.operator_inequality.synopsis"></a></span><a class="link" href="operator_inequality.html#fusion.iterator.operator.operator_inequality.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span><span class="special">,</span> + <span class="keyword">typename</span> <span class="identifier">J</span> + <span class="special">></span> +<span class="emphasis"><em>unspecified</em></span> <span class="keyword">operator</span><span class="special">==(</span><span class="identifier">I</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">,</span> <span class="identifier">J</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.operator.operator_inequality.t0"></a><p class="title"><b>Table 1.11. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code>, <code class="computeroutput"><span class="identifier">j</span></code> + </p> + </td> +<td> + <p> + Any fusion iterators + </p> + </td> +<td> + <p> + Operation's arguments + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.operator.operator_inequality.h2"></a> + <span><a name="fusion.iterator.operator.operator_inequality.expression_semantics"></a></span><a class="link" href="operator_inequality.html#fusion.iterator.operator.operator_inequality.expression_semantics">Expression + Semantics</a> + </h6> +<p> + <span class="bold"><strong>Return type</strong></span>: Convertible to <code class="computeroutput"><span class="keyword">bool</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Equivalent to <code class="computeroutput"><span class="special">!</span><a class="link" href="../metafunctions/equal_to.html" title="equal_to"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">equal_to</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">,</span><span class="identifier">J</span><span class="special">>::</span><span class="identifier">value</span></code> + where <code class="computeroutput"><span class="identifier">I</span></code> and <code class="computeroutput"><span class="identifier">J</span></code> are the types of <code class="computeroutput"><span class="identifier">i</span></code> + and <code class="computeroutput"><span class="identifier">j</span></code> respectively. + </p> +<h6> +<a name="fusion.iterator.operator.operator_inequality.h3"></a> + <span><a name="fusion.iterator.operator.operator_inequality.header"></a></span><a class="link" href="operator_inequality.html#fusion.iterator.operator.operator_inequality.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">equal_to</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">equal_to</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="operator_equality.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../operator.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../metafunctions.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> diff --git a/libs/fusion/doc/html/fusion/iterator/operator/operator_unary_star.html b/libs/fusion/doc/html/fusion/iterator/operator/operator_unary_star.html new file mode 100755 index 0000000000..4ff6f9b532 --- /dev/null +++ b/libs/fusion/doc/html/fusion/iterator/operator/operator_unary_star.html @@ -0,0 +1,139 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> +<title>Operator *</title> +<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<link rel="home" href="../../../index.html" title="Chapter 1. Fusion 2.1"> +<link rel="up" href="../operator.html" title="Operator"> +<link rel="prev" href="../operator.html" title="Operator"> +<link rel="next" href="operator_equality.html" title="Operator =="> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"><tr> +<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> +<td align="center"><a href="../../../../../../../index.html">Home</a></td> +<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> +<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> +<td align="center"><a href="../../../../../../../more/index.htm">More</a></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../operator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../operator.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator_equality.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +<div class="section"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="fusion.iterator.operator.operator_unary_star"></a><a class="link" href="operator_unary_star.html" title="Operator *">Operator + *</a> +</h4></div></div></div> +<h6> +<a name="fusion.iterator.operator.operator_unary_star.h0"></a> + <span><a name="fusion.iterator.operator.operator_unary_star.description"></a></span><a class="link" href="operator_unary_star.html#fusion.iterator.operator.operator_unary_star.description">Description</a> + </h6> +<p> + Dereferences an iterator. + </p> +<h6> +<a name="fusion.iterator.operator.operator_unary_star.h1"></a> + <span><a name="fusion.iterator.operator.operator_unary_star.synopsis"></a></span><a class="link" href="operator_unary_star.html#fusion.iterator.operator.operator_unary_star.synopsis">Synopsis</a> + </h6> +<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span> + <span class="keyword">typename</span> <span class="identifier">I</span> + <span class="special">></span> +<span class="keyword">typename</span> <a class="link" href="../metafunctions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">result_of</span><span class="special">::</span><span class="identifier">deref</span></code></a><span class="special"><</span><span class="identifier">I</span><span class="special">>::</span><span class="identifier">type</span> <span class="keyword">operator</span><span class="special">*(</span><span class="emphasis"><em>unspecified</em></span><span class="special"><</span><span class="identifier">I</span><span class="special">></span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">i</span><span class="special">);</span> +</pre> +<div class="table"> +<a name="fusion.iterator.operator.operator_unary_star.t0"></a><p class="title"><b>Table 1.9. Parameters</b></p> +<div class="table-contents"><table class="table" summary="Parameters"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<thead><tr> +<th> + <p> + Parameter + </p> + </th> +<th> + <p> + Requirement + </p> + </th> +<th> + <p> + Description + </p> + </th> +</tr></thead> +<tbody><tr> +<td> + <p> + <code class="computeroutput"><span class="identifier">i</span></code> + </p> + </td> +<td> + <p> + Model of <a class="link" href="../concepts/forward_iterator.html" title="Forward Iterator">Forward + Iterator</a> + </p> + </td> +<td> + <p> + Operation's argument + </p> + </td> +</tr></tbody> +</table></div> +</div> +<br class="table-break"><h6> +<a name="fusion.iterator.operator.operator_unary_star.h2"></a> + <span><a name="fusion.iterator.operator.operator_unary_star.expression_semantics"></a></span><a class="link" href="operator_unary_star.html#fusion.iterator.operator.operator_unary_star.expression_semantics">Expression + Semantics</a> + </h6> +<pre class="programlisting"><span class="special">*</span><span class="identifier">i</span> +</pre> +<p> + <span class="bold"><strong>Return type</strong></span>: Equivalent to the return + type of <code class="computeroutput"><a class="link" href="../functions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code>. + </p> +<p> + <span class="bold"><strong>Semantics</strong></span>: Equivalent to <code class="computeroutput"><a class="link" href="../functions/deref.html" title="deref"><code class="computeroutput"><span class="identifier">deref</span></code></a><span class="special">(</span><span class="identifier">i</span><span class="special">)</span></code>. + </p> +<h6> +<a name="fusion.iterator.operator.operator_unary_star.h3"></a> + <span><a name="fusion.iterator.operator.operator_unary_star.header"></a></span><a class="link" href="operator_unary_star.html#fusion.iterator.operator.operator_unary_star.header">Header</a> + </h6> +<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">/</span><span class="identifier">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +<span class="preprocessor">#include</span> <span class="special"><</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">deref</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> +</pre> +<h6> +<a name="fusion.iterator.operator.operator_unary_star.h4"></a> + <span><a name="fusion.iterator.operator.operator_unary_star.example"></a></span><a class="link" href="operator_unary_star.html#fusion.iterator.operator.operator_unary_star.example">Example</a> + </h6> +<pre class="programlisting"><span class="keyword">typedef</span> <a class="link" href="../../container/vector.html" title="vector"><code class="computeroutput"><span class="identifier">vector</span></code></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span><span class="keyword">int</span><span class="special">&></span> <span class="identifier">vec</span><span class="special">;</span> + +<span class="keyword">int</span> <span class="identifier">i</span><span class="special">(</span><span class="number">0</span><span class="special">);</span> +<span class="identifier">vec</span> <span class="identifier">v</span><span class="special">(</span><span class="number">1</span><span class="special">,</span><span class="identifier">i</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(*</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)</span> <span class="special">==</span> <span class="number">1</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(*</span><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">))</span> <span class="special">==</span> <span class="number">0</span><span class="special">);</span> +<span class="identifier">assert</span><span class="special">(&(*</span><a class="link" href="../functions/next.html" title="next"><code class="computeroutput"><span class="identifier">next</span></code></a><span class="special">(</span><a class="link" href="../../sequence/intrinsic/functions/begin.html" title="begin"><code class="computeroutput"><span class="identifier">begin</span></code></a><span class="special">(</span><span class="identifier">v</span><span class="special">)))</span> <span class="special">==</span> <span class="special">&</span><span class="identifier">i</span><span class="special">);</span> +</pre> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011 Joel de Guzman, Dan Marsden, Tobias + Schwinger<p> + Distributed under the Boost Software License, Version 1.0. (See accompanying + file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) + </p> +</div></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="../operator.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../operator.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator_equality.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> +</div> +</body> +</html> |