C++ Enum

Open-source C++ projects categorized as Enum

Top 5 C++ Enum Projects

  • Magic Enum C++

    Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

    Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08

    I'm not sure this is quite what you're asking for, but this library has been super helpful to me in the past : https://github.com/Neargye/magic_enum

  • Better Enums

    C++ compile-time enum to string, iteration, in a single header file

    Project mention: How to convert an enum to string in C++ | news.ycombinator.com | 2023-09-30

    I really like better_enums instead of magic_enums. There’s no limit on enum size with it: http://aantron.github.io/better-enums/

    It was heavily used at a former employer of mine, so definitely a solid production-ready solution.

  • SonarCloud

    Analyze your C and C++ projects with just one click.. SonarCloud, a cloud-based static analysis tool for your CI/CD workflows, offers a one-click automatic analysis of C and C++ projects hosted on GitHub. Zero configuration and free for open-source projects! Analyze free.

  • enum.hpp

    C++17 compile-time enum reflection library

  • meta_enumerator

    C++14 library to enhance enumerator capabilities, including arbitrary length, statically allocated, strongly typed masks.

  • enum_name

    Converting (scoped)enum values to string names written in C++>=11.

    Project mention: enum_name (yet another enum to/from string conversion utility >=C++11) | /r/cpp | 2023-03-19
  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-30.

C++ Enum related posts


What are some of the best open-source Enum projects in C++? This list will help you:

Project Stars
1 Magic Enum C++ 3,934
2 Better Enums 1,497
3 enum.hpp 40
4 meta_enumerator 23
5 enum_name 14
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.