Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 68cc668162.
PrevUpHomeNext
value_stack::release

Return the top-level value.

Synopsis
value
release();
Description

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.

Exception Safety

No-throw guarantee.

Return Value

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.


PrevUpHomeNext