RepositoryC++
eggs-cpp

eggs-cpp/variant

Eggs.Variant is a C++11/14/17 generic, type-safe, discriminated union.

141stars
28forks
0issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: variant

#1 Repository of the month

1
TINIX TRENDING·Topic: discriminated-unions

#1 Repository of the month

2
TINIX TRENDING·Topic: cpp11

#2 Repository of the month

Eggs.Variant

Introduction

Eggs.Variant is a C++11/14/17 generic, type-safe, discriminated union. See the documentation at http://eggs-cpp.github.io/variant/.

Requirements

The library requires a standard conformant implementation of C++11; a few additional features are only available under C++14/17. Some effort was done to support incomplete language or standard library implementations —see Config —. There are no external dependencies.

The library is continuously tested with the following configurations: Build Status Build Status

  • Clang 3.9, 4, 5
  • GCC 5, 6, 7
  • Apple LLVM 7.3, 8.3, 9.1
  • MSVC 2015, 2017

[Note: Older versions of Clang (3.0+) and GCC (4.6+) are no longer tested, but should still work; please report any issues if you are using them. Older versions of MSVC are not supported.]


Copyright Agustín Bergé, Fusion Fenix 2014-2018

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
changkun/modern-cpp-tutorial

📚 Modern C++ Tutorial: C++11 to C++26 On the Fly | https://changkun.de/modern-cpp/

26.0k
Nov 9, 2026
Repository
AnthonyCalandra/modern-cpp-features

A cheatsheet of modern C++ language and library features.

22.0k
Oct 24, 2026
RepositoryHTML
federico-busato/Modern-CPP-Programming

Modern C++ Programming Course (C++03/11/14/17/20/23/26)

16.3k
Apr 19, 2026
RepositoryC++
Light-City/CPlusPlusThings

C++那些事

43.6k
Oct 13, 2026
RepositoryC++
doctest/doctest

The fastest feature-rich C++11/14/17/20/23 single-header testing framework

7.0k
Oct 18, 2026
RepositoryC++
0voice/cpp_new_features

2021年最新整理, C++ 学习资料,含C++ 11 / 14 / 17 / 20 / 23 新特性、入门教程、推荐书籍、优质文章、学习笔记、教学视频等

6.4k
Jun 18, 2025
RepositoryC++
0voice/cpp_new_features

2021年最新整理, C++ 学习资料,含C++ 11 / 14 / 17 / 20 / 23 新特性、入门教程、推荐书籍、优质文章、学习笔记、教学视频等

6.4k
Jun 18, 2025
RepositoryC++
NVIDIA/thrust

[ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl

5.0k
Feb 8, 2024
RepositoryC++
andreasfertig/cppinsights

C++ Insights - See your source code with the eyes of a compiler

4.7k
Oct 26, 2026