asio C++ library

PrevUpHomeNext

execution::can_submit

A type trait that determines whether a submit expression is well-formed.

template<
    typename S,
    typename R>
struct can_submit

Class template can_submit is a trait that is derived from true_type if the expression execution::submit(std::declval<R>(), std::declval<E>()) is well formed; otherwise false_type.

Requirements

Header: asio/execution/submit.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext