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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext
handler_ptr::release_handler

Return ownership of the handler.

Synopsis
handler_type
release_handler();
Description

Before this function returns, the owned object is destroyed, satisfying the deallocation-before-invocation Asio guarantee.

Return Value

The released handler.

Preconditions:

has_value() == true

Postconditions:

has_value() == false


PrevUpHomeNext