Closed devzeb closed 3 months ago
A compile error occurs when trying to use a logger in a statemachine, that uses both a process_queue and a member function pointer as an action.
The error message states: 'get': is not a member of 'boost::ext::sml::v1_1_9::aux::zero_wrapper<T,void>'
'get': is not a member of 'boost::ext::sml::v1_1_9::aux::zero_wrapper<T,void>'
I implemented the member function get() for all specializations of zero_wrapper. Also I added a test for this use case in policies_logging.cpp.
zero_wrapper
policies_logging.cpp
Issue: #603
Good catch, thank you @devzeb
Problem:
603 demonstrates the problem.
A compile error occurs when trying to use a logger in a statemachine, that uses both a process_queue and a member function pointer as an action.
The error message states:
'get': is not a member of 'boost::ext::sml::v1_1_9::aux::zero_wrapper<T,void>'
Solution:
I implemented the member function get() for all specializations of
zero_wrapper
. Also I added a test for this use case inpolicies_logging.cpp
.Issue: #603