This repository contains a never-valueless, strong guarantee, C++11/14/17 implementation of std::variant. See the documentation for more information.
The code requires Boost.Mp11 and Boost.Config.
The repository is intended to be placed into the libs/variant2 directory of
a Boost clone or release, but the header variant.hpp will also work
standalone.
Supported compilers:
-std=c++11 or above-std=c++11 or above