I have a function pointer type imported from another .hpp file. Something like:
typedef void (*PFN_func)(int i);
I want to create a functor of the same type:
std::function<PFN_func>
But this doesn't work. I don't want a solution like
std::function<void(int)>
Because mt function pointer definition is much more complicated