Closed DaanDeMeyer closed 4 years ago
Is there a way to make OUTCOME_TRY interop with methods returning status_code? Ideally, I'd be able to call methods returning status_code with OUTCOME_TRY from within methods returning outcome::result and vice-versa.
OUTCOME_TRY
status_code
outcome::result
I can just use result<void> instead.
result<void>
Is there a way to make
OUTCOME_TRY
interop with methods returningstatus_code
? Ideally, I'd be able to call methods returningstatus_code
withOUTCOME_TRY
from within methods returningoutcome::result
and vice-versa.