共用方式為


ostreambuf_iterator::ostream_type

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

typedef basic_ostream<CharType, Traits> ostream_type;

Remarks

The type is a synonym for basic_ostream<CharType, Traits>

Example

See ostreambuf_iterator for an example of how to declare and use ostream_type.

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

ostreambuf_iterator Class

Standard Template Library