Variant Lite Versions Save

variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library

v2.0.0

3 years ago

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:

  • Add .editorconfig
  • Add TortoiseGit integration with GitHub issues
  • Add IDE folders/files and build folder to .gitignore (.vs, .vscode, CodeBlocks)
  • Add badge 'on godbolt', nonstd-lite-project issue 36.
  • Change 'on conan' link to refer to conan center (thanks @flexferrum).
  • Prevent unused variable in get<>() (#37, thanks @mattyclarkson).
  • Improve MSVC version table, nonstd-lite-project issue 38.
  • Change requires() to use a default template argument, nonstd-lite-project 40.

Fixes:

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

v1.2.2

4 years ago

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

v1.2.1

5 years ago

This release fixes the conan recipe.

See release notes v1.2.0.

v1.2.0

5 years ago

[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.

v1.1.0

5 years ago

Release 1.1.0 ...

v1.0.0

5 years ago

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

v0.0.0

7 years ago

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.

0.0.0-alpha

7 years ago

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)