Hi Christophe,

thanks for the reply.
Sure, I can 'repeat' the constructor / its arguments. I just thought maybe I can avoid this.

Bye
Manuel



2014-08-29 21:13 GMT+02:00 <christophe.j.henry@googlemail.com>:
Hi Manuel,
 
> I want to forward declare a state machine which has a non-default constructor.
>struct wrapper::fsm : public boost::msm::back::state_machine<player_>
>{
>    using boost::msm::back::state_machine<player_>::state_machine;
>};
 
I think you can’t “using” template constructors. Try:
 
fsm(int some_value):boost::msm::back::state_machine<player_>(some_value){}
 
HTH,
Christophe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users