>>107739554
that is not even remotely difficult or hard to do in plain C and probably even easier in sepples
typedef enum {
SomeMathObjectKind,
OtherMathObjectKind,
} MATHEMATICAL_OBJECT_KIND;
typedef struct {
MATHEMATICAL_OBJECT_KIND Kind;
// put other common properties here
union {
SOME_MATHEMATICAL_OBJECT Some;
OTHER_MATHEMATICAL_OBJECT Other;
} As;
Comment too long. Click here to view the full text.