#include int func(int x, int y) { return x+y; } int main() { typedef std::function Funcp; Funcp funcp = func;
No. A template function is exactly that, a template. It's not a real function. You can point a std::function to a specific instantiation of the template function, e.g. func
func