Skip to content
/ variant2 Public
forked from boostorg/variant2

A never-valueless, strong guarantee implementation of std::variant

Notifications You must be signed in to change notification settings

ozars/variant2

 
 

Repository files navigation

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 library is part of Boost, starting from release 1.71, 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.

About

A never-valueless, strong guarantee implementation of std::variant

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.3%
  • Other 0.7%