Igor R
(4) finally, I templated the state<> version, , which has problems.
[NOTE: I've referenced line # 3773 below, to sync with output]
struct NDIREV_17 {};
template< typename I > struct Start;
template< typename I > struct Inst : public sc::state_machine< Inst<I>, Start<I> > {};[ line# 3773 ]
template< typename I > struct Start : public sc::state< Start<I>, Inst<I> > { Start<I>(my_context ctx ) : my_base( ctx ) {} };
Did you try this way: template<typename I> struct Inst : public sc::state_machine
> // same 'main'
Thank you for the suggestion. It resulted in the following error msg:
/usr/include/boost/statechart/state_machine.hpp:701: error:
'initial_deep_construct' is not a member of
'boost::mpl::list