次の方法で共有


ostream_iterator::ostream_type

反復子のストリーム型を提供する型。

typedef basic_ostream<CharType, Traits> ostream_type;

解説

型は basic_ostream<CharType、Traits> のシノニムと書き込みに使用できるオブジェクトを定義する iostream の階層ストリーム クラスです。

使用例

ostream_typeを宣言して使用する方法の例については ostream_iterator を参照してください。

必要条件

ヘッダー: <iterator>

名前空間: std

参照

関連項目

ostream_iterator Class

標準テンプレート ライブラリ