Public Types | Public Member Functions | List of all members
ustl::istream_iterator< T, Stream > Class Template Reference

An iterator over an istream to use with uSTL algorithms. More...

#include <mistream.h>

Public Types

typedef T value_type
 
typedef ptrdiff_t difference_type
 
typedef const value_type * pointer
 
typedef const value_type & reference
 
typedef Stream::size_type size_type
 

Public Member Functions

 istream_iterator (Stream &is)
 
 istream_iterator (const istream_iterator &i)
 
const T & operator* (void)
 Reads and returns the next value.
 
istream_iteratoroperator++ (void)
 
istream_iteratoroperator-- (void)
 
istream_iterator operator++ (int)
 
istream_iterator operator-- (int)
 
istream_iteratoroperator+= (streamsize n)
 
istream_iteratoroperator-= (streamsize n)
 
istream_iterator operator- (streamoff n) const
 
difference_type operator- (const istream_iterator &i) const
 
bool operator== (const istream_iterator &i) const
 
bool operator< (const istream_iterator &i) const
 

Detailed Description

template<typename T, typename Stream = istream>
class ustl::istream_iterator< T, Stream >

An iterator over an istream to use with uSTL algorithms.


The documentation for this class was generated from the following file:

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10