github mpark/variant v1.0.1

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

MPark.Variant is an implementation of C++17 std::variant as a C++14 library.

The implementation is based on my implementation of std::variant for libc++ and is continuously tested against libc++ std::variant test suite.


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.