std::insert_iterator<Container>::insert_iterator
From cppreference.com
insert_iterator( Container& c, typename Container::iterator i );
|
(until C++20) | |
constexpr insert_iterator( Container& c, ranges::iterator_t<Container> i );
|
(since C++20) | |
Initializes the underlying pointer to the container to std::addressof(c) and the underlying iterator to i.
Parameters
| c | - | container to initialize the inserter with |
| i | - | iterator to initialize the inserter with |
Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
