I have this typedef function pointer plot:
typedef void(*plot)();
How can I pass a generic argument to it (Something like this):
template<typename T>
typedef void(*plot)(T);
And then, how can I pass N number of generic arguments to it?
template<typename T>
typedef void(*plot)(T ...);
In C++11, you can do something like this
And for the second case,