Namespaces
Variants

std::ostream_iterator<T,CharT,Traits>:: operator*

From cppreference.net

Iterator library
Iterator concepts
Iterator primitives
Algorithm concepts and utilities
Indirect callable concepts
Common algorithm requirements
(C++20)
(C++20)
(C++20)
Utilities
(C++20)
Iterator adaptors
Range access
(C++11) (C++14)
(C++14) (C++14)
(C++11) (C++14)
(C++14) (C++14)
(C++17) (C++20)
(C++17)
(C++17)
ostream_iterator & operator * ( ) ;
HTMLタグ、属性、コード内のテキストは翻訳せず、元のフォーマットを保持しました。C++固有の用語も翻訳していません。

何も行いません。このメンバ関数は LegacyOutputIterator の要件を満たすために提供されています。

これはイテレータ自体を返すため、 * iter = value のようなコードを使用して、値を基盤となるストリームに出力(挿入)することが可能になります。

パラメータ

(なし)

戻り値

* this