void outcome_throw_as_system_error_with_payload(BoostErrorCodeEnum &&)
A specialisation of outcome_throw_as_system_error_with_payload()
for types where boost::system::is_error_code_enum
or boost::system::is_error_condition_enum
is true. This executes BOOST_OUTCOME_THROW_EXCEPTION(expr)
with a boost::system::system_error
constructed from the result of the ADL discovered free function make_error_code(BoostErrorCodeEnum)
.
Overridable: Argument dependent lookup.
Requires: Either boost::system::is_error_code_enum
or boost::system::is_error_condition_enum
to be true for a decayed BoostErrorCodeEnum
.
Namespace: boost::system
Header: