checked<T, E = varies>

A type alias to either std_checked<T, E = std::error_code> (standalone edition) or boost_checked<T, E = boost::system::error_code> (Boost edition). This means that checked<T> uses the appropriate default alias depending on which edition of Outcome is in use.

Namespace: OUTCOME_V2_NAMESPACE

Header: <outcome/result.hpp>