Skip to content

Releases: nonstd-lite/variant-lite

3.0.0

01 Oct 19:45

Choose a tag to compare

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

2.0.0

08 Nov 22:15

Choose a tag to compare

Release 2.0.0 of variant lite adds support for multiple identical types for C++11 and later. Thanks to @AnthonyVH.

It contains the following changes:

Additions:

  • Add support for identical types for C++11 and later (fixes #40) (#41, thanks to @AnthonyVH)
  • Add tweak header support.

Changes:

Fixes:

  • Fix visitor to be able to return a reference (issue #39, thanks @ligfx)

1.2.2

01 Jun 13:08

Choose a tag to compare

This bug-fix release corrects the visitor return value to use size_t.

1.2.1

26 Apr 18:55

Choose a tag to compare

This release fixes the conan recipe.

See release notes v1.2.0.

1.2.0

25 Apr 20:46

Choose a tag to compare

[to be expanded]

This release of variant lite improves support for CMake and Conan and contains numerous other changes and fixes.

See also nonstd lite project Improve coherence between lite projects.

1.1.0

23 Oct 22:08

Choose a tag to compare

Release 1.1.0 ...

1.0.0

05 Jun 11:58

Choose a tag to compare

variant lite has been re-licensed under the Boost Software License (BSL) (issue #6).

0.0.0

29 Oct 11:53

Choose a tag to compare

This is the initial release of variant lite.

Note: GCC 5.2 on Windows issues warning -Wmaybe-uninitialized tmp for swap() , whereas GCC 4.8.4 on Travis does not.

v0.0.0-alpha

23 Oct 21:40

Choose a tag to compare

v0.0.0-alpha Pre-release
Pre-release

Passes tests with:

  • clang 3.5.0 (Travis)
  • GCC 4.8.4 (Travis)
  • GCC 5.2.0
  • MSVC 8 (Visual Studio 2005)
  • MSVC 10 (Visual Studio 2010)
  • MSVC 11 (Visual Studio 2012)
  • MSVC 12 (Visual Studio 2013)
  • MSVC 14 (Visual Studio 2015)