ned14 / outcome

Provides very lightweight outcome<T> and result<T> (non-Boost edition)
https://ned14.github.io/outcome
Other
676 stars 62 forks source link

OUTCOME_TRY interop with methods returning status_code #201

Closed DaanDeMeyer closed 4 years ago

DaanDeMeyer commented 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.

DaanDeMeyer commented 4 years ago

I can just use result<void> instead.