Go to file
2019-09-21 19:12:34 +03:00
benchmark Add benchmark2.md 2019-02-25 19:42:31 +02:00
doc Fix Travis and Appveyor links 2019-09-21 18:38:55 +03:00
include/boost/variant2 Support -fno-exceptions 2019-06-03 02:46:59 +03:00
meta Update description 2019-05-17 16:10:06 +03:00
test Fix return code of quick.cpp 2019-06-03 18:48:13 +03:00
.gitattributes Add .gitattributes 2017-05-29 16:31:42 +03:00
.travis.yml Add dist: trusty to .travis.yml 2019-06-17 15:07:45 +03:00
appveyor.yml Enable msvc-14.0 2018-10-18 07:43:50 +03:00
CMakeLists.txt Add CMakeLists.txt 2019-06-03 17:50:13 +03:00
index.html Fix link 2019-05-17 16:12:59 +03:00
README.md Update README 2019-09-21 19:12:34 +03:00

variant2

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 library is part of Boost, starting from release 1.71, but the header variant.hpp will also work standalone.

Supported compilers:

  • g++ 4.8 or later with -std=c++11 or above
  • clang++ 3.5 or later with -std=c++11 or above
  • Visual Studio 2015, 2017, 2019

Tested on Travis and Appveyor.