Namespaces
Variants
Views
Actions

std::back_insert_iterator<Container>::operator++

From cppreference.com
 
 
Iterator library
Iterator concepts
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)
 
std::back_insert_iterator
Member functions
back_insert_iterator::operator++back_insert_iterator::operator++(int)
 
back_insert_iterator& operator++();
(until C++20)
constexpr back_insert_iterator& operator++();
(since C++20)
back_insert_iterator& operator++( int );
(until C++20)
constexpr back_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.

[edit] Parameters

(none)

[edit] Return value

*this