asio C++ library

PrevUpHomeNext

execution::executor_shape

The execution::executor_shape trait detects the type used by an executor to represent the shape of a bulk operation.

template<
    typename T>
struct executor_shape
Types

Name

Description

type

T::shape_type if T::shape_type is valid, otherwise std::size_t.

Class template executor_shape is a type trait with a nested type alias type whose type is T::shape_type if T::shape_type is valid, otherwise std::size_t.

Requirements

Header: asio/execution/executor.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext