]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/variant2/README.md
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / variant2 / README.md
1 # variant2
2
3 This repository contains a never-valueless, strong guarantee, C++11/14/17
4 implementation of [std::variant](http://en.cppreference.com/w/cpp/utility/variant).
5 See [the documentation](https://www.boost.org/libs/variant2)
6 for more information.
7
8 The code requires [Boost.Mp11](https://github.com/boostorg/mp11) and
9 Boost.Config.
10
11 The library is part of Boost, starting from release 1.71, but the header
12 `variant.hpp` will also work [standalone](https://godbolt.org/z/nVUNKX).
13
14 Supported compilers:
15
16 * g++ 4.8 or later with `-std=c++11` or above
17 * clang++ 3.5 or later with `-std=c++11` or above
18 * Visual Studio 2015, 2017, 2019
19
20 Tested on [Travis](https://travis-ci.org/boostorg/variant2/) and
21 [Appveyor](https://ci.appveyor.com/project/pdimov/variant2-fkab9).