...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return a reference to an object
, changing the kind and
replacing the contents.
object& emplace_object();
The contents are replaced with an empty object
using the current memory_resource
.
All previously obtained iterators and references obtained beforehand are
invalidated.
Linear in the size of *this
.
No-throw guarantee.