...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The execution::is_receiver
trait detects whether
a type T satisfies the execution::receiver concept.
template< typename T, typename E = std::exception_ptr> struct is_receiver
Class template is_receiver
is a type trait that is derived from true_type
if the type T
meets the concept
definition for a receiver for error type E
,
otherwise false_type
.
Header: boost/asio/execution/receiver.hpp
Convenience header: boost/asio/execution.hpp