enum_traits

Type traits for properties of C / C++ enum types (by willwray)

Enum_traits Alternatives

Similar projects and alternatives to enum_traits

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better enum_traits alternative or higher similarity.

enum_traits reviews and mentions

Posts with mentions or reviews of enum_traits. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-19.
  • enum_name (yet another enum to/from string conversion utility >=C++11)
    4 projects | /r/cpp | 19 Mar 2023
    On the topic of this kind of hackflection willwray/enum_traits uses an interesting trick where they improve buildtime performance by doing the __PRETTY_FUNCTION__/__FUNCSIG__/std::source_location::current().function_name() inside a variadic templated function to do the name conversion for a batch of integers at the same time to make it less expensive (compiletime) to test a large range of numbers.
  • Behind the magic of magic_enum
    4 projects | /r/cpp | 12 Feb 2023
    You could try https://github.com/willwray/enum_traits. Check out the demo repo https://github.com/willwray/enum_reflect

Stats

Basic enum_traits repo stats
2
18
10.0
almost 5 years ago

willwray/enum_traits is an open source project licensed under GNU Lesser General Public License v3.0 only which is an OSI approved license.

The primary programming language of enum_traits is C++.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com