Because I was bored: You can use typedefs if you typedef some function pointers:
Code:#include <iostream> #include <sstream> #include <string> using namespace std; template <int A> string someFunc(double b) { ostringstream oss; oss << "Int a = " << A << " but b = "<<b; return oss.str(); } typedef string (*someFuncPtr)(double); someFuncPtr Bob = someFunc<5>, Bill = someFunc<-3>; int main() { cout << Bob(10.328) << '\n' << Bill(30.4) << endl; }