Closed cstratopoulos closed 4 years ago
I noticed that the outcome_throw_as_system_error_with_payload(BoostErrorCodeEnum &&) page refers to the trait class boost::system::errc::is_error_meow_enum<BoostErrorCodeEnum>. As per the Boost.System docs the trait is spelled boost::system::is_error_meow_enum (no errc namespace).
outcome_throw_as_system_error_with_payload(BoostErrorCodeEnum &&)
boost::system::errc::is_error_meow_enum<BoostErrorCodeEnum>
boost::system::is_error_meow_enum
errc
Happily this error does not appear to be reproduced anywhere in the actual code:
error_code_registration.cpp
boost::system
boost_result.hpp
boost::system::errc
outcome_throw_as_system_error_with_payload(boost::system::errc::errc_t)
Many thanks for the fix!
I noticed that the
outcome_throw_as_system_error_with_payload(BoostErrorCodeEnum &&)
page refers to the trait classboost::system::errc::is_error_meow_enum<BoostErrorCodeEnum>
. As per the Boost.System docs the trait is spelledboost::system::is_error_meow_enum
(noerrc
namespace).Happily this error does not appear to be reproduced anywhere in the actual code:
error_code_registration.cpp
puts the specialization inboost::system
boost_result.hpp
just opens the namespaceboost::system::errc
so that (if I follow) ADL allows callingoutcome_throw_as_system_error_with_payload(boost::system::errc::errc_t)
.