Skip to content

3.0.0

Latest

Choose a tag to compare

@martinmoene martinmoene released this 01 Oct 19:45
· 4 commits to master since this release

Release 3.0.0 of variant lite adds support for converting construction for C++11 and later and let's you configure the types to use for monostate and bad_variant_access.

It contains the following changes:

Additions:

  • Introduce converting construction for C++11 and later (#48, thanks @soroush).
  • Add configuration option to use external definition for monostate via variant_CONFIG_OVERRIDE_MONOSTATE (#55, thanks @MostafaNanticock).
  • Add configuration option to use external definition for bad_variant_access via variant_CONFIG_OVERRIDE_BAD_VARIANT_ACCESS (#55, thanks @MostafaNanticock).
  • Mark bad_variant_access as [[nodiscard]] at default, omit via variant_CONFIG_NO_NODISCARD (nonstd-lite issue 74).
  • Add clang 17 to list of GitHub Actions (thanks to @striezel) (nonstd-lite issue 75).
  • Add export() to CMakeLists.txt enabling importing targets (nonstd-lite issue 50).

Changes:

Fixes:

New Contributors

Full Changelog: v2.0.0...v3.0.0