Files
boost_range/doc/istream_range.html

65 lines
2.0 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Boost.Range Utilities</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
<table border="0" >
<tr>
<td ><img src="../../../boost.png" border="0" /></td>
<td ><h1 align="center">Boost.Range</h1></td>
</tr>
</table>
<a name="istream_range"></a> <h1>Function <code>istream_range</code></h1>
<p>
The intention of the <code>istream_range</code> function is to construct
a new range with a pair of <code>std::istream_iterator</code>s that wrap a
specified <code>std::basic_istream</code> instance.
</p>
<h3>Synopsis</h3>
<pre>
<span class="keyword">namespace </span><span class="identifier">boost</span>
<span class="special">{</span>
<span class="keyword">template</span><span class="special">&lt; </span><span class="keyword">class </span><span class="identifier">
Type,</span><span class="identifier"> <span style="color: #0000ff">class <span style="color: #000000">
Elem</span><span style="color: #000000">, <span style="color: #0000ff">class <span
style="color: #000000">Traits </span></span></span></span></span><span class="special">&gt; <span style="color: #0000ff">inline</span>
</span><span class="keyword"></span><span class="identifier">range&lt; std::istream_iterator&lt;Type, Elem, Traits&gt; &gt;
istream_range(std::basic_istream&lt;Elem, Traits&gt;&amp; in);
} </pre>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Neil Groves 2009.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
</p>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</body>
</html>