22 Jul
2008
22 Jul
'08
5:03 p.m.
Juraj Ivančić
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