C++17 `std::variant` for C++11/14/17
☆718Dec 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☆926Jun 10, 2024Updated 2 years ago
- 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.☆252Oct 10, 2026Updated last month
- optional lite - A C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library☆425Oct 12, 2026Updated last month
- Zero overhead utilities for preventing bugs at compile time☆1,648Oct 13, 2025Updated last year
- C++11/C++14 Variant☆384Jun 29, 2026Updated 4 months ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- string_view lite - A C++17-like string_view for C++98, C++11 and later in a single-file header-only library☆481Oct 10, 2026Updated last month
- Range library for C++14/17/20, basis for C++20's std::ranges☆4,378Oct 10, 2026Updated last month
- Runtime polymorphism done right☆1,047May 27, 2021Updated 5 years ago
- ISO C++ Core Guidelines Library implementation for C++98, C++11 up☆992Aug 20, 2026Updated 2 months ago
- optional (nullable) objects for C++14☆312Sep 16, 2020Updated 6 years ago
- This is an experimental library that has evolved to P2688☆687Nov 27, 2024Updated last year
- expected lite - C++23 expected objects for C++11 and later in a single-file header-only library☆563Oct 15, 2026Updated last month
- STL compatible C++ memory allocator library using a new RawAllocator concept that is similar to an Allocator but easier to use and write.☆1,623May 29, 2025Updated last year
- C++11/14/17 std::expected with functional-style extensions☆1,905Sep 1, 2025Updated last year
- 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.
- (experimental) Syntactic sugar for variant and optional types.☆162May 11, 2019Updated 7 years ago
- Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more☆607Jul 17, 2025Updated last year
- Compile Time Regular Expression in C++☆3,877Sep 11, 2026Updated 2 months ago
- Range-based goodness for C++17☆367Feb 11, 2021Updated 5 years ago
- Provides very lightweight outcome<T> and result<T> (non-Boost edition)☆804Updated this week
- A realtime/embedded-friendly C++11 variant type which is never empty and prevents undesirable implicit conversions☆102Aug 8, 2018Updated 8 years ago
- Eggs.Variant is a C++11/14/17 generic, type-safe, discriminated union.☆141Feb 2, 2022Updated 4 years ago
- a header-only, constexpr alternative to gperf for C++14 users☆1,589Nov 8, 2026Updated last week
- span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library☆519Oct 10, 2026Updated last month
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Implementation of C++20's std::span for older compilers☆386Feb 14, 2023Updated 3 years ago
- An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.☆1,579Sep 14, 2026Updated 2 months ago
- A (work-in-progress) nextgen Doxygen for C++☆972May 20, 2026Updated 5 months ago
- Love template metaprogramming☆334Apr 10, 2022Updated 4 years ago
- Compile-time Checked, Type-Safe Formatting in C++14☆36Apr 19, 2017Updated 9 years ago
- std::tuple like methods for user defined types without any macro or boilerplate code☆1,497Updated this week
- Instant compile time C++ 11 metaprogramming library☆571Aug 7, 2026Updated 3 months ago
- C++11 metaprogramming library☆292Updated this week
- Implementation of std::any, including small object optimization, for C++11 compilers☆151May 1, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- C++ generic make factory☆109May 6, 2019Updated 7 years ago
- Your standard library for metaprogramming☆1,850Updated this week
- A never-valueless, strong guarantee implementation of std::variant☆70Updated this week
- Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum☆2,367Updated this week
- An implementation of C++ Extensions for Ranges☆225Feb 24, 2020Updated 6 years ago
- A modern formatting library☆25,928Updated this week
- The fastest feature-rich C++11/14/17/20/23 single-header testing framework☆6,913Oct 18, 2026Updated 3 weeks ago
Are these results useful?