You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f().value() compiles, but g().value() does not. It wants to copy MovableError when calling outcome_throw_as_system_error_with_payload since the Impl passed to wide_value_check is const.
Looks like the void-specialization of basic_result_value_observers is missing a non-const value() overload.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: