Prev Up HomeNext

std_outcome<T, EC = std::error_code, EP = std::exception_ptr, NoValuePolicy = policy::default_policy<T, EC, EP>>

A type alias to a basic_outcome<T, EC, EP, NoValuePolicy> configured with std::error_code, std::exception_ptr and policy::default_policy.

This type alias always references the std edition of things, unlike outcome<T, EC = varies, EP = varies, NoValuePolicy = policy::default_policy<T, EC, EP>> which references either this alias or boost_outcome<T, EC = boost::system::error_code, EP = boost::exception_ptr, NoValuePolicy = policy::default_policy<T, EC, EP>>.

Namespace: BOOST_OUTCOME_V2_NAMESPACE

Header: <boost/outcome/std_outcome.hpp>

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


Prev Up HomeNext