Scroll to navigation

std::ostreambuf_iterator< _CharT, _Traits >(3cxx) std::ostreambuf_iterator< _CharT, _Traits >(3cxx)

NAME

std::ostreambuf_iterator< _CharT, _Traits > - Provides output iterator semantics for streambufs.

SYNOPSIS

Public Types


typedef _CharT char_type
Public typedefs. typedef basic_ostream< _CharT, _Traits > ostream_type
typedef basic_streambuf< _CharT, _Traits > streambuf_type
typedef _Traits traits_type

Public Member Functions


ostreambuf_iterator (ostream_type &__s) noexcept
Construct output iterator from ostream. ostreambuf_iterator (streambuf_type *__s) noexcept
Construct output iterator from streambuf. ostreambuf_iterator & _M_put (const _CharT *__ws, streamsize __len)
bool failed () const noexcept
Return true if previous operator=() failed. ostreambuf_iterator & operator* ()
Return *this. ostreambuf_iterator & operator++ ()
Return *this. ostreambuf_iterator & operator++ (int)
Return *this. ostreambuf_iterator & operator= (_CharT __c)
Write character to streambuf. Calls streambuf.sputc().

Friends


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 >)

Detailed Description

template<typename _CharT, typename _Traits>

class std::ostreambuf_iterator< _CharT, _Traits >" Provides output iterator semantics for streambufs.

Definition at line 128 of file iosfwd.

Author

Generated automatically by Doxygen for libstdc++ from the source code.
Tue Jul 14 2020 libstdc++