If i define a class like this
template <class T> class A { };
how can i use the argument when T = int(int)?
This code I have never see before, where can i find some webpage about it?
If i define a class like this
template <class T> class A { };
how can i use the argument when T = int(int)?
This code I have never see before, where can i find some webpage about it?
int(int) is a function type. It's the type of a function that takes one int and returns an int.