github martinmoene/expected-lite v0.8.0
0.8.0

5 months ago

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

Don't miss a new expected-lite release

NewReleases is sending notifications on new releases.