Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Prev Up HomeNext

std_checked<T, E = std::error_code>

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

This type alias always references the std edition of things, unlike checked<T, E = varies> which references either this alias or boost_checked<T, E = boost::system::error_code> .


Header: <boost/outcome/std_result.hpp>

Last revised: January 23, 2019 at 01:27:31 UTC

Prev Up HomeNext