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
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
meta_enumerator
C++14 library to enhance enumerator capabilities, including arbitrary length, statically allocated, strongly typed masks.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08I'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
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.
C++ Enum related posts
Index
What are some of the best open-source Enum projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | Magic Enum C++ | 4,403 |
2 | Better Enums | 1,592 |
3 | enum.hpp | 43 |
4 | meta_enumerator | 22 |
5 | enum_name | 19 |
Sponsored