|
fsm 0.4.1
Header-only C++20 hierarchical table-driven FSM
|
Tag carrying an event as a compile-time value. More...
#include <fsm.hpp>
Public Member Functions | |
| constexpr | event_tag ()=default |
Tag carrying an event as a compile-time value.
Selects the Traits::make_payload overload for the typed dispatch()/post() wrappers: declaring static constexpr Payload make_payload(fsm::event_tag<Ev::Call>, FloorCall) makes machine.dispatch<Ev::Call>(FloorCall{...}, now) well-formed and any other argument type a compile error — event/payload agreement enforced at the call site while rows and guards keep the machine-wide Payload.
|
explicitconstexprdefault |