Namespaces
Variants
Views
Actions

std::back_insert_iterator<Container>::back_insert_iterator

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)
 
 
constexpr back_insert_iterator() noexcept = default;
(1) (since C++20)
(2)
explicit back_insert_iterator( Container& c );
(until C++20)
constexpr explicit back_insert_iterator( Container& c );
(since C++20)
1) Initializes the underlying pointer to container with nullptr.
(since C++20)
2) Initializes the underlying pointer to the container to std::addressof(c).

[edit] Parameters

c - container to initialize the inserter with