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 the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

associated_immediate_executor

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

template<
    typename T,
    typename Executor>
struct associated_immediate_executor
Types

Name

Description

type

If T has a nested type immediate_executor_type,.

Member Functions

Name

Description

decltype [static]

If T has a nested type immediate_executor_type, returns t.get_immediate_executor(). Otherwise returns boost::asio::require(ex, boost::asio::execution::blocking.never).

Data Members

Name

Description

noexcept

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: boost/asio/associated_immediate_executor.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext