SYNOPSIS

Inherits std::iterator< input_iterator_tag, _Tp, _Dist, const _Tp *, const _Tp & >.

Public Types

typedef _CharT char_type

typedef _Dist difference_type

typedef basic_istream< _CharT,

_Traits > istream_type"

typedef input_iterator_tag iterator_category

typedef const _Tp * pointer

typedef const _Tp & reference

typedef _Traits traits_type

typedef _Tp value_type

Public Member Functions

constexpr istream_iterator ()

istream_iterator (istream_type &__s)

istream_iterator (const istream_iterator &__obj)

bool _M_equal (const istream_iterator &__x) const

const _Tp & operator* () const

istream_iterator & operator++ ()

istream_iterator operator++ (int)

const _Tp * operator-> () const

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 49 of file stream_iterator.h.

Member Typedef Documentation

typedef _Dist \fBstd::iterator\fP< \fBinput_iterator_tag\fP , _Tp, _Dist , const _Tp * , const _Tp & >::\fBdifference_type\fP\fC [inherited]\fP

Distance between iterators is represented as this type.

Definition at line 125 of file stl_iterator_base_types.h.

typedef \fBinput_iterator_tag\fP \fBstd::iterator\fP< \fBinput_iterator_tag\fP , _Tp, _Dist , const _Tp * , const _Tp & >::\fBiterator_category\fP\fC [inherited]\fP

One of the tag types.

Definition at line 121 of file stl_iterator_base_types.h.

typedef const _Tp * \fBstd::iterator\fP< \fBinput_iterator_tag\fP , _Tp, _Dist , const _Tp * , const _Tp & >::\fBpointer\fP\fC [inherited]\fP

This type represents a pointer-to-value_type.

Definition at line 127 of file stl_iterator_base_types.h.

typedef const _Tp & \fBstd::iterator\fP< \fBinput_iterator_tag\fP , _Tp, _Dist , const _Tp * , const _Tp & >::\fBreference\fP\fC [inherited]\fP

This type represents a reference-to-value_type.

Definition at line 129 of file stl_iterator_base_types.h.

typedef _Tp \fBstd::iterator\fP< \fBinput_iterator_tag\fP , _Tp, _Dist , const _Tp * , const _Tp & >::\fBvalue_type\fP\fC [inherited]\fP

The type 'pointed to' by the iterator.

Definition at line 123 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> constexpr \fBstd::istream_iterator\fP< _Tp, _CharT, _Traits, _Dist >::\fBistream_iterator\fP ()\fC [inline]\fP

Construct end of input stream iterator.

Definition at line 64 of file stream_iterator.h.

template<typename _Tp, typename _CharT = char, typename _Traits = char_traits<_CharT>, typename _Dist = ptrdiff_t> \fBstd::istream_iterator\fP< _Tp, _CharT, _Traits, _Dist >::\fBistream_iterator\fP (istream_type &__s)\fC [inline]\fP

Construct start of input stream iterator.

Definition at line 68 of file stream_iterator.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.