Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

execution::can_execute

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

template<
    typename T,
    typename F>
struct can_execute

Class template can_execute is a trait that is derived from true_type if the expression execution::execute(std::declval<T>(), std::declval<F>()) is well formed; otherwise false_type.

Requirements

Header: boost/asio/execution/execute.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext