fsm
fsm copied to clipboard
:bookmark_tabs: Simple and lightweight Hierarchical/Finite-State Machine (H-FSM) class (C++11)
Dear author I found unable to pass parameters when using your code. my code: ``` void test(){ int ret = 4; fsm::state s(STATE_ERROR); fsm.set(s(ret)); } fsm.on(STATE_ERROR, 'init') = [&](const fsm::args...
crash
It should crash if the queue std::deque< states::iterator > aborted has more than 2 elements . Your Code is useful , Thank you very much !
Dear author: Today,i am coufused, when i saw the codes。As follows: ` // setup fsm::call &on(const fsm::state &from, const fsm::state &to) { //XXX 这个返回应该是值传递还是什么呢? //XXX 但是这个可是全局变量啊 //XXX 会不会出现重复添加的情况呢? callbacks[bistate(from, to)];...