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 an older version of Boost and was released in 2018. The current version is 1.89.0.
Class used to specify that an asynchronous operation is detached.
class detached_t
|
Name |
Description |
|---|---|
|
Constructor. |
The experimental::detached_t
class is used to indicate that an asynchronous operation is detached. That
is, there is no completion handler waiting for the operation's result. A
experimental::detached_t
object may be passed as a handler to an asynchronous operation, typically
using the special value boost::asio::experimental::detached.
For example:
my_socket.async_send(my_buffer, boost::asio::experimental::detached);
Header: boost/asio/experimental/detached.hpp
Convenience header: boost/asio/experimental.hpp