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

Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterator. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying container.

Parameters

(none)

Return value

*this

2026.11.10 http://cppreference.com