erikzenker / hsm

Finite state machine library based on the boost hana meta programming library. It follows the principles of the boost msm and boost sml libraries, but tries to reduce own complex meta programming code to a minimum.
MIT License
187 stars 18 forks source link

fix: history initial state #117

Closed erikzenker closed 3 years ago

erikzenker commented 3 years ago

Problem: The history table in the sm class is not initialized properly. Entering a sub state via history does not end up in the sub state initial state but in the parent state initial state

hsm::state<S1> + hsm::event<e2> = hsm::history<SubState>