public member function
<iterator>

std::ostream_iterator::operator=

ostream_iterator& operator= (const value_type& value);
Assignment operator
Inserts value into the associated stream.

If the object has a delimiter set, it is also inserted after value.

Note that because operator* returns *this, this also applies to the dereferenced value.

参数

An element.
Member type value_type is the type of the elements the iterator iterates (an alias of the first class template parameter, T).

返回值

*this

数据竞争

修改对象。
返回的迭代器可用于访问或修改指向的元素。

异常安全

Provides the same level of guarantee as the insertion operation on the stream.

另见