Clementine
List of all members
asio::associated_executor< T, Executor > Struct Template Reference

Traits type used to obtain the executor associated with an object. More...

#include <associated_executor.hpp>

Inheritance diagram for asio::associated_executor< T, Executor >:
Inheritance graph
[legend]
Collaboration diagram for asio::associated_executor< T, Executor >:
Collaboration graph
[legend]

Additional Inherited Members

- Public Types inherited from asio::detail::associated_executor_impl< T, Executor >
typedef void asio_associated_executor_is_unspecialised
 
typedef Executor type
 
- Static Public Member Functions inherited from asio::detail::associated_executor_impl< T, Executor >
static type get (const T &, const Executor &e=Executor()) ASIO_NOEXCEPT
 

Detailed Description

template<typename T, typename Executor = system_executor>
struct asio::associated_executor< T, Executor >

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.


The documentation for this struct was generated from the following file: