DOKK / manpages / debian 11 / libstdc++-9-doc / std::istream_iterator.3cxx.en
std::istream_iterator< _Tp, _CharT, _Traits, _Dist >(3cxx) std::istream_iterator< _Tp, _CharT, _Traits, _Dist >(3cxx)

std::istream_iterator< _Tp, _CharT, _Traits, _Dist > - Provides input iterator semantics for streams.

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


typedef _CharT char_type
typedef ptrdiff_t difference_type
Distance between iterators is represented as this type. typedef basic_istream< _CharT, _Traits > istream_type
typedef input_iterator_tag iterator_category
One of the tag types. typedef const _Tp * pointer
This type represents a pointer-to-value_type. typedef const _Tp & reference
This type represents a reference-to-value_type. typedef _Traits traits_type
typedef _Tp value_type
The type 'pointed to' by the iterator.


constexpr istream_iterator ()
Construct end of input stream iterator. istream_iterator (const istream_iterator &__obj)
istream_iterator (istream_type &__s)
Construct start of input stream iterator. bool _M_equal (const istream_iterator &__x) const
const _Tp & operator* () const
istream_iterator & operator++ ()
istream_iterator operator++ (int)
const _Tp * operator-> () const
istream_iterator & operator= (const istream_iterator &)=default

class std::istream_iterator< _Tp, _CharT, _Traits, _Dist >" Provides input iterator semantics for streams.

Definition at line 49 of file stream_iterator.h.

Distance between iterators is represented as this type.

Definition at line 125 of file stl_iterator_base_types.h.

One of the tag types.

Definition at line 121 of file stl_iterator_base_types.h.

This type represents a pointer-to-value_type.

Definition at line 127 of file stl_iterator_base_types.h.

This type represents a reference-to-value_type.

Definition at line 129 of file stl_iterator_base_types.h.

The type 'pointed to' by the iterator.

Definition at line 123 of file stl_iterator_base_types.h.

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

Sun Feb 7 2021 libstdc++