...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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
.
Header: boost/asio/execution/execute.hpp
Convenience header: boost/asio/execution.hpp