From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-08-17 03:07:03


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