Boost C++ Libraries

...one 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 a snapshot of the develop branch, built from commit 553cef9960.
Prev Up HomeNext

decltype(auto) error_code(T &&)

Extracts a boost::system::error_code or std::error_code from the input via ADL discovery of a suitable make_error_code(T) function.

Overridable: Argument dependent lookup.

Requires: Always available.

Namespace: BOOST_OUTCOME_V2_NAMESPACE::policy

Header: <boost/outcome/std_result.hpp>

Last revised: February 11, 2019 at 15:13:33 UTC


Prev Up HomeNext