v1.1.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 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"