boostorg / system

Boost.org system module
http://boost.org/libs/system
36 stars 85 forks source link

make result::error accessible by reference or move #108

Closed klemens-morgenstern closed 1 year ago

klemens-morgenstern commented 1 year ago

When using result with custom types, the error might be non-trival, but hold on to resources, such a strings. In those cases it would be very useful if the error could be obtained without a copy.