What I\'d like to do is something like this:
template DataType myFunc(DataType in) { ... } typedef myFunc myFunc_i; myFunc
Use decltype:
decltype
template DataType myFunc(DataType in) { ... } using myFunc_i = decltype(myFunc(0)); myFunc_i(37);