Boost C++ Libraries 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.


The execution::is_receiver trait detects whether a type T satisfies the execution::receiver concept.

    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