...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 array
, changing the kind and replacing
the contents.
array& emplace_array();
The value is replaced with an empty array
using the current memory
resource, destroying the previous contents.
Linear in the size of *this
.
No-throw guarantee.