ned14 / outcome

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

OUTCOME_TRY does not propagate spare storage #247

Closed ned14 closed 3 years ago

ned14 commented 3 years ago

If a result<T> has spare storage set to record a stack backtrace of when it was created, if during stack unwind there is an OUTCOME_TRY, the spare storage value is dropped which means the stack backtrace of the originally created result<T> is lost.

ned14 commented 3 years ago

Fixed.