...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user