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>in</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 1. Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../i_o.html" title="I/O">
|
||||
<link rel="previous" href="../i_o.html" title="I/O">
|
||||
<link rel="next" href="out.html" title="out">
|
||||
@@ -30,24 +38,99 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.sequence.operator.i_o.in.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471038"></a>
|
||||
<a href="in.html#fusion.sequence.operator.i_o.in.description">Description</a>
|
||||
=======
|
||||
<a name="id721510"></a>
|
||||
=======
|
||||
<a name="id684264"></a>
|
||||
=======
|
||||
<a name="id676618"></a>
|
||||
=======
|
||||
<a name="id700209"></a>
|
||||
=======
|
||||
<a name="id687778"></a>
|
||||
=======
|
||||
<a name="id684501"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="in.html#fusion.sequence.operator.i_o.in.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Read a <a href="../../../sequence.html" title="Sequence">Sequence</a> from an input
|
||||
stream.
|
||||
</p>
|
||||
<a name="fusion.sequence.operator.i_o.in.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471075"></a>
|
||||
<a href="in.html#fusion.sequence.operator.i_o.in.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id721531"></a>
|
||||
=======
|
||||
<a name="id684286"></a>
|
||||
=======
|
||||
<a name="id676640"></a>
|
||||
=======
|
||||
<a name="id700230"></a>
|
||||
=======
|
||||
<a name="id687800"></a>
|
||||
=======
|
||||
<a name="id684523"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="in.html#fusion.sequence.operator.i_o.in.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">IStream</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="identifier">IStream</span><span class="special">&</span>
|
||||
<span class="keyword">operator</span><span class="special">>>(</span><span class="identifier">IStream</span><span class="special">&</span> <span class="identifier">is</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.operator.i_o.in.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471219"></a>
|
||||
<a href="in.html#fusion.sequence.operator.i_o.in.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id721632"></a>
|
||||
=======
|
||||
<a name="id684386"></a>
|
||||
=======
|
||||
<a name="id676741"></a>
|
||||
=======
|
||||
<a name="id700331"></a>
|
||||
=======
|
||||
<a name="id687901"></a>
|
||||
=======
|
||||
<a name="id684624"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="in.html#fusion.sequence.operator.i_o.in.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@@ -92,8 +175,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.operator.i_o.in.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471348"></a>
|
||||
<a href="in.html#fusion.sequence.operator.i_o.in.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id721738"></a>
|
||||
=======
|
||||
<a name="id684492"></a>
|
||||
=======
|
||||
<a name="id676846"></a>
|
||||
=======
|
||||
<a name="id700437"></a>
|
||||
=======
|
||||
<a name="id688006"></a>
|
||||
=======
|
||||
<a name="id684730"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="in.html#fusion.sequence.operator.i_o.in.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">is</span> <span class="special">>></span> <span class="identifier">seq</span>
|
||||
@@ -107,15 +215,65 @@
|
||||
<span class="identifier">e</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.sequence.operator.i_o.in.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471465"></a>
|
||||
<a href="in.html#fusion.sequence.operator.i_o.in.header">Header</a>
|
||||
=======
|
||||
<a name="id721817"></a>
|
||||
=======
|
||||
<a name="id685664"></a>
|
||||
=======
|
||||
<a name="id678018"></a>
|
||||
=======
|
||||
<a name="id700516"></a>
|
||||
=======
|
||||
<a name="id688086"></a>
|
||||
=======
|
||||
<a name="id684809"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="in.html#fusion.sequence.operator.i_o.in.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">sequence</span><span class="special">/</span><span class="identifier">io</span><span class="special">/</span><span class="identifier">in</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">in</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.operator.i_o.in.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471630"></a>
|
||||
<a href="in.html#fusion.sequence.operator.i_o.in.example">Example</a>
|
||||
=======
|
||||
<a name="id723025"></a>
|
||||
=======
|
||||
<a name="id685779"></a>
|
||||
=======
|
||||
<a name="id678133"></a>
|
||||
=======
|
||||
<a name="id700632"></a>
|
||||
=======
|
||||
<a name="id688201"></a>
|
||||
=======
|
||||
<a name="id684924"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="in.html#fusion.sequence.operator.i_o.in.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><a href="../../../container/vector.html" title="vector"><tt class="computeroutput"><span class="identifier">vector</span></tt></a><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span><span class="special">,</span> <span class="keyword">char</span><span class="special">></span> <span class="identifier">v</span><span class="special">;</span>
|
||||
<span class="identifier">std</span><span class="special">::</span><span class="identifier">cin</span> <span class="special">>></span> <span class="identifier">v</span><span class="special">;</span>
|
||||
@@ -123,7 +281,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 © 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>)
|
||||
|
||||
@@ -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>out</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 1. Fusion 2.0">
|
||||
=======
|
||||
<link rel="home" href="../../../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
>>>>>>> .merge-right.r58299
|
||||
<link rel="up" href="../i_o.html" title="I/O">
|
||||
<link rel="previous" href="in.html" title="in">
|
||||
<link rel="next" href="../comparison.html" title="Comparison">
|
||||
@@ -30,24 +38,99 @@
|
||||
<div></div>
|
||||
</div>
|
||||
<a name="fusion.sequence.operator.i_o.out.description"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471787"></a>
|
||||
<a href="out.html#fusion.sequence.operator.i_o.out.description">Description</a>
|
||||
=======
|
||||
<a name="id723130"></a>
|
||||
=======
|
||||
<a name="id685885"></a>
|
||||
=======
|
||||
<a name="id678239"></a>
|
||||
=======
|
||||
<a name="id700737"></a>
|
||||
=======
|
||||
<a name="id688306"></a>
|
||||
=======
|
||||
<a name="id685030"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="out.html#fusion.sequence.operator.i_o.out.description">Description</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<p>
|
||||
Write a <a href="../../../sequence.html" title="Sequence">Sequence</a> to an output
|
||||
stream.
|
||||
</p>
|
||||
<a name="fusion.sequence.operator.i_o.out.synopsis"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471825"></a>
|
||||
<a href="out.html#fusion.sequence.operator.i_o.out.synopsis">Synopsis</a>
|
||||
=======
|
||||
<a name="id723152"></a>
|
||||
=======
|
||||
<a name="id685906"></a>
|
||||
=======
|
||||
<a name="id678261"></a>
|
||||
=======
|
||||
<a name="id700759"></a>
|
||||
=======
|
||||
<a name="id688328"></a>
|
||||
=======
|
||||
<a name="id685051"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="out.html#fusion.sequence.operator.i_o.out.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">OStream</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">Sequence</span><span class="special">></span>
|
||||
<span class="identifier">OStream</span><span class="special">&</span>
|
||||
<span class="keyword">operator</span><span class="special"><<(</span><span class="identifier">OStream</span><span class="special">&</span> <span class="identifier">os</span><span class="special">,</span> <span class="identifier">Sequence</span><span class="special">&</span> <span class="identifier">seq</span><span class="special">);</span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.operator.i_o.out.parameters"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id471969"></a>
|
||||
<a href="out.html#fusion.sequence.operator.i_o.out.parameters">Parameters</a>
|
||||
=======
|
||||
<a name="id723253"></a>
|
||||
=======
|
||||
<a name="id686007"></a>
|
||||
=======
|
||||
<a name="id678361"></a>
|
||||
=======
|
||||
<a name="id700860"></a>
|
||||
=======
|
||||
<a name="id688429"></a>
|
||||
=======
|
||||
<a name="id685152"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="out.html#fusion.sequence.operator.i_o.out.parameters">Parameters</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<div class="informaltable"><table class="table">
|
||||
<colgroup>
|
||||
@@ -92,8 +175,33 @@
|
||||
</tbody>
|
||||
</table></div>
|
||||
<a name="fusion.sequence.operator.i_o.out.expression_semantics"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id472097"></a>
|
||||
<a href="out.html#fusion.sequence.operator.i_o.out.expression_semantics">Expression
|
||||
=======
|
||||
<a name="id723358"></a>
|
||||
=======
|
||||
<a name="id686113"></a>
|
||||
=======
|
||||
<a name="id678467"></a>
|
||||
=======
|
||||
<a name="id700965"></a>
|
||||
=======
|
||||
<a name="id688534"></a>
|
||||
=======
|
||||
<a name="id685258"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="out.html#fusion.sequence.operator.i_o.out.expression_semantics">Expression
|
||||
>>>>>>> .merge-right.r57125
|
||||
Semantics</a>
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">os</span> <span class="special"><<</span> <span class="identifier">seq</span>
|
||||
@@ -107,22 +215,72 @@
|
||||
<span class="identifier">e</span></tt>.
|
||||
</p>
|
||||
<a name="fusion.sequence.operator.i_o.out.header"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id472215"></a>
|
||||
<a href="out.html#fusion.sequence.operator.i_o.out.header">Header</a>
|
||||
=======
|
||||
<a name="id723438"></a>
|
||||
=======
|
||||
<a name="id686192"></a>
|
||||
=======
|
||||
<a name="id678546"></a>
|
||||
=======
|
||||
<a name="id701044"></a>
|
||||
=======
|
||||
<a name="id688614"></a>
|
||||
=======
|
||||
<a name="id685337"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="out.html#fusion.sequence.operator.i_o.out.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">sequence</span><span class="special">/</span><span class="identifier">io</span><span class="special">/</span><span class="identifier">out</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">out</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.sequence.operator.i_o.out.example"></a><h6>
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<<<<<<< .working
|
||||
<a name="id472381"></a>
|
||||
<a href="out.html#fusion.sequence.operator.i_o.out.example">Example</a>
|
||||
=======
|
||||
<a name="id723553"></a>
|
||||
=======
|
||||
<a name="id686307"></a>
|
||||
=======
|
||||
<a name="id678661"></a>
|
||||
=======
|
||||
<a name="id701160"></a>
|
||||
=======
|
||||
<a name="id688729"></a>
|
||||
=======
|
||||
<a name="id685452"></a>
|
||||
>>>>>>> .merge-right.r58559
|
||||
>>>>>>> .merge-right.r58549
|
||||
>>>>>>> .merge-right.r58299
|
||||
>>>>>>> .merge-right.r57337
|
||||
>>>>>>> .merge-right.r57242
|
||||
<a class="link" href="out.html#fusion.sequence.operator.i_o.out.example">Example</a>
|
||||
>>>>>>> .merge-right.r57125
|
||||
</h6>
|
||||
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special"><<</span> <a href="../../../container/generation/functions/make_vector.html" title="make_vector"><tt class="computeroutput"><span class="identifier">make_vector</span></tt></a><span class="special">(</span><span class="number">123</span><span class="special">,</span> <span class="string">"Hello"</span><span class="special">,</span> <span class="char">'x'</span><span class="special">)</span> <span class="special"><<</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>
|
||||
</pre>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"></td>
|
||||
<td align="right"><div class="copyright-footer">Copyright © 2001-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