C++17 `std::variant` for C++11/14/17
☆712Dec 7, 2022Updated 3 years ago
Alternatives and similar repositories for variant
Users that are interested in variant are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- C++11/14/17 std::optional with functional-style extensions and reference support☆922Jun 10, 2024Updated last year
- variant lite - A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library.☆250Nov 28, 2025Updated 5 months ago
- optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library☆423Nov 28, 2025Updated 5 months ago
- Zero overhead utilities for preventing bugs at compile time☆1,640Oct 13, 2025Updated 7 months ago
- A realtime/embedded-friendly C++11 variant type which is never empty and prevents undesirable implicit conversions☆102Aug 8, 2018Updated 7 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Runtime polymorphism done right☆1,036May 27, 2021Updated 4 years ago
- C++11/C++14 Variant☆381Apr 13, 2026Updated last month
- optional (nullable) objects for C++14☆314Sep 16, 2020Updated 5 years ago
- Range library for C++14/17/20, basis for C++20's std::ranges☆4,363Apr 12, 2026Updated last month
- ISO C++ Core Guidelines Library implementation for C++98, C++11 up☆976Mar 20, 2026Updated last month
- string_view lite - A C++17-like string_view for C++98, C++11 and later in a single-file header-only library☆471Nov 28, 2025Updated 5 months ago
- This is an experimental library that has evolved to P2688☆682Nov 27, 2024Updated last year
- (experimental) Syntactic sugar for variant and optional types.☆162May 11, 2019Updated 7 years ago
- Provides very lightweight outcome<T> and result<T> (non-Boost edition)☆784May 1, 2026Updated 2 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Compile-time Checked, Type-Safe Formatting in C++14☆36Apr 19, 2017Updated 9 years ago
- Love template metaprogramming☆330Apr 10, 2022Updated 4 years ago
- A C++14-and-later expression template library☆108Apr 22, 2026Updated 3 weeks ago
- Implementation of std::any, including small object optimization, for C++11 compilers☆152May 1, 2024Updated 2 years ago
- C++11/14/17 std::expected with functional-style extensions☆1,842Sep 1, 2025Updated 8 months ago
- Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more☆600Jul 17, 2025Updated 10 months ago
- STL compatible C++ memory allocator library using a new RawAllocator concept that is similar to an Allocator but easier to use and write.☆1,604May 29, 2025Updated 11 months ago
- a header-only, constexpr alternative to gperf for C++14 users☆1,542Apr 20, 2026Updated 3 weeks ago
- Range-based goodness for C++17☆364Feb 11, 2021Updated 5 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.☆1,537Dec 31, 2025Updated 4 months ago
- Compile Time Regular Expression in C++☆3,804May 8, 2026Updated last week
- A (work-in-progress) nextgen Doxygen for C++☆969Sep 12, 2025Updated 8 months ago
- std::tuple like methods for user defined types without any macro or boilerplate code☆1,474Apr 24, 2026Updated 3 weeks ago
- span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library☆515Feb 6, 2026Updated 3 months ago
- expected lite - C++23 expected objects for C++11 and later in a single-file header-only library☆550Dec 27, 2025Updated 4 months ago
- C++11 metaprogramming library☆283Apr 24, 2026Updated 3 weeks ago
- Instant compile time C++ 11 metaprogramming library☆570Sep 7, 2022Updated 3 years ago
- Header only C++14 mocking framework☆877Apr 26, 2025Updated last year
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- A modern formatting library☆23,485May 11, 2026Updated last week
- C++ generic make factory☆108May 6, 2019Updated 7 years ago
- The fastest feature-rich C++11/14/17/20/23 single-header testing framework☆6,717May 11, 2026Updated last week
- A date and time library based on the C++11/14/17 <chrono> header☆3,407Apr 16, 2026Updated last month
- Guidelines Support Library☆6,674Mar 24, 2026Updated last month
- A tiny metaprogramming library☆309Jun 23, 2023Updated 2 years ago
- Implementation of C++20's std::span for older compilers☆379Feb 14, 2023Updated 3 years ago