forked from boostorg/fusion
fusion: merge of associative iterators/views and the new fold interface
[SVN r58618]
This commit is contained in:
@ -1,10 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>as_map</title>
|
||||
<link rel="stylesheet" href="../../../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<<<<<<< .working
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
|
||||
=======
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<<<<<<< .working
|
||||
>>>>>>> .merge-right.r57125
|
||||
<link rel="home" href="../../../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../functions.html" title="Functions">
|
||||
<link rel="previous" href="as_set.html" title="as_set">
|
||||
<link rel="next" href="../metafunctions.html" title="Metafunctions">
|
||||
@ -30,15 +38,65 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.container.conversion.functions.as_map.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513836"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
|
||||
=======
|
||||
<a name="id764820"></a>
|
||||
=======
|
||||
<a name="id727097"></a>
|
||||
=======
|
||||
<a name="id719451"></a>
|
||||
=======
|
||||
<a name="id742858"></a>
|
||||
=======
|
||||
<a name="id730500"></a>
|
||||
=======
|
||||
<a name="id727224"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Convert a fusion sequence to a <a href="../../map.html" title="map"><tt class="computeroutput"><span class="identifier">map</span></tt></a>.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_map.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id513883"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id764849"></a>
|
||||
=======
|
||||
<a name="id727126"></a>
|
||||
=======
|
||||
<a name="id719480"></a>
|
||||
=======
|
||||
<a name="id742887"></a>
|
||||
=======
|
||||
<a name="id730529"></a>
|
||||
=======
|
||||
<a name="id727252"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.synopsis">Synopsis</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="keyword">typename</span> <span class="identifier">result_of</span><span class="special">::</span><span class="identifier">as_map</span><span class="special"><</span><span class="identifier">Sequence</span><span class="special">>::</span><span class="identifier">type</span>
|
||||
@ -49,8 +107,33 @@
|
||||
<span class="identifier">as_map</span><span class="special">(</span><span class="identifier">Sequence</span> <span class="keyword">const</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_map.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514138"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id765029"></a>
|
||||
=======
|
||||
<a name="id727306"></a>
|
||||
=======
|
||||
<a name="id719660"></a>
|
||||
=======
|
||||
<a name="id743067"></a>
|
||||
=======
|
||||
<a name="id730709"></a>
|
||||
=======
|
||||
<a name="id727432"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@ -82,8 +165,33 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.conversion.functions.as_map.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514243"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id765113"></a>
|
||||
=======
|
||||
<a name="id727390"></a>
|
||||
=======
|
||||
<a name="id719744"></a>
|
||||
=======
|
||||
<a name="id743151"></a>
|
||||
=======
|
||||
<a name="id730793"></a>
|
||||
=======
|
||||
<a name="id727516"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><span class="identifier">seq</span><span class="special">);</span>
|
||||
@ -101,15 +209,65 @@
|
||||
There may be no duplicate <a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">fusion</span><span class="special">::</span><span class="identifier">pair</span></tt></a> key types.
|
||||
</p>
|
||||
<a name="fusion.container.conversion.functions.as_map.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514447"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a>
|
||||
=======
|
||||
<a name="id765243"></a>
|
||||
=======
|
||||
<a name="id727520"></a>
|
||||
=======
|
||||
<a name="id719874"></a>
|
||||
=======
|
||||
<a name="id743281"></a>
|
||||
=======
|
||||
<a name="id730923"></a>
|
||||
=======
|
||||
<a name="id727646"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.header">Header</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</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">container</span><span class="special">/</span><span class="identifier">map</span><span class="special">/</span><span class="identifier">convert</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">as_map</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.conversion.functions.as_map.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id514613"></a>
|
||||
<a href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
|
||||
=======
|
||||
<a name="id765358"></a>
|
||||
=======
|
||||
<a name="id727635"></a>
|
||||
=======
|
||||
<a name="id719989"></a>
|
||||
=======
|
||||
<a name="id743396"></a>
|
||||
=======
|
||||
<a name="id731038"></a>
|
||||
=======
|
||||
<a name="id727761"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="as_map.html#fusion.container.conversion.functions.as_map.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">as_map</span><span class="special">(</span><a href="../../generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span>
|
||||
<a href="../../../support/pair.html" title="pair"><tt class="computeroutput"><span class="identifier">make_pair</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="char">'X'</span><span class="special">)</span>
|
||||
@ -118,7 +276,7 @@
|
||||
</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 <EFBFBD> 2001-2007 Joel de Guzman, Dan Marsden, Tobias
|
||||
<td align="right"><div class="copyright-footer">Copyright © 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>)
|
||||
|
Reference in New Issue
Block a user