libstdc++: std::istreambuf_iterator< _CharT, _Traits > Class Template Reference (original) (raw)

#include <[streambuf_iterator.h](a00758%5Fsource.html)>

Public Types
typedef _Traits::off_type difference_type
typedef input_iterator_tag iterator_category
typedef _CharT reference
typedef _CharT value_type
using pointer = void
typedef _CharT char_type
typedef _Traits traits_type
typedef _Traits::int_type int_type
typedef basic_streambuf< _CharT, _Traits > streambuf_type
typedef basic_istream< _CharT, _Traits > istream_type
Public Member Functions
constexpr istreambuf_iterator () noexcept
istreambuf_iterator (const istreambuf_iterator &) noexcept=default
istreambuf_iterator (istream_type &__s) noexcept
istreambuf_iterator (streambuf_type *__s) noexcept
bool equal (const istreambuf_iterator &__b) const
char_type operator* () const
istreambuf_iterator & operator++ ()
istreambuf_iterator operator++ (int)
istreambuf_iterator & operator= (const istreambuf_iterator &) noexcept=default
Friends
template<bool _IsMove, typename _CharT2 >
__gnu_cxx::__enable_if< __is_char< _CharT2 >::__value, _CharT2 * >::__type __copy_move_a2 (istreambuf_iterator< _CharT2 >, istreambuf_iterator< _CharT2 >, _CharT2 *)
template<typename _CharT2 , typename _Size >
__gnu_cxx::__enable_if< __is_char< _CharT2 >::__value, _CharT2 * >::__type __copy_n_a (istreambuf_iterator< _CharT2 >, _Size, _CharT2 *, bool)
template<typename _CharT2 , typename _Distance >
__gnu_cxx::__enable_if< __is_char< _CharT2 >::__value, void >::__type advance (istreambuf_iterator< _CharT2 > &, _Distance)
template<typename _CharT2 >
__gnu_cxx::__enable_if< __is_char< _CharT2 >::__value, ostreambuf_iterator< _CharT2 > >::__type copy (istreambuf_iterator< _CharT2 >, istreambuf_iterator< _CharT2 >, ostreambuf_iterator< _CharT2 >)
template<typename _CharT2 >
__gnu_cxx::__enable_if< __is_char< _CharT2 >::__value, istreambuf_iterator< _CharT2 > >::__type find (istreambuf_iterator< _CharT2 >, istreambuf_iterator< _CharT2 >, const _CharT2 &)

template<typename _CharT, typename _Traits>
class std::istreambuf_iterator< _CharT, _Traits >

Provides input iterator semantics for streambufs.

Definition at line 54 of file streambuf_iterator.h.

char_type

template<typename _CharT , typename _Traits >

difference_type

int_type

template<typename _CharT , typename _Traits >

istream_type

template<typename _CharT , typename _Traits >

iterator_category

pointer

template<typename _CharT , typename _Traits >

streambuf_type

template<typename _CharT , typename _Traits >

traits_type

template<typename _CharT , typename _Traits >

value_type

istreambuf_iterator() [1/3]

template<typename _CharT , typename _Traits >

istreambuf_iterator() [2/3]

template<typename _CharT , typename _Traits >

istreambuf_iterator() [3/3]

template<typename _CharT , typename _Traits >

equal()

template<typename _CharT , typename _Traits >

operator*()

template<typename _CharT , typename _Traits >

Return the current character pointed to by iterator. This returns streambuf.sgetc(). It cannot be assigned. NB: The result of operator*() on an end of stream is undefined.

Definition at line 150 of file streambuf_iterator.h.

operator++() [1/2]

template<typename _CharT , typename _Traits >

operator++() [2/2]

template<typename _CharT , typename _Traits >


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