Boost logo

Boost Users :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2006-08-16 14:28:06


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.

Regards,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

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