martinmoene / expected-lite

expected lite - Expected objects in C++11 and later in a single-file header-only library
Boost Software License 1.0
389 stars 35 forks source link

[FR] add inplace version of make_unexpected #67

Open Leonezz opened 4 months ago

Leonezz commented 4 months ago

There is inplace version of constructors for unexpected_type, why not also inplace for make_unexpected?

martinmoene commented 4 months ago

Thanks @Leonezz.


Note to self:

Progress:

Leonezz commented 4 months ago

Hi @martinmoene thanks for looking into this so quickly, I can help with the following steps if needed.

martinmoene commented 4 months ago

Hi @Leonezz , thanks for your offer. Perhaps easiest if I give it a go myself.