Prev Up HomeNext

std_result<T, E = std::error_code, NoValuePolicy = policy::default_policy<T, E, void>>

A type alias to a basic_result<T, E, NoValuePolicy> configured with std::error_code and policy::default_policy.

This type alias always references the std edition of things, unlike result<T, E = varies, NoValuePolicy = policy::default_policy<T, E, void>> which references either this alias or boost_result<T, E = boost::system::error_code, NoValuePolicy = policy::default_policy<T, E, void>>.

Namespace: BOOST_OUTCOME_V2_NAMESPACE

Header: <boost/outcome/std_result.hpp>

Last revised: January 24, 2019 at 01:15:16 UTC


Prev Up HomeNext