The Jenny Jam Blog explores the idea of using mixins in C++ to add code and logic to high-level concepts, similar to Rust traits and C++ concepts. The proposed framework deviates from standard C++ by using Result or Option classes for error handling, default constructors for non-trivial objects, and assert statements for objects in a NOP state. The implementation uses the CRTP pattern, allowing for lazy instantiation and avoidance of vtable overhead. The blog also discusses intrusive reference counting and class-level annotations. Despite similarities to C++ concepts, the approach is seen as a unique and potentially useful addition to earlier C++ versions.
https://jennyjams.net/blog/cpp-mixin/