Closed gix closed 7 months ago
Verified: https://godbolt.org/z/Y85hYz71b
Thanks for the BR!
This is fixed in develop branch, I'll seek permission to get it into the Boost 1.84 release which is currently within release cycle.
Thanks for the BR, it's interesting four years passed before anybody noticed this!
Given the following custom error code:
f().value()
compiles, butg().value()
does not. It wants to copyMovableError
when callingoutcome_throw_as_system_error_with_payload
since theImpl
passed towide_value_check
isconst
.Looks like the
void
-specialization ofbasic_result_value_observers
is missing a non-constvalue()
overload.