In m2mresourcebase.h, two function pointer typedefs exist, for use in set_execute_function: execute_callback and execute_callback2. What is the difference...is one deprecated?
Thank you for your question!
As you can see here, the two types are intended as a function pointer within your class scope or outside your class scope. Note that `execute_callback2` is a c style function pointer, while `execute_callback` is a class template function pointer. There is no deprecation at the moment.