Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net