Martin Moene
Martin Moene
Also note that `make_expected()` is no longer part of the [expected proposal](http://wg21.link/p0323), possibly because template parameter type deduction also works for constructors since C++17.
I think the language should not be changed _to allow to **not** return an object_ for a _non-void function()_, just to accommodate a library type. > Notice that at the...
For _expected lite_ I may retain `make_expected()` and `make_unexpected()` as it is intended to be used with C++11 and later where there's no template parameter type deduction for constructors.
Thanks, sure :) C++20 had been speculative: https://github.com/martinmoene/expected-lite/blob/b33d22b294865cdb94e557d779a25ff2096ba618/include/nonstd/expected.hpp#L88
@xavier2k6 ah, thanks, wasn't aware of it yet.
@xavier2k6 will try to release 0.6.2 today-ish.
@xavier2k6 [_expected-lite_ 0.6.2](https://github.com/martinmoene/expected-lite/releases/tag/v0.6.2) released, conan update PR sent.
Dunno yet what'sup with AppVeyor...
Note to self: deferred in [Allow use with exceptions disabled, plan 11, nonstd-lite project issue 4](https://github.com/martinmoene/nonstd-lite-project/issues/4).
In version [0.4.0](https://github.com/martinmoene/expected-lite/releases/tag/v0.4.0).