Namespaces
Variants
Views
Actions

std::front_insert_iterator<Container>::operator*

From cppreference.com
 
 
Iterator library
Iterator concepts
(C++20)
(C++20)
(C++20)
(C++20)
Iterator primitives
Iterator adaptors
Stream iterators
Iterator customization points
Iterator operations
(C++11)
(C++11)
Range access
(C++11)(C++14)
(C++11)(C++14)
(C++17)(C++20)
(C++14)(C++14)
(C++14)(C++14)
(C++17)
(C++17)
 
 
front_insert_iterator& operator*();
(until C++20)
constexpr front_insert_iterator& operator*();
(since C++20)

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 container.

[edit] Parameters

(none)

[edit] Return value

*this