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 for the latest Boost documentation.
PrevUpHomeNext

execution::can_execute

(Deprecated.) A type trait that determines whether an 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