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 to view this page for the latest version.


A customisation point that delivers an error notification to a receiver.

constexpr unspecified set_error = unspecified;

The name execution::set_error denotes a customisation point object. The expression execution::set_error(R, E) for some subexpressions R and E are expression-equivalent to:


Header: boost/asio/execution/set_error.hpp

Convenience header: boost/asio/execution.hpp