std::istream_iterator< _Tp, _CharT, _Traits, _Dist > Class Template Reference

Provides input iterator semantics for streams. More...

Inheritance diagram for std::istream_iterator< _Tp, _CharT, _Traits, _Dist >:

Inheritance graph

List of all members.

Public Types

Public Member Functions


Detailed Description

template<typename _Tp, typename _CharT = char, typename _Traits = char_traits<_CharT>, typename _Dist = ptrdiff_t>
class std::istream_iterator< _Tp, _CharT, _Traits, _Dist >

Provides input iterator semantics for streams.

Definition at line 42 of file stream_iterator.h.


Member Typedef Documentation

typedef _Dist std::iterator< input_iterator_tag , _Tp , _Dist , const _Tp * , const _Tp & >::difference_type [inherited]

Distance between iterators is represented as this type.

Definition at line 111 of file stl_iterator_base_types.h.

typedef input_iterator_tag std::iterator< input_iterator_tag , _Tp , _Dist , const _Tp * , const _Tp & >::iterator_category [inherited]

One of the tag types.

Definition at line 107 of file stl_iterator_base_types.h.

typedef const _Tp * std::iterator< input_iterator_tag , _Tp , _Dist , const _Tp * , const _Tp & >::pointer [inherited]

This type represents a pointer-to-value_type.

Definition at line 113 of file stl_iterator_base_types.h.

typedef const _Tp & std::iterator< input_iterator_tag , _Tp , _Dist , const _Tp * , const _Tp & >::reference [inherited]

This type represents a reference-to-value_type.

Definition at line 115 of file stl_iterator_base_types.h.

typedef _Tp std::iterator< input_iterator_tag , _Tp , _Dist , const _Tp * , const _Tp & >::value_type [inherited]

The type "pointed to" by the iterator.

Definition at line 109 of file stl_iterator_base_types.h.


Constructor & Destructor Documentation

template<typename _Tp, typename _CharT = char, typename _Traits = char_traits<_CharT>, typename _Dist = ptrdiff_t>
std::istream_iterator< _Tp, _CharT, _Traits, _Dist >::istream_iterator (  )  [inline]

Construct end of input stream iterator.

Definition at line 57 of file stream_iterator.h.

template<typename _Tp, typename _CharT = char, typename _Traits = char_traits<_CharT>, typename _Dist = ptrdiff_t>
std::istream_iterator< _Tp, _CharT, _Traits, _Dist >::istream_iterator ( istream_type __s  )  [inline]

Construct start of input stream iterator.

Definition at line 61 of file stream_iterator.h.


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

Generated on Thu Jul 23 21:17:58 2009 for libstdc++ by  doxygen 1.5.8