
15 Sep
2013
15 Sep
'13
12:48 a.m.
What Johan's code does is equivalent to: #define SP_TYPE(x) (dynamic_cast<SPType*>(reinterpret_cast<SPObject*>(x)))
I replaced the cast macros now and pushed my changes. Instead of this reinterpret_cast I used a c-style cast, so I do not have to care about consts now. There is virtually no const correctness in the existing code, just some single consts that try to make my life hard ;) .
Regards, Markus