
15 Aug
2006
15 Aug
'06
6:48 a.m.
Andreas Huber wrote:
Johan Nilsson wrote:
[snip]
Thank you! It works perfectly.
I forgot to mention that this only works portably if you are compiling with BOOST_STATECHART_USE_NATIVE_RTTI defined. It works always with GCC as state_base has a virtual dtor to avoid compiler warnings. Here's the habit again ;-)...
Oops, I didn't define that and the code works under VC8 and GCC 4. Did I just get lucky, or is the macro defined by default? / Johan