[ Web Proxy ]
URL:
Viewing: https://cppreference.com/cpp/iterator/ostream_iterator/operator* [Back]  [Original]

std::ostream_iterator<T,CharT,Traits>::operator* - cppreference.com
cppreference.com
Namespaces
Variants

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

From cppreference.com
 
 
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*();

Does nothing, this member function is provided to satisfy the requirements of LegacyOutputIterator.

It returns the iterator itself, which makes it possible to use code such as *iter = value to output (insert) the value into the underlying stream.

Parameters

(none)

Return value

*this


Web Proxy Viewer  |  New URL  |  Original Page