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 an old version of Boost. Click here to view this page for the latest version.
Prev Up HomeNext

outcome<T, EC = varies, EP = varies, NoValuePolicy = policy::default_policy<T, EC, EP>>

A type alias to either std_outcome<T, EC = std::error_code, EP = std::exception_ptr, NoValuePolicy = policy::default_policy<T, EC, EP>> (standalone edition) or boost_outcome<T, EC = boost::system::error_code, EP = boost::exception_ptr, NoValuePolicy = policy::default_policy<T, EC, EP>> (Boost edition), and policy::default_policy . This means that outcome<T> uses the appropriate default alias depending on which edition of Outcome is in use.

Namespace: BOOST_OUTCOME_V2_NAMESPACE

Header: <boost/outcome/outcome.hpp>

Last revised: February 01, 2019 at 23:42:52 UTC


Prev Up HomeNext