...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return the top-level value
.
value
release() noexcept;
This function transfers ownership of the constructed top-level value to the caller. The behavior is undefined if there is not a single, top-level element.
No-throw guarantee.
A value holding the result. Ownership
of this value is transferred to the caller. Ownership of the memory resource
used in the last call to reset
is released.