std::{{{1}}}::{{{1}}}
From cppreference.com
explicit {{{1}}}( Container& c ); |
(until C++20) | |
constexpr explicit {{{1}}}( Container& c ); |
(since C++20) | |
Initializes the underlying pointer to the container to std::addressof(c).
[edit] Parameters
c | - | container to initialize the inserter with |
[edit] Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR | Applied to | Behavior as published | Correct behavior |
---|---|---|---|
P2325R3 | C++20 | default constructor was provided as C++20 iterators must be default_initializable
|
removed along with the requirement |