2021-09-11 18:26:28 +03:00
|
|
|
# Boost.Variant2
|
2017-06-01 02:48:27 +03:00
|
|
|
|
2019-05-12 19:02:59 +03:00
|
|
|
This repository contains a never-valueless, strong guarantee, C++11/14/17
|
|
|
|
implementation of [std::variant](http://en.cppreference.com/w/cpp/utility/variant).
|
2019-09-21 19:12:34 +03:00
|
|
|
See [the documentation](https://www.boost.org/libs/variant2)
|
2019-05-17 17:39:42 +03:00
|
|
|
for more information.
|
2017-06-01 02:48:27 +03:00
|
|
|
|
2021-09-11 18:26:28 +03:00
|
|
|
The library is part of Boost, starting from release 1.71. It depends on
|
|
|
|
Boost.Mp11, Boost.Config, and Boost.Assert.
|
2017-06-01 02:48:27 +03:00
|
|
|
|
|
|
|
Supported compilers:
|
|
|
|
|
2018-10-19 01:24:26 +03:00
|
|
|
* g++ 4.8 or later with `-std=c++11` or above
|
2021-09-11 18:26:28 +03:00
|
|
|
* clang++ 3.9 or later with `-std=c++11` or above
|
2019-05-12 19:02:59 +03:00
|
|
|
* Visual Studio 2015, 2017, 2019
|
2017-06-03 14:24:41 +03:00
|
|
|
|
2021-09-11 19:47:34 +03:00
|
|
|
Tested on [Github Actions](https://github.com/boostorg/variant2/actions) and
|
2019-09-21 18:38:55 +03:00
|
|
|
[Appveyor](https://ci.appveyor.com/project/pdimov/variant2-fkab9).
|