std::back_insert_iterator<Container>::back_insert_iterator (3) - Linux Manuals

std::back_insert_iterator<Container>::back_insert_iterator: std::back_insert_iterator<Container>::back_insert_iterator

NAME

std::back_insert_iterator<Container>::back_insert_iterator - std::back_insert_iterator<Container>::back_insert_iterator

Synopsis


constexpr back_insert_iterator() noexcept = default; (1) (since C++20)
explicit back_insert_iterator( Container& c ); (2) (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).

Parameters


c - container to initialize the inserter with