Skip to content

v1.0.1

Compare
Choose a tag to compare
@mpark mpark released this 12 May 16:57
5ef4867

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"