cpp_traits
rust-like traits (type erasure) on plain C++ (by Morglod)
zoo
Zoo library (by thecppzoo)
cpp_traits | zoo | |
---|---|---|
1 | 1 | |
15 | 71 | |
- | - | |
2.3 | 8.5 | |
10 months ago | 19 days ago | |
C++ | C++ | |
MIT License | MIT License |
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.
cpp_traits
Posts with mentions or reviews of cpp_traits.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-07.
zoo
Posts with mentions or reviews of zoo.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Best way to practice templates?
You could try to implement a type-erasing container, e.g. a lightweight version of zoo. The talks Breaking Dependencies: Type Erasure - A Design Analysis by Klaus Iglberger and Type Erasure exhibits Emergent Behavior by Eduardo Madrid might help.
What are some alternatives?
When comparing cpp_traits and zoo you can also consider the following projects:
dyno - Runtime polymorphism done right
Folly - An open-source C++ library developed and used at Facebook.
te - C++17 Run-time polymorphism (type erasure) library
AnyAny - C++17 library for comfortable and efficient dynamic polymorphism