Just wow!

Macros all over, just to make an FSM?

Just use Khris Jusiaks [boost::ext].SML already ( https://boost-ext.github.io/sml/index.html )

#StateMachines #embedded #CPP

https://www.embeddedrelated.com/showarticle/1645.php

Introduction - [Boost::ext].SML