Subject: Re: [boost] [msm] deferral stack overfolw
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2011-12-08 14:18:49
>I have tried in the little example the change you have suggested :
> struct LogDefer
> typedef int deferring_action;
> template <class EVT,class FSM,class SourceState,class TargetState>
> void operator()(EVT const& evt,FSM& fsm,SourceState&
>src_,TargetState& ) const
> std::cout << fsm.m_SmName << " DEFERED: " << evt.getName() <<
>but it did not help for me .... ?. :(. Sill stack overflow.
are you sure you didn't change anything else? I took your example and
changed this line and it works fine (with trunk version, admittedly).
I attach the code again. Tested with VC10.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk