Partager via


ostreambuf_iterator Members

Reference

Constructors

ostreambuf_iterator

Constructs an ostreambuf_iterator that is initialized to write characters to the output stream.

Typedefs

char_type

A type that provides for the character type of the ostreambuf_iterator.

ostream_type

A type that provides for the stream type of the ostream_iterator.

streambuf_type

A type that provides for the stream type of the ostreambuf_iterator.

traits_type

A type that provides for the character traits type of the ostream_iterator.

Member Functions

failed

Tests for failure of an insertion into the output stream buffer.

Operators

operator*

Dereferencing operator used to implement the output iterator expression *i = x.

operator++

A nonfunctional increment operator that returns an ostreambuf_iterator to the same object it addressed before the operation was called.

operator=

The operator inserts a character into the associated stream buffer.

See Also

Reference

ostreambuf_iterator Class

Thread Safety in the Standard C++ Library

Standard Template Library