Skip to content

0.8.0

Latest
Compare
Choose a tag to compare
@martinmoene martinmoene released this 05 Jun 21:24

Release 0.8.0 of expected lite contains the following.

Additions

  • Add make_unexpected() for use with std::expected (#66, thanks @psyinf)
  • Add unexpected_type (deprecated) for use with std::expected (#66, thanks @psyinf)
  • Add unexpected_type::error(), deprecate unexpected_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 with std::expected (#66).

When std::expected is used for the implementation, the following are available via the nonstd namespace:

  • std::expected.
  • std::unexpected and alias unexpected_type.
  • std::bad_expected_access.
  • std::unexpect_t.
  • std::unexpect.
  • make_unexpected().

Full Changelog: v0.7.0...v0.8.0