github mpark/variant v1.1.0

latest releases: v1.4.0, v1.3.0, v1.2.2...
7 years ago

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 C++11
  • Support for MSVC 2015 / 2017

Bug Fixes

  • LWG2857: "{variant,optional,any}::emplace should return the constructed value"
  • Implement P0513: "Poisoning the Hash"
  • Implement P0599: "noexcept for Hash functions"
  • llvm.org/PR31916: "std::visit does not accept visitors which require non-const lvalue references"
  • llvm.org/PR33000: "std::visit with zero variants is broken"

Don't miss a new variant release

NewReleases is sending notifications on new releases.