The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 4 C++ design-pattern Projects
-
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.
-
design-pattern-examples-in-cpp
UML model and code examples of design patterns for C++. The model is created with Astah.
-
concurrent-resource
A header-only C++ library that allows easily creating thread-safe, concurrency friendly resources.
Anyway the need is not complicated, I need both entry and exit functions from every state, optionally allowing these functions to be coroutines (that's special sauce but for later), and an explicit state transition table which also have a way to say that a state can be accessed at any point. Also allow states to be state machines, optional FSM hierarchies. If you ignore the coroutine stuff it's pretty standard features these days, except that - Boost.MSM is quite archaic now (it was so novel when it was first released...) although it allows most of the features I talked about, I just think it will complicate my code unneecessarilly; - Boost-Ext.SML (not Boost) is almost perfect except it doesnt have entry/exit functions on states for some reason. Also last time we (as in in livestream) tried it in prototypes it didnt compile on msvc XD - Boost-Ext.SML2 is even better but still doesnt have entry/exit functions although it's in the plans.
C++ design-patterns related posts
- State machines with C++20 coroutines and Asio/Boost Async
- When Debug Symbols Get Large
- [Boost::MSM] Huge Memory Usage Issue During Compilation
- State machine suggestion?
- Specifications for an open source finite state machine library
- [C++20] New way of meta-programming?
- Do you use HSM (Hierarcical State Machines)?
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source design-pattern projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | Experimental Boost.DI | 1,103 |
2 | sml | 1,072 |
3 | design-pattern-examples-in-cpp | 32 |
4 | concurrent-resource | 19 |
Sponsored