blob: 66a1e844894a20e67ae85305ae1d714e12caec4b [file] [log] [blame]
Brian Silverman598d0292018-08-04 23:56:47 -07001[/
2 Copyright 2010 Neil Groves
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5/]
6[section:istream_range istream_range]
7
8[heading Prototype]
9
10``
11template< class Type, class Elem, class Traits > inline
12iterator_range< std::istream_iterator<Type, Elem, Traits> >
13istream_range(std::basic_istream<Elem, Traits>& in);
14``
15
16[heading Description]
17
18`istream_range` is a function to generator that generates an `iterator_range` wrapping a `std::istream_iterator`.
19
20[heading Definition]
21
22Defined in header file `boost/range/istream_range.hpp`
23
24[endsect]