<div dir="ltr">Ha! Got it. That helped. Thank you.<br><br>For the benefit of other fellow physicists with a reading problem, this will work:<br><br>template<class MostDerived, class Context><br> struct State : sc::simple_state< MostDerived, Context ><br> {<br> // Some application-specific things common to all states<br> };<br> <br>struct StateA : State< StateA, StateMachine ><br> {<br> typedef sc::transition< Event, StateB > reactions;<br> };<br><br>[...]<br><br>Stefan.<br><br><div class="gmail_quote">2008/9/1 Andreas Huber <span dir="ltr"><<a href="mailto:ahd6974-spamboostorgtrap@yahoo.com">ahd6974-spamboostorgtrap@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> [snipsnip]<br><div class="Ih2E3d"> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> May I be violating some prerequisites here?Thank you for any help you can provide, Stefan.<br> </blockquote> <br></div> Yes, the first template argument passed to simple_state must be the *most-derived* simple_state<> subclass. Please see:<br> <br> <<a href="http://www.boost.org/doc/libs/1_36_0/libs/statechart/doc/reference.html#ClassTemplatesimple_state" target="_blank">http://www.boost.org/doc/libs/1_36_0/libs/statechart/doc/reference.html#ClassTemplatesimple_state</a>>, Class template simple_state parameters<br> <br> HTH,<br> <br> -- <br> Andreas Huber<br> <br> When replying by private email, please remove the words spam and trap<br> from the address shown in the header. <br> <br> _______________________________________________<br> Boost-users mailing list<br> <a href="mailto:Boost-users@lists.boost.org" target="_blank">Boost-users@lists.boost.org</a><br> <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br> </blockquote></div><br></div>