Release 0.8.0 of expected lite contains the following.
Additions
- Add
make_unexpected()
for use withstd::expected
(#66, thanks @psyinf) - Add
unexpected_type
(deprecated) for use withstd::expected
(#66, thanks @psyinf) - Add
unexpected_type::error()
, deprecateunexpected_type::value()
(#66, thanks @psyinf)
Changes
- Adapt test suite to use with
std::expected
.
Fixes
- Fix definition of 'unit_select' in batch files.
- Fix test suite's
create_copyable()
for use withstd::expected
(#66).
When std::expected
is used for the implementation, the following are available via the nonstd namespace:
std::expected
.std::unexpected
and aliasunexpected_type
.std::bad_expected_access
.std::unexpect_t
.std::unexpect
.make_unexpected()
.
Full Changelog: v0.7.0...v0.8.0