You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoking the function sml::aux::get_type_name<TAction>() it does not return the name of the lambda function for the action. Instead it returns a string formatted something like action::<lambda(my_type)>. Is there really no way to get the actual name of the lambda function in state machine logger?
The text was updated successfully, but these errors were encountered:
Perhaps the simplest thing we can do is to use std::source_location::function_name in C++20.
Look at SO answer and cppreference
But SML for C++14.
But everything is simpler. To have a name, you need to use not a lambda, but a real function.
I also encountered this in the Plant UML Integration example.
Instead this
When invoking the function
sml::aux::get_type_name<TAction>()
it does not return the name of the lambda function for the action. Instead it returns a string formatted something like action::<lambda(my_type)>. Is there really no way to get the actual name of the lambda function in state machine logger?The text was updated successfully, but these errors were encountered: