Scroll to navigation

std::insert_iterator::operator*(3) C++ Standard Libary std::insert_iterator::operator*(3)

NAME

std::insert_iterator::operator* - std::insert_iterator::operator*

Synopsis


insert_iterator& operator*(); (until C++20)
constexpr 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.

Parameters


(none)

Return value


*this

2022.07.31 http://cppreference.com