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
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:
Changes:
get<>()
(#37, thanks @mattyclarkson).requires()
to use a default template argument, nonstd-lite-project 40.Fixes:
This bug-fix release corrects the visitor return value to use size_t
.
This release fixes the conan recipe.
See release notes v1.2.0.
[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.
Release 1.1.0 ...
variant lite has been re-licensed under the Boost Software License (BSL) (issue #6).
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.
Passes tests with: