
----- Original Message ----- From: "Fernando Pelliccioni" <fpelliccioni@gmail.com> Newsgroups: gmane.comp.lib.boost.devel To: <boost@lists.boost.org> Sent: Thursday, May 23, 2013 11:24 PM Subject: Re: [MSM] Compile-time error using SubMachines and events that carries some data
Thanks Takatoshi,
Seemed odd to me that MSM instantiate a State using a "wrong" Event. I thought I was doing something wrong.
The enable_if solution works perfect. :)
Thanks and regards, Fernando Pelliccioni
As Takatoshi (thanks a lot!) correctly explains, MSM does not know with which event a state will be entered as it's a run-time decision, while templates are instantiated at compile-time. I understand the confusion but I'm afraid there is not much to do about it :( Regards, Christophe