On Sun, Jul 25, 2010 at 6:49 PM, Nicolas Emiliani <n.r.emiliani@gmail.com> wrote:


On Sun, Jul 25, 2010 at 6:04 PM, Igor R <boost.lists@gmail.com> wrote:
> I'm experiencing a compiling problem with boost.statechart.
> I'm using gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

FWIW, your code compiles well in MSVC10

Thanks Igor, well, at list I know it's some syntax misbehavior related to gcc

Well, finally cracked it. Apparently since the method invocation is dependant
on the parameter of the template the keyword template should be used, resulting in:

this->template transit< post<TCallBackType> > ();

Ohhhh yeah!.... Nasssssty.
 
 
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org