Clementine
|
Traits type used to obtain the executor associated with an object. More...
#include <associated_executor.hpp>
Additional Inherited Members | |
![]() | |
typedef void | asio_associated_executor_is_unspecialised |
typedef Executor | type |
![]() | |
static type | get (const T &, const Executor &e=Executor()) ASIO_NOEXCEPT |
Traits type used to obtain the executor associated with an object.
A program may specialise this traits type if the T
template parameter in the specialisation is a user-defined type. The template parameter Executor
shall be a type meeting the Executor requirements.
Specialisations shall meet the following requirements, where t
is a const reference to an object of type T
, and e
is an object of type Executor
.
type
that identifies a type meeting the Executor requirements.get
, callable as get(t)
and with return type type
.get
, callable as get(t,e)
and with return type type
.