eternal
A C++14 compile-time/constexpr map and hash map with minimal binary footprint (by mapbox)
vswitch
Function-like value switch. (by chardan)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eternal
Posts with mentions or reviews of eternal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-08.
-
Long switch statements. Is there a better way?
Unfortunately std::map is not constexpr. There are open source alternatives though (not affiliated with the author in any way).
vswitch
Posts with mentions or reviews of vswitch.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-08.
What are some alternatives?
When comparing eternal and vswitch you can also consider the following projects:
hof - Higher-order functions for c++
StaticTypeInfo - 🏀 Up your type-game. A small C++ library for compile-time type names and type indices.
bitset2 - std::bitset with constexpr implementations plus additional features.
pthash - Fast and compact minimal perfect hash functions in C++.
uninttp - A universal type for non-type template parameters for C++20 or later.
sshash - A compressed, associative, exact, and weighted dictionary for k-mers.
compile-time-regular-expressions - Compile Time Regular Expression in C++
constexpr-8cc - Compile-time C Compiler implemented as C++14 constant expressions
sparsepp - A fast, memory efficient hash map for C++