I want to be able to do the equivalent of this:
template <class T>
void foo(int i=42) {
// ... do stuff and use T for something ...
}
using ifoo= foo<int>; // <-- This is the part I am looking for
int main() {
ifoo();
}
Is there any way to do something like this?