asio C++ library

PrevUpHomeNext

associated_executor< reference_wrapper< T >, Executor >::type

Forwards type to the associator specialisation for the unwrapped type T.

typedef associated_executor< T, Executor >::type type;
Types

Name

Description

type

If T has a nested type executor_type, T::executor_type. Otherwise Executor.

Member Functions

Name

Description

get [static]

If T has a nested type executor_type, returns t.get_executor(). Otherwise returns ex.

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.

Requirements

Header: asio/associated_executor.hpp

Convenience header: asio.hpp


PrevUpHomeNext