Suppose I want to declare an array of functions, and try the following
int (*funcs)(int, int)[10];
But turns out that the following declaration stands for an function returning an array, which does not compile.
How can I declare an array of functions properly?
std::function,std::vector<std::function<int(int, int)>>