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: asio/execution/receiver.hpp
Convenience header: asio/execution.hpp