boost/libs/variant2
2022-12-15 23:45:23 +08:00
..
benchmark 源码提交 2022-12-15 23:45:23 +08:00
doc 源码提交 2022-12-15 23:45:23 +08:00
meta 源码提交 2022-12-15 23:45:23 +08:00
test 源码提交 2022-12-15 23:45:23 +08:00
CMakeLists.txt 源码提交 2022-12-15 23:45:23 +08:00
index.html 源码提交 2022-12-15 23:45:23 +08:00
README.md 源码提交 2022-12-15 23:45:23 +08: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 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:

  • 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.