W3cubDocs

/C++

std::insert_iterator::insert_iterator

explicit insert_iterator( Container& c, typename Container::iterator i );

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/iterator/insert_iterator/insert_iterator