
Juraj Ivančić <juraj.ivancic <at> gmail.com> writes:
Tony Turner wrote:
template< typename I > struct Start : public sc::state< Start<I>, Inst<I> > { Start<I>(my_context ctx ) : my_base( ctx ) {} };
try this:
template< typename I > struct Start : public sc::state< Start<I>, Inst<I> > { Start<I>( typename sc::state< Start<I>, Inst<I> >::my_context ctx ) : my_base( ctx ) {} };
HTH
Juraj
Thank you for the reply. This change resulted in the following error msg: error: class 'Start' does not have any field named 'my_base' I added the sc::state<... qualification to 'my_base' as well, and received the following error msg: 'initial_deep_construct' is not a member of 'boost::mpl::list<Start<I>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>' Your thoughts? Thank you again, Tony