Hi all, 

I have a state like this, which has two parameters in it's constructor except the ctx.
I want to know how to pass these two arguments to the constructor,  when do state transition?
I have tried this:
transit< RepeatedPlayingState , 1, 2>();

But it cause compiling error? How to do this? I want to pass something to a new entered state.

Thanks!

class RepeatedPlayingState: public state< RepeatedPlayingState, PlayingState >
{
public:
    RepeatedPlayingState( my_context ctx , long start_pos, long end_pos) : my_base( ctx ){
        context< PlayerFsm >().player_.PlayFromTo(start_pos, end_pos);
    }  
};


Best Regards
Hill