C++ dynamic type construction and detection
- by KneLL
There was an interesting problem in C++, but it concerns more likely architecture.
There are many (10, 20, 40, etc) classes that describe some characteristics (mix-in classes), for exmaple:
struct Base { virtual ~Base() {} };
struct A : virtual public Base { int size; };
struct B : virtual public Base { float x, y; };
struct C : virtual public…