There is inplace version of constructors for unexpected_type, why not also inplace for make_unexpected?
Activity
martinmoene commentedon Jun 21, 2024
Thanks @Leonezz.
Note to self:
Progress:
make_unexpected#68.make_unexpected(inplace_t...)for use withstd::exception.Leonezz commentedon Jun 21, 2024
Hi @martinmoene thanks for looking into this so quickly, I can help with the following steps if needed.
martinmoene commentedon Jun 21, 2024
Hi @Leonezz , thanks for your offer. Perhaps easiest if I give it a go myself.
Update in-place make_unexpected, add it for use with std::expected, a…
In Readme, update sections 'Algorithms for unexpected_type' and A.2 '…
In in-place make_unexpected(), return unexpected created via std::mov…
martinmoene commentedon Oct 10, 2026
Added in v0.9.0.