asio C++ library

PrevUpHomeNext

experimental::detached_t

Class used to specify that an asynchronous operation is detached.

class detached_t
Member Functions

Name

Description

detached_t

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 asio::experimental::detached. For example:

my_socket.async_send(my_buffer, asio::experimental::detached);
Requirements

Header: asio/experimental/detached.hpp

Convenience header: asio/experimental.hpp


PrevUpHomeNext