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

execution::executor_index

The execution::executor_index trait detects the type used by an executor to represent an index within a bulk operation.

template<
    typename T>
struct executor_index
Types

Name

Description

type

T::index_type if T::index_type is valid, otherwise executor_shape_t<T>.

Class template executor_index is a type trait with a nested type alias type whose type is T::index_type if T::index_type is valid, otherwise executor_shape_t<T>.

Requirements

Header: boost/asio/execution/executor.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext