Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost-users][StateChart]polymorphic_downcastfailure
From: Igor R (boost.lists_at_[hidden])
Date: 2009-05-01 11:33:36


> At compile time, you could verify that A is a subclass of sc::event<A>, but
> that doesn't stop you to define your events as follows ...
>
> struct A : sc:event<A> {};
> struct B : sc::event<A> {};
>
> ... which (I guess) was what you have run into?

Yes, that was my case. Copy&paste is evel :(


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