Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
benchmark/ | 12-May-2024 | - | 795 | 592 | ||
doc/ | 12-May-2024 | - | 4,364 | 3,950 | ||
meta/ | 12-May-2024 | - | 15 | 14 | ||
test/ | 12-May-2024 | - | 6,887 | 4,728 | ||
CMakeLists.txt | D | 12-May-2024 | 549 | 25 | 16 | |
README.md | D | 12-May-2024 | 769 | 22 | 15 | |
index.html | D | 12-May-2024 | 407 | 16 | 9 |
README.md
1# variant2 2 3This repository contains a never-valueless, strong guarantee, C++11/14/17 4implementation of [std::variant](http://en.cppreference.com/w/cpp/utility/variant). 5See [the documentation](https://www.boost.org/libs/variant2) 6for more information. 7 8The code requires [Boost.Mp11](https://github.com/boostorg/mp11) and 9Boost.Config. 10 11The 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 14Supported 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 20Tested on [Travis](https://travis-ci.org/boostorg/variant2/) and 21[Appveyor](https://ci.appveyor.com/project/pdimov/variant2-fkab9). 22