Namespaces
Variants
Views
Actions

std::insert_iterator::insert_iterator

From cppreference.com
< cpp‎ | iterator‎ | insert iterator
Revision as of 20:42, 31 May 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
explicit insert_iterator( Container& c, typename Container::iterator i );

Initializes the underlying pointer to the container to std::addressof(c) and the interlying iterator to iter.

[edit] Parameters

c - container to initialize the inserter with
iter - iterator to initialize the inserter with