1 May
2009
1 May
'09
2:47 p.m.
By the way, isn't it worth verifying in compile-time that MostDerived is actually the most derived?
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? Regards, -- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.