proxy
glfwpp
proxy | glfwpp | |
---|---|---|
3 | 1 | |
1,202 | 87 | |
29.3% | - | |
7.5 | 0.0 | |
11 days ago | about 1 year ago | |
C++ | C++ | |
MIT License | MIT License |
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.
proxy
-
Static Interfaces, concepts vs de-virtualisation?
Proxy seems more likely than Dyno or AnyAny to be a standard way of doing this in C++'s future.
-
C++ Polymorphism Without Inheritance Using Glaze
https://github.com/microsoft/proxy Implementation submitted for standarization
-
Runtime Concept Idiom: Opinions
So basically you have to undo the type erasure? I think I'm going to try the proxy library found here. https://github.com/microsoft/proxy
glfwpp
-
Best practices for managing global state?
You might also want to consider using glfwpp, which is a C++ wrapper around glfw. It wraps the glfw callbacks with std::fuction, so you can pass function objects or lambdas with captures without thinking about managing the single global user pointer.
What are some alternatives?
iface - Anonymous, non-intrusive interfaces in C++
centurion - A modern C++ wrapper library for SDL2 in order to improve type-safety, memory safety and overall ease-of-use.
Aggreget - Use your structures like tuples. Similar to MagicGet but using C++ 20 concepts.
crunchy-bytes - C++ 17 Schema Serialization Library
kumi - C++20 Compact Tuple Tools
ureact - Functional reactive programming library for c++
glaze - Extremely fast, in memory, JSON and interface library for modern C++
Refureku - Cross-platform C++17 Runtime Reflection Library
polytail - Rust-like trait-based polymorphism for C++
uvw - Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
dyno - Runtime polymorphism done right
AnyAny - C++17 library for comfortable and efficient dynamic polymorphism