Peter Dimov


This repository contains a never-valueless, strong guarantee, C++11/14/17 implementation of std::variant. See the documentation for more information.

The library is part of Boost, starting from release 1.71. It depends on Boost.Mp11, Boost.Config, and Boost.Assert.

Supported compilers:

  • g++ 4.8 or later with -std=c++11 or above
  • clang++ 3.9 or later with -std=c++11 or above
  • Visual Studio 2015 or later

Tested on Github Actions and Appveyor.