This commit is contained in:
2025-06-09 18:24:28 +03:00
parent 04e9f84315
commit 88e45886b2
2 changed files with 33 additions and 39 deletions

View File

@@ -190,14 +190,14 @@ int main()
// fsmach.dispatchEvent<EVN>();
// using tab_t = fsm::fsm_transition_table_t<std::pair<EV1, ST2>, std::pair<EV3, ST1>>;
using tab_t = fsm::fsm_transition_table_t<std::pair<EV1, ST2>, std::pair<EV3, ST1>>;
// using st_t = tab_t::find_state_by_event_t<EV2>;
using st_t = tab_t::find_state_by_event_t<EV2>;
// int status;
// char* aa = abi::__cxa_demangle(typeid(st_t).name(), NULL, NULL, &status);
// std::cout << "aa = " << aa << "\n";
// free(aa);
int status;
char* aa = abi::__cxa_demangle(typeid(st_t).name(), NULL, NULL, &status);
std::cout << "aa = " << aa << "\n";
free(aa);
return 0;