https://github.com/boostorg/variant2
A never-valueless, strong guarantee implementation of std::variant
https://github.com/boostorg/variant2
Last synced: about 1 year ago
JSON representation
A never-valueless, strong guarantee implementation of std::variant
- Host: GitHub
- URL: https://github.com/boostorg/variant2
- Owner: boostorg
- Created: 2017-05-29T13:28:58.000Z (about 9 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-15T16:57:49.000Z (over 1 year ago)
- Last Synced: 2025-03-30T03:07:20.732Z (about 1 year ago)
- Language: C++
- Homepage: https://boost.org/libs/variant2
- Size: 370 KB
- Stars: 67
- Watchers: 10
- Forks: 36
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boost.Variant2
This repository contains a never-valueless, strong guarantee, C++11/14/17
implementation of [std::variant](http://en.cppreference.com/w/cpp/utility/variant).
See [the documentation](https://www.boost.org/libs/variant2)
for more information.
The library is part of Boost, starting from release 1.71. It depends on
Boost.Mp11, Boost.Config, and Boost.Assert.
Supported compilers:
* g++ 4.8 or later with `-std=c++11` or above
* clang++ 3.9 or later with `-std=c++11` or above
* Visual Studio 2015 or later
Tested on [Github Actions](https://github.com/boostorg/variant2/actions) and
[Appveyor](https://ci.appveyor.com/project/pdimov/variant2-fkab9).