tinverse / tsm

A Typed Hierarchical State Machine Framework in C++
https://tinverse.github.io/tsm/index.html
MIT License
41 stars 7 forks source link

Accept const bool member functions as guards #11

Closed pmf closed 1 year ago

pmf commented 2 years ago

It would be good if the add() method (for defining transition tables) would accept const bool member functions (currently only accepts non-const).

Might prepare a PR for this if I get to it.

(Off topic: I like this project a lot so far; very intuitive interface!)

dibsonmuad commented 2 years ago

Thanks! I was on vacation (and sick afterward)! Can you look at this and comment? https://github.com/tinverse/tsm/pull/12

dibsonmuad commented 1 year ago

Merged above PR. Closing issue.