v1.2.0
MPark.Variant is an implementation of C++17 std::variant
for C++11/14/17.
The implementation is based on my implementation of std::variant
for libc++ and is continuously tested against libc++'s std::variant
test suite.
New Features
- Support for GCC 4.9 (no
constexpr
support forvisit
and relational operators) - Support for
-fno-exceptions
- Support for
#include
ofmpark/variant.hpp
without the-I
flag - Single header versions of
mpark/variant.hpp
hosted on the single-header branch - Support for
try it | on godbolt
- Increase warning levels
Bug Fixes
- LWG2904: "Make
variant
move-assignment more exception safe."