forked from boostorg/fusion
@ -33,6 +33,8 @@
|
||||
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
|
||||
@ -40,7 +42,11 @@
|
||||
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>.
|
||||
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>
|
||||
|
228
doc/html/fusion/iterator/concepts/associative_iterator.html
Normal file
228
doc/html/fusion/iterator/concepts/associative_iterator.html
Normal file
@ -0,0 +1,228 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Associative Iterator</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<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="../../../../../../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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../functions.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="Associative Iterator">
|
||||
<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>
|
||||
<a name="fusion.iterator.concepts.associative_iterator.description"></a><h6>
|
||||
<a name="id633107"></a>
|
||||
<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" title="Notation">
|
||||
<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>
|
||||
<a name="fusion.iterator.concepts.associative_iterator.refinement_of"></a><h6>
|
||||
<a name="id633172"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.concepts.associative_iterator.expression_requirements"></a><h6>
|
||||
<a name="id633205"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.concepts.associative_iterator.meta_expressions"></a><h6>
|
||||
<a name="id633358"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.concepts.associative_iterator.models"></a><h6>
|
||||
<a name="id633563"></a>
|
||||
<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 <20> 2001-2007 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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../functions.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -28,7 +28,7 @@
|
||||
Iterator</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.concepts.bidirectional_iterator.description"></a><h6>
|
||||
<a name="id675483"></a>
|
||||
<a name="id630723"></a>
|
||||
<a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -58,7 +58,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.iterator.concepts.bidirectional_iterator.refinement_of"></a><h6>
|
||||
<a name="id675595"></a>
|
||||
<a name="id630835"></a>
|
||||
<a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.refinement_of">Refinement
|
||||
of</a>
|
||||
</h6>
|
||||
@ -66,7 +66,7 @@
|
||||
<a class="link" href="forward_iterator.html" title="Forward Iterator">Forward Iterator</a>
|
||||
</p>
|
||||
<a name="fusion.iterator.concepts.bidirectional_iterator.expression_requirements"></a><h6>
|
||||
<a name="id675619"></a>
|
||||
<a name="id630859"></a>
|
||||
<a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h6>
|
||||
@ -173,7 +173,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.bidirectional_iterator.meta_expressions"></a><h6>
|
||||
<a name="id675896"></a>
|
||||
<a name="id631136"></a>
|
||||
<a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.meta_expressions">Meta
|
||||
Expressions</a>
|
||||
</h6>
|
||||
@ -208,7 +208,7 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.bidirectional_iterator.expression_semantics"></a><h6>
|
||||
<a name="id675995"></a>
|
||||
<a name="id631236"></a>
|
||||
<a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -248,7 +248,7 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.bidirectional_iterator.invariants"></a><h6>
|
||||
<a name="id676101"></a>
|
||||
<a name="id631341"></a>
|
||||
<a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.invariants">Invariants</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -264,7 +264,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.iterator.concepts.bidirectional_iterator.models"></a><h6>
|
||||
<a name="id676325"></a>
|
||||
<a name="id631566"></a>
|
||||
<a class="link" href="bidirectional_iterator.html#fusion.iterator.concepts.bidirectional_iterator.models">Models</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
||||
|
@ -28,7 +28,7 @@
|
||||
Iterator</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.concepts.forward_iterator.description"></a><h6>
|
||||
<a name="id673138"></a>
|
||||
<a name="id627286"></a>
|
||||
<a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -61,7 +61,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.iterator.concepts.forward_iterator.expression_requirements"></a><h6>
|
||||
<a name="id673258"></a>
|
||||
<a name="id627406"></a>
|
||||
<a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h6>
|
||||
@ -239,7 +239,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.forward_iterator.meta_expressions"></a><h6>
|
||||
<a name="id673804"></a>
|
||||
<a name="id627952"></a>
|
||||
<a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.meta_expressions">Meta
|
||||
Expressions</a>
|
||||
</h6>
|
||||
@ -350,7 +350,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.forward_iterator.expression_semantics"></a><h6>
|
||||
<a name="id674522"></a>
|
||||
<a name="id629762"></a>
|
||||
<a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -476,7 +476,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.forward_iterator.invariants"></a><h6>
|
||||
<a name="id674974"></a>
|
||||
<a name="id630214"></a>
|
||||
<a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.invariants">Invariants</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -500,7 +500,7 @@
|
||||
</li>
|
||||
</ul></div>
|
||||
<a name="fusion.iterator.concepts.forward_iterator.models"></a><h6>
|
||||
<a name="id675267"></a>
|
||||
<a name="id630507"></a>
|
||||
<a class="link" href="forward_iterator.html#fusion.iterator.concepts.forward_iterator.models">Models</a>
|
||||
</h6>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
||||
|
@ -7,7 +7,7 @@
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../concepts.html" title="Concepts">
|
||||
<link rel="prev" href="bidirectional_iterator.html" title="Bidirectional Iterator">
|
||||
<link rel="next" href="../functions.html" title="Functions">
|
||||
<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>
|
||||
@ -20,7 +20,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="bidirectional_iterator.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../functions.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="bidirectional_iterator.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="associative_iterator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="Random Access Iterator">
|
||||
<div class="titlepage"><div><div><h4 class="title">
|
||||
@ -28,7 +28,7 @@
|
||||
Access Iterator</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.concepts.random_access_iterator.description"></a><h6>
|
||||
<a name="id676459"></a>
|
||||
<a name="id631699"></a>
|
||||
<a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -61,7 +61,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.iterator.concepts.random_access_iterator.refinement_of"></a><h6>
|
||||
<a name="id678224"></a>
|
||||
<a name="id631825"></a>
|
||||
<a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.refinement_of">Refinement
|
||||
of</a>
|
||||
</h6>
|
||||
@ -70,7 +70,7 @@
|
||||
Iterator</a>
|
||||
</p>
|
||||
<a name="fusion.iterator.concepts.random_access_iterator.expression_requirements"></a><h6>
|
||||
<a name="id678248"></a>
|
||||
<a name="id631849"></a>
|
||||
<a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.expression_requirements">Expression
|
||||
requirements</a>
|
||||
</h6>
|
||||
@ -177,7 +177,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.random_access_iterator.meta_expressions"></a><h6>
|
||||
<a name="id678525"></a>
|
||||
<a name="id632741"></a>
|
||||
<a class="link" href="random_access_iterator.html#fusion.iterator.concepts.random_access_iterator.meta_expressions">Meta
|
||||
Expressions</a>
|
||||
</h6>
|
||||
@ -240,7 +240,7 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.iterator.concepts.random_access_iterator.models"></a><h6>
|
||||
<a name="id678753"></a>
|
||||
<a name="id632969"></a>
|
||||
<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">
|
||||
@ -284,7 +284,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="bidirectional_iterator.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../functions.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="bidirectional_iterator.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="associative_iterator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../iterator.html" title="Iterator">
|
||||
<link rel="prev" href="concepts/random_access_iterator.html" title="Random Access 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">
|
||||
@ -20,7 +20,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="concepts/random_access_iterator.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="functions/deref.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="concepts/associative_iterator.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="functions/deref.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="Functions">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
@ -33,6 +33,7 @@
|
||||
<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
|
||||
@ -51,7 +52,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="concepts/random_access_iterator.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="functions/deref.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="concepts/associative_iterator.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="functions/deref.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.functions.advance"></a><a class="link" href="advance.html" title="advance">advance</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.functions.advance.description"></a><h6>
|
||||
<a name="id682101"></a>
|
||||
<a name="id638009"></a>
|
||||
<a class="link" href="advance.html#fusion.iterator.functions.advance.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Moves an iterator by a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.advance.synopsis"></a><h6>
|
||||
<a name="id682119"></a>
|
||||
<a name="id638027"></a>
|
||||
<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>
|
||||
@ -44,7 +44,7 @@
|
||||
<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="id682242"></a><p class="title"><b>Table<EFBFBD>1.6.<2E>Parameters</b></p>
|
||||
<a name="id638149"></a><p class="title"><b>Table<EFBFBD>1.6.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -109,7 +109,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.functions.advance.expression_semantics"></a><h6>
|
||||
<a name="id682361"></a>
|
||||
<a name="id638268"></a>
|
||||
<a class="link" href="advance.html#fusion.iterator.functions.advance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -128,14 +128,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.advance.header"></a><h6>
|
||||
<a name="id682463"></a>
|
||||
<a name="id638370"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.advance.example"></a><h6>
|
||||
<a name="id682571"></a>
|
||||
<a name="id638478"></a>
|
||||
<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>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="prev" href="advance.html" title="advance">
|
||||
<link rel="next" href="../operator.html" title="Operator">
|
||||
<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>
|
||||
@ -20,21 +20,21 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="advance_c">
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.advance_c.description"></a><h6>
|
||||
<a name="id682772"></a>
|
||||
<a name="id638680"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.advance_c.synopsis"></a><h6>
|
||||
<a name="id682790"></a>
|
||||
<a name="id638698"></a>
|
||||
<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>
|
||||
@ -44,7 +44,7 @@
|
||||
<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="id682913"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
<a name="id638820"></a><p class="title"><b>Table<EFBFBD>1.7.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -108,7 +108,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.functions.advance_c.expression_semantics"></a><h6>
|
||||
<a name="id683029"></a>
|
||||
<a name="id638937"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.functions.advance_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -127,14 +127,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.advance_c.header"></a><h6>
|
||||
<a name="id684226"></a>
|
||||
<a name="id639041"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.advance_c.example"></a><h6>
|
||||
<a name="id684334"></a>
|
||||
<a name="id639149"></a>
|
||||
<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>
|
||||
@ -154,7 +154,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.functions.deref"></a><a class="link" href="deref.html" title="deref">deref</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.functions.deref.description"></a><h6>
|
||||
<a name="id678908"></a>
|
||||
<a name="id633723"></a>
|
||||
<a class="link" href="deref.html#fusion.iterator.functions.deref.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Deferences an iterator.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.deref.synopsis"></a><h6>
|
||||
<a name="id678924"></a>
|
||||
<a name="id633739"></a>
|
||||
<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>
|
||||
@ -43,7 +43,7 @@
|
||||
<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="id679025"></a><p class="title"><b>Table<EFBFBD>1.2.<2E>Parameters</b></p>
|
||||
<a name="id633840"></a><p class="title"><b>Table<EFBFBD>1.2.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -88,7 +88,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.functions.deref.expression_semantics"></a><h6>
|
||||
<a name="id679107"></a>
|
||||
<a name="id633922"></a>
|
||||
<a class="link" href="deref.html#fusion.iterator.functions.deref.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -102,14 +102,14 @@
|
||||
<code class="computeroutput"><span class="identifier">i</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.deref.header"></a><h6>
|
||||
<a name="id679202"></a>
|
||||
<a name="id634017"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.deref.example"></a><h6>
|
||||
<a name="id679310"></a>
|
||||
<a name="id634125"></a>
|
||||
<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>
|
||||
|
138
doc/html/fusion/iterator/functions/deref_data.html
Normal file
138
doc/html/fusion/iterator/functions/deref_data.html
Normal file
@ -0,0 +1,138 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>deref_data</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<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="../../../../../../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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="deref_data">
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.deref_data.description"></a><h6>
|
||||
<a name="id639332"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.deref_data.synopsis"></a><h6>
|
||||
<a name="id639348"></a>
|
||||
<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="id639449"></a><p class="title"><b>Table<EFBFBD>1.8.<2E>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"><a name="fusion.iterator.functions.deref_data.expression_semantics"></a><h6>
|
||||
<a name="id639533"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.deref_data.header"></a><h6>
|
||||
<a name="id639630"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.deref_data.example"></a><h6>
|
||||
<a name="id639738"></a>
|
||||
<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 <20> 2001-2007 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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../functions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../operator.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.functions.distance"></a><a class="link" href="distance.html" title="distance">distance</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.functions.distance.description"></a><h6>
|
||||
<a name="id681452"></a>
|
||||
<a name="id637360"></a>
|
||||
<a class="link" href="distance.html#fusion.iterator.functions.distance.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the distance between 2 iterators.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.distance.synopsis"></a><h6>
|
||||
<a name="id681470"></a>
|
||||
<a name="id637378"></a>
|
||||
<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>
|
||||
@ -44,7 +44,7 @@
|
||||
<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="id681614"></a><p class="title"><b>Table<EFBFBD>1.5.<2E>Parameters</b></p>
|
||||
<a name="id637522"></a><p class="title"><b>Table<EFBFBD>1.5.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -89,7 +89,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.functions.distance.expression_semantics"></a><h6>
|
||||
<a name="id681703"></a>
|
||||
<a name="id637610"></a>
|
||||
<a class="link" href="distance.html#fusion.iterator.functions.distance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -103,14 +103,14 @@
|
||||
iterators <code class="computeroutput"><span class="identifier">i</span></code> and <code class="computeroutput"><span class="identifier">j</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.distance.header"></a><h6>
|
||||
<a name="id681786"></a>
|
||||
<a name="id637693"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.distance.example"></a><h6>
|
||||
<a name="id681894"></a>
|
||||
<a name="id637801"></a>
|
||||
<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>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.functions.next"></a><a class="link" href="next.html" title="next">next</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.functions.next.description"></a><h6>
|
||||
<a name="id679612"></a>
|
||||
<a name="id634427"></a>
|
||||
<a class="link" href="next.html#fusion.iterator.functions.next.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Moves an iterator 1 position forwards.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.next.synopsis"></a><h6>
|
||||
<a name="id679630"></a>
|
||||
<a name="id634445"></a>
|
||||
<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>
|
||||
@ -43,7 +43,7 @@
|
||||
<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="id679731"></a><p class="title"><b>Table<EFBFBD>1.3.<2E>Parameters</b></p>
|
||||
<a name="id634546"></a><p class="title"><b>Table<EFBFBD>1.3.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -88,7 +88,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.functions.next.expression_semantics"></a><h6>
|
||||
<a name="id679812"></a>
|
||||
<a name="id634627"></a>
|
||||
<a class="link" href="next.html#fusion.iterator.functions.next.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -103,14 +103,14 @@
|
||||
next element after <code class="computeroutput"><span class="identifier">i</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.next.header"></a><h6>
|
||||
<a name="id679877"></a>
|
||||
<a name="id636331"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.next.example"></a><h6>
|
||||
<a name="id679985"></a>
|
||||
<a name="id636439"></a>
|
||||
<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>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.functions.prior"></a><a class="link" href="prior.html" title="prior">prior</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.functions.prior.description"></a><h6>
|
||||
<a name="id680290"></a>
|
||||
<a name="id636744"></a>
|
||||
<a class="link" href="prior.html#fusion.iterator.functions.prior.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Moves an iterator 1 position backwards.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.prior.synopsis"></a><h6>
|
||||
<a name="id680308"></a>
|
||||
<a name="id636762"></a>
|
||||
<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>
|
||||
@ -43,7 +43,7 @@
|
||||
<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="id680955"></a><p class="title"><b>Table<EFBFBD>1.4.<2E>Parameters</b></p>
|
||||
<a name="id636863"></a><p class="title"><b>Table<EFBFBD>1.4.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -88,7 +88,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.functions.prior.expression_semantics"></a><h6>
|
||||
<a name="id681037"></a>
|
||||
<a name="id636944"></a>
|
||||
<a class="link" href="prior.html#fusion.iterator.functions.prior.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -103,14 +103,14 @@
|
||||
element prior to <code class="computeroutput"><span class="identifier">i</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.functions.prior.header"></a><h6>
|
||||
<a name="id681107"></a>
|
||||
<a name="id637014"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.functions.prior.example"></a><h6>
|
||||
<a name="id681215"></a>
|
||||
<a name="id637122"></a>
|
||||
<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>
|
||||
|
@ -35,6 +35,9 @@
|
||||
<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>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.metafunctions.advance"></a><a class="link" href="advance.html" title="advance">advance</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.metafunctions.advance.description"></a><h6>
|
||||
<a name="id690260"></a>
|
||||
<a name="id647568"></a>
|
||||
<a class="link" href="advance.html#fusion.iterator.metafunctions.advance.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Moves an iterator a specified distance.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.advance.synopsis"></a><h6>
|
||||
<a name="id690278"></a>
|
||||
<a name="id647586"></a>
|
||||
<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>
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id690363"></a><p class="title"><b>Table<EFBFBD>1.17.<2E>Parameters</b></p>
|
||||
<a name="id647671"></a><p class="title"><b>Table<EFBFBD>1.18.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -112,7 +112,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.advance.expression_semantics"></a><h6>
|
||||
<a name="id690484"></a>
|
||||
<a name="id647792"></a>
|
||||
<a class="link" href="advance.html#fusion.iterator.metafunctions.advance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -130,14 +130,14 @@
|
||||
may be negative.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.advance.header"></a><h6>
|
||||
<a name="id690599"></a>
|
||||
<a name="id647907"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.advance.example"></a><h6>
|
||||
<a name="id690707"></a>
|
||||
<a name="id648015"></a>
|
||||
<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>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../metafunctions.html" title="Metafunctions">
|
||||
<link rel="prev" href="advance.html" title="advance">
|
||||
<link rel="next" href="../../sequence.html" title="Sequence">
|
||||
<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>
|
||||
@ -20,21 +20,21 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../sequence.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="key_of.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="advance_c">
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.advance_c.description"></a><h6>
|
||||
<a name="id692659"></a>
|
||||
<a name="id648328"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.advance_c.synopsis"></a><h6>
|
||||
<a name="id692677"></a>
|
||||
<a name="id648346"></a>
|
||||
<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>
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id692763"></a><p class="title"><b>Table<EFBFBD>1.18.<2E>Parameters</b></p>
|
||||
<a name="id648432"></a><p class="title"><b>Table<EFBFBD>1.19.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -111,7 +111,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.advance_c.expression_semantics"></a><h6>
|
||||
<a name="id692879"></a>
|
||||
<a name="id648548"></a>
|
||||
<a class="link" href="advance_c.html#fusion.iterator.metafunctions.advance_c.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -129,14 +129,14 @@
|
||||
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>
|
||||
<a name="fusion.iterator.metafunctions.advance_c.header"></a><h6>
|
||||
<a name="id693064"></a>
|
||||
<a name="id648733"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.advance_c.example"></a><h6>
|
||||
<a name="id693172"></a>
|
||||
<a name="id648841"></a>
|
||||
<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>
|
||||
@ -158,7 +158,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../sequence.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="advance.html"><img src="../../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="key_of.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.metafunctions.deref"></a><a class="link" href="deref.html" title="deref">deref</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.metafunctions.deref.description"></a><h6>
|
||||
<a name="id686878"></a>
|
||||
<a name="id643502"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.deref.synposis"></a><h6>
|
||||
<a name="id686894"></a>
|
||||
<a name="id643519"></a>
|
||||
<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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id686966"></a><p class="title"><b>Table<EFBFBD>1.12.<2E>Parameters</b></p>
|
||||
<a name="id643591"></a><p class="title"><b>Table<EFBFBD>1.13.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -91,7 +91,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.deref.expression_semantics"></a><h6>
|
||||
<a name="id687050"></a>
|
||||
<a name="id643675"></a>
|
||||
<a class="link" href="deref.html#fusion.iterator.metafunctions.deref.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -105,14 +105,14 @@
|
||||
an iterator of type <code class="computeroutput"><span class="identifier">I</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.deref.header"></a><h6>
|
||||
<a name="id687125"></a>
|
||||
<a name="id643750"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.deref.example"></a><h6>
|
||||
<a name="id687233"></a>
|
||||
<a name="id643858"></a>
|
||||
<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>
|
||||
|
139
doc/html/fusion/iterator/metafunctions/deref_data.html
Normal file
139
doc/html/fusion/iterator/metafunctions/deref_data.html
Normal file
@ -0,0 +1,139 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>deref_data</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<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="../../../../../../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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../sequence.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="deref_data">
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.deref_data.description"></a><h6>
|
||||
<a name="id652202"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.deref_data.synposis"></a><h6>
|
||||
<a name="id652219"></a>
|
||||
<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="id652291"></a><p class="title"><b>Table<EFBFBD>1.22.<2E>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"><a name="fusion.iterator.metafunctions.deref_data.expression_semantics"></a><h6>
|
||||
<a name="id652375"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.deref_data.header"></a><h6>
|
||||
<a name="id652450"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.deref_data.example"></a><h6>
|
||||
<a name="id652558"></a>
|
||||
<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 <20> 2001-2007 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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../../sequence.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.metafunctions.distance"></a><a class="link" href="distance.html" title="distance">distance</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.metafunctions.distance.description"></a><h6>
|
||||
<a name="id689565"></a>
|
||||
<a name="id646258"></a>
|
||||
<a class="link" href="distance.html#fusion.iterator.metafunctions.distance.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Returns the distance between two iterators.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.distance.synopsis"></a><h6>
|
||||
<a name="id689583"></a>
|
||||
<a name="id646276"></a>
|
||||
<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>
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id689668"></a><p class="title"><b>Table<EFBFBD>1.16.<2E>Parameters</b></p>
|
||||
<a name="id646976"></a><p class="title"><b>Table<EFBFBD>1.17.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -92,7 +92,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.distance.expression_semantics"></a><h6>
|
||||
<a name="id689759"></a>
|
||||
<a name="id647067"></a>
|
||||
<a class="link" href="distance.html#fusion.iterator.metafunctions.distance.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -108,14 +108,14 @@
|
||||
<code class="computeroutput"><span class="identifier">J</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.distance.header"></a><h6>
|
||||
<a name="id689855"></a>
|
||||
<a name="id647163"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.distance.example"></a><h6>
|
||||
<a name="id689963"></a>
|
||||
<a name="id647271"></a>
|
||||
<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>
|
||||
|
@ -27,7 +27,7 @@
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.equal_to.description"></a><h6>
|
||||
<a name="id688869"></a>
|
||||
<a name="id645562"></a>
|
||||
<a class="link" href="equal_to.html#fusion.iterator.metafunctions.equal_to.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
@ -36,7 +36,7 @@
|
||||
and <code class="computeroutput"><span class="identifier">J</span></code> are equal.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.equal_to.synopsis"></a><h6>
|
||||
<a name="id688905"></a>
|
||||
<a name="id645598"></a>
|
||||
<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>
|
||||
@ -49,7 +49,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id688990"></a><p class="title"><b>Table<EFBFBD>1.15.<2E>Parameters</b></p>
|
||||
<a name="id645683"></a><p class="title"><b>Table<EFBFBD>1.16.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -93,7 +93,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.equal_to.expression_semantics"></a><h6>
|
||||
<a name="id689076"></a>
|
||||
<a name="id645770"></a>
|
||||
<a class="link" href="equal_to.html#fusion.iterator.metafunctions.equal_to.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -109,14 +109,14 @@
|
||||
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>
|
||||
<a name="fusion.iterator.metafunctions.equal_to.header"></a><h6>
|
||||
<a name="id689214"></a>
|
||||
<a name="id645908"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.equal_to.example"></a><h6>
|
||||
<a name="id689322"></a>
|
||||
<a name="id646016"></a>
|
||||
<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>
|
||||
|
139
doc/html/fusion/iterator/metafunctions/key_of.html
Normal file
139
doc/html/fusion/iterator/metafunctions/key_of.html
Normal file
@ -0,0 +1,139 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>key_of</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<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="../../../../../../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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="value_of_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="key_of">
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.key_of.description"></a><h6>
|
||||
<a name="id651108"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.key_of.synopsis"></a><h6>
|
||||
<a name="id651125"></a>
|
||||
<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="id651197"></a><p class="title"><b>Table<EFBFBD>1.20.<2E>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"><a name="fusion.iterator.metafunctions.key_of.expression_semantics"></a><h6>
|
||||
<a name="id651281"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.key_of.header"></a><h6>
|
||||
<a name="id651355"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.key_of.example"></a><h6>
|
||||
<a name="id651463"></a>
|
||||
<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 <20> 2001-2007 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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="value_of_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.metafunctions.next"></a><a class="link" href="next.html" title="next">next</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.metafunctions.next.description"></a><h6>
|
||||
<a name="id687631"></a>
|
||||
<a name="id644325"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.next.synposis"></a><h6>
|
||||
<a name="id687648"></a>
|
||||
<a name="id644342"></a>
|
||||
<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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id687720"></a><p class="title"><b>Table<EFBFBD>1.13.<2E>Parameters</b></p>
|
||||
<a name="id644414"></a><p class="title"><b>Table<EFBFBD>1.14.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -91,7 +91,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.next.expression_semantics"></a><h6>
|
||||
<a name="id687802"></a>
|
||||
<a name="id644495"></a>
|
||||
<a class="link" href="next.html#fusion.iterator.metafunctions.next.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -106,14 +106,14 @@
|
||||
next element in the sequence after <code class="computeroutput"><span class="identifier">I</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.next.header"></a><h6>
|
||||
<a name="id687881"></a>
|
||||
<a name="id644574"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.next.example"></a><h6>
|
||||
<a name="id687989"></a>
|
||||
<a name="id644682"></a>
|
||||
<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>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<a name="fusion.iterator.metafunctions.prior"></a><a class="link" href="prior.html" title="prior">prior</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.metafunctions.prior.description"></a><h6>
|
||||
<a name="id688193"></a>
|
||||
<a name="id644886"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.prior.synopsis"></a><h6>
|
||||
<a name="id688210"></a>
|
||||
<a name="id644903"></a>
|
||||
<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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id688282"></a><p class="title"><b>Table<EFBFBD>1.14.<2E>Parameters</b></p>
|
||||
<a name="id644975"></a><p class="title"><b>Table<EFBFBD>1.15.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -91,7 +91,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.prior.expression_semantics"></a><h6>
|
||||
<a name="id688366"></a>
|
||||
<a name="id645059"></a>
|
||||
<a class="link" href="prior.html#fusion.iterator.metafunctions.prior.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -106,14 +106,14 @@
|
||||
previous element in the sequence before <code class="computeroutput"><span class="identifier">I</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.prior.header"></a><h6>
|
||||
<a name="id688447"></a>
|
||||
<a name="id645141"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.prior.example"></a><h6>
|
||||
<a name="id688556"></a>
|
||||
<a name="id645249"></a>
|
||||
<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>
|
||||
|
@ -27,14 +27,14 @@
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.value_of.description"></a><h6>
|
||||
<a name="id686109"></a>
|
||||
<a name="id642734"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.value_of.synopsis"></a><h6>
|
||||
<a name="id686126"></a>
|
||||
<a name="id642751"></a>
|
||||
<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>
|
||||
@ -46,7 +46,7 @@
|
||||
<span class="special">};</span>
|
||||
</pre>
|
||||
<div class="table">
|
||||
<a name="id686198"></a><p class="title"><b>Table<EFBFBD>1.11.<2E>Parameters</b></p>
|
||||
<a name="id642823"></a><p class="title"><b>Table<EFBFBD>1.12.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -91,7 +91,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.metafunctions.value_of.expression_semantics"></a><h6>
|
||||
<a name="id686282"></a>
|
||||
<a name="id642907"></a>
|
||||
<a class="link" href="value_of.html#fusion.iterator.metafunctions.value_of.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -105,14 +105,14 @@
|
||||
a sequence at iterator position <code class="computeroutput"><span class="identifier">I</span></code>.
|
||||
</p>
|
||||
<a name="fusion.iterator.metafunctions.value_of.header"></a><h6>
|
||||
<a name="id686357"></a>
|
||||
<a name="id642982"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.value_of.example"></a><h6>
|
||||
<a name="id686465"></a>
|
||||
<a name="id643090"></a>
|
||||
<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>
|
||||
|
140
doc/html/fusion/iterator/metafunctions/value_of_data.html
Normal file
140
doc/html/fusion/iterator/metafunctions/value_of_data.html
Normal file
@ -0,0 +1,140 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>value_of_data</title>
|
||||
<link rel="stylesheet" href="../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<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="../../../../../../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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="value_of_data">
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.value_of_data.description"></a><h6>
|
||||
<a name="id651658"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.value_of_data.synopsis"></a><h6>
|
||||
<a name="id651674"></a>
|
||||
<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="id651746"></a><p class="title"><b>Table<EFBFBD>1.21.<2E>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"><a name="fusion.iterator.metafunctions.value_of_data.expression_semantics"></a><h6>
|
||||
<a name="id651828"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.value_of_data.header"></a><h6>
|
||||
<a name="id651900"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.metafunctions.value_of_data.example"></a><h6>
|
||||
<a name="id652008"></a>
|
||||
<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 <20> 2001-2007 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/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../metafunctions.html"><img src="../../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="deref_data.html"><img src="../../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -6,7 +6,7 @@
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
<link rel="up" href="../iterator.html" title="Iterator">
|
||||
<link rel="prev" href="functions/advance_c.html" title="advance_c">
|
||||
<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">
|
||||
@ -20,7 +20,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="functions/advance_c.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="operator/operator_unary_star.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="functions/deref_data.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="operator/operator_unary_star.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" title="Operator">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
@ -50,7 +50,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="functions/advance_c.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="operator/operator_unary_star.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="functions/deref_data.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../iterator.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="operator/operator_unary_star.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -28,14 +28,14 @@
|
||||
==</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.operator.operator_equality.description"></a><h6>
|
||||
<a name="id685207"></a>
|
||||
<a name="id640671"></a>
|
||||
<a class="link" href="operator_equality.html#fusion.iterator.operator.operator_equality.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Compares 2 iterators for equality.
|
||||
</p>
|
||||
<a name="fusion.iterator.operator.operator_equality.synopsis"></a><h6>
|
||||
<a name="id685223"></a>
|
||||
<a name="id641849"></a>
|
||||
<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>
|
||||
@ -45,7 +45,7 @@
|
||||
<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="id685327"></a><p class="title"><b>Table<EFBFBD>1.9.<2E>Parameters</b></p>
|
||||
<a name="id641952"></a><p class="title"><b>Table<EFBFBD>1.10.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -89,7 +89,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.operator.operator_equality.expression_semantics"></a><h6>
|
||||
<a name="id685413"></a>
|
||||
<a name="id642038"></a>
|
||||
<a class="link" href="operator_equality.html#fusion.iterator.operator.operator_equality.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -104,7 +104,7 @@
|
||||
and <code class="computeroutput"><span class="identifier">j</span></code> respectively.
|
||||
</p>
|
||||
<a name="fusion.iterator.operator.operator_equality.header"></a><h6>
|
||||
<a name="id685540"></a>
|
||||
<a name="id642166"></a>
|
||||
<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>
|
||||
|
@ -28,14 +28,14 @@
|
||||
!=</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.operator.operator_inequality.description"></a><h6>
|
||||
<a name="id685661"></a>
|
||||
<a name="id642287"></a>
|
||||
<a class="link" href="operator_inequality.html#fusion.iterator.operator.operator_inequality.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Compares 2 iterators for inequality.
|
||||
</p>
|
||||
<a name="fusion.iterator.operator.operator_inequality.synopsis"></a><h6>
|
||||
<a name="id685682"></a>
|
||||
<a name="id642307"></a>
|
||||
<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>
|
||||
@ -45,7 +45,7 @@
|
||||
<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="id685785"></a><p class="title"><b>Table<EFBFBD>1.10.<2E>Parameters</b></p>
|
||||
<a name="id642410"></a><p class="title"><b>Table<EFBFBD>1.11.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -89,7 +89,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.operator.operator_inequality.expression_semantics"></a><h6>
|
||||
<a name="id685869"></a>
|
||||
<a name="id642494"></a>
|
||||
<a class="link" href="operator_inequality.html#fusion.iterator.operator.operator_inequality.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -102,7 +102,7 @@
|
||||
and <code class="computeroutput"><span class="identifier">j</span></code> respectively.
|
||||
</p>
|
||||
<a name="fusion.iterator.operator.operator_inequality.header"></a><h6>
|
||||
<a name="id685979"></a>
|
||||
<a name="id642605"></a>
|
||||
<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>
|
||||
|
@ -28,14 +28,14 @@
|
||||
*</a>
|
||||
</h4></div></div></div>
|
||||
<a name="fusion.iterator.operator.operator_unary_star.description"></a><h6>
|
||||
<a name="id684533"></a>
|
||||
<a name="id639998"></a>
|
||||
<a class="link" href="operator_unary_star.html#fusion.iterator.operator.operator_unary_star.description">Description</a>
|
||||
</h6>
|
||||
<p>
|
||||
Dereferences an iterator.
|
||||
</p>
|
||||
<a name="fusion.iterator.operator.operator_unary_star.synopsis"></a><h6>
|
||||
<a name="id684553"></a>
|
||||
<a name="id640017"></a>
|
||||
<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>
|
||||
@ -44,7 +44,7 @@
|
||||
<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="id684663"></a><p class="title"><b>Table<EFBFBD>1.8.<2E>Parameters</b></p>
|
||||
<a name="id640127"></a><p class="title"><b>Table<EFBFBD>1.9.<2E>Parameters</b></p>
|
||||
<div class="table-contents"><table class="table" summary="Parameters">
|
||||
<colgroup>
|
||||
<col>
|
||||
@ -89,7 +89,7 @@
|
||||
</table></div>
|
||||
</div>
|
||||
<br class="table-break"><a name="fusion.iterator.operator.operator_unary_star.expression_semantics"></a><h6>
|
||||
<a name="id684745"></a>
|
||||
<a name="id640209"></a>
|
||||
<a class="link" href="operator_unary_star.html#fusion.iterator.operator.operator_unary_star.expression_semantics">Expression
|
||||
Semantics</a>
|
||||
</h6>
|
||||
@ -103,14 +103,14 @@
|
||||
<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>
|
||||
<a name="fusion.iterator.operator.operator_unary_star.header"></a><h6>
|
||||
<a name="id684832"></a>
|
||||
<a name="id640296"></a>
|
||||
<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>
|
||||
<a name="fusion.iterator.operator.operator_unary_star.example"></a><h6>
|
||||
<a name="id684940"></a>
|
||||
<a name="id640404"></a>
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user