I've been using Class Trait together with an ORM to provide traits for various classes, in particular being able to search entirely different classes using the same API and re-using code without adding complexity to the class hierarchy.
I've found it work well, but debugging edge cases can be tricky and I'd really like to be able to mark methods as private or friend in the C++ class style.
4 out of 4 found this review helpful. Was this review helpful to you? Yes No