Navigation :
result<T, E = varies, NoValuePolicy = policy::default_policy<T, E, void>>
A type alias to either std_result<T, E = std::error_code, NoValuePolicy = policy::default_policy<T, E, void>>
(standalone edition) or boost_result<T, E = boost::system::error_code, NoValuePolicy = policy::default_policy<T, E, void>>
(Boost edition), and policy::
default_policy
. This means that result<T>
uses the appropriate default alias depending on which edition of Outcome is in use.
Namespace: OUTCOME_V2_NAMESPACE
Header: <outcome/result.hpp>