
17 Aug
2006
17 Aug
'06
7:07 a.m.
Andreas Huber wrote:
Andreas Huber wrote:
Ok, investigating ...
... it turns out this is a documentation error. state_base has virtual functions no matter whether the #define is there or not. So, typeid on a state_base object will always return the most-derived type and the method I described earlier will always work. Sorry for the noise! I'll fix the docs ASAP.
Thanks! // Johan