Open
Description
Hello,
With the current definition of the func handler:
typedef bool (*handler_t)(T opaque); /* task handler func signature */
It's impossible to use std::bind
when you want the timer to run a callback that is a member of the class.
by changing the definition to use std::function
like
typedef std::function<bool(T opaque)> handler_t;
It should let the user use any type of supported callback and shouldn't break the current working of the library.
Metadata
Metadata
Assignees
Labels
No labels