forked from boostorg/range
65 lines
2.0 KiB
HTML
65 lines
2.0 KiB
HTML
![]() |
<!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">< </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">> <span style="color: #0000ff">inline</span>
|
||
|
</span><span class="keyword"></span><span class="identifier">range< std::istream_iterator<Type, Elem, Traits> >
|
||
|
istream_range(std::basic_istream<Elem, Traits>& in);
|
||
|
} </pre>
|
||
|
|
||
|
<p>
|
||
|
© <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>
|
||
|
|