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

handler_ptr::release_handler
PrevUpHomeNext

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