...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return ownership of the handler.
handler_type release_handler();
Before this function returns, the owned object is destroyed, satisfying the deallocation-before-invocation Asio guarantee.
The released handler.
has_value()
== true
has_value()
== false