libstdc++
|
Public Types | |
typedef _CharT | char_type |
typedef ptrdiff_t | 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 (const istream_iterator &__obj) | |
istream_iterator (istream_type &__s) | |
const _Tp & | operator* () const |
istream_iterator & | operator++ () |
istream_iterator | operator++ (int) |
const _Tp * | operator-> () const |
istream_iterator & | operator= (const istream_iterator &)=default |
Friends | |
bool | operator!= (const istream_iterator &__x, const istream_iterator &__y) |
bool | operator== (const istream_iterator &__x, const istream_iterator &__y) |
Provides input iterator semantics for streams.
Definition at line 49 of file stream_iterator.h.
|
inherited |
Distance between iterators is represented as this type.
Definition at line 134 of file stl_iterator_base_types.h.
|
inherited |
One of the tag types.
Definition at line 130 of file stl_iterator_base_types.h.
|
inherited |
This type represents a pointer-to-value_type.
Definition at line 136 of file stl_iterator_base_types.h.
|
inherited |
This type represents a reference-to-value_type.
Definition at line 138 of file stl_iterator_base_types.h.
|
inherited |
The type "pointed to" by the iterator.
Definition at line 132 of file stl_iterator_base_types.h.
|
inlineconstexpr |
Construct end of input stream iterator.
Definition at line 67 of file stream_iterator.h.
|
inline |
Construct start of input stream iterator.
Definition at line 71 of file stream_iterator.h.
|
friend |
Return true if the iterators refer to different streams, or if one is at end-of-stream and the other is not.
Definition at line 153 of file stream_iterator.h.
|
friend |
Return true if the iterators refer to the same stream, or are both at end-of-stream.
Definition at line 147 of file stream_iterator.h.