libstdc++
|
#include <stream_iterator.h>
Public Types | |
typedef _CharT | char_type |
typedef _Distance | difference_type |
typedef basic_istream< _CharT, _Traits > | istream_type |
typedef _Category | iterator_category |
typedef _Pointer | pointer |
typedef _Reference | reference |
typedef _Traits | traits_type |
typedef _Tp | value_type |
Public Member Functions | |
constexpr | istream_iterator () noexcept(/*conditional */) |
constexpr | istream_iterator (const istream_iterator &__obj) noexcept(/*conditional */) |
constexpr | istream_iterator (default_sentinel_t) noexcept(is_nothrow_default_constructible_v< _Tp >) |
istream_iterator (istream_type &__s) | |
const _Tp & | operator* () const noexcept |
istream_iterator & | operator++ () |
istream_iterator | operator++ (int) |
const _Tp * | operator-> () const noexcept |
istream_iterator & | operator= (const istream_iterator &)=default |
Friends | |
bool | operator== (const istream_iterator &__i, default_sentinel_t) noexcept |
bool | operator== (const istream_iterator &__x, const istream_iterator &__y) noexcept |
Provides input iterator semantics for streams.
Definition at line 56 of file stream_iterator.h.
typedef _CharT std::istream_iterator< _Tp, _CharT, _Traits, _Dist >::char_type |
Definition at line 60 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.
typedef basic_istream<_CharT, _Traits> std::istream_iterator< _Tp, _CharT, _Traits, _Dist >::istream_type |
Definition at line 62 of file stream_iterator.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.
typedef _Traits std::istream_iterator< _Tp, _CharT, _Traits, _Dist >::traits_type |
Definition at line 61 of file stream_iterator.h.
|
inherited |
The type "pointed to" by the iterator.
Definition at line 132 of file stl_iterator_base_types.h.
|
inlineconstexprnoexcept |
Construct end of input stream iterator.
Definition at line 74 of file stream_iterator.h.
|
inline |
Construct start of input stream iterator.
Definition at line 79 of file stream_iterator.h.
|
inlineconstexprnoexcept |
Definition at line 84 of file stream_iterator.h.
|
inlineconstexprnoexcept |
Definition at line 92 of file stream_iterator.h.
|
inlinenoexcept |
Definition at line 104 of file stream_iterator.h.
|
inline |
Definition at line 118 of file stream_iterator.h.
|
inline |
Definition at line 128 of file stream_iterator.h.
|
inlinenoexcept |
Definition at line 114 of file stream_iterator.h.
|
friend |
Definition at line 178 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 161 of file stream_iterator.h.