0

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?

Kerrek SB
  • 464,522
  • 92
  • 875
  • 1,084
user1400047
  • 247
  • 2
  • 10

1 Answers1

4

int(int) is a function type. It's the type of a function that takes one int and returns an int.

Kerrek SB
  • 464,522
  • 92
  • 875
  • 1,084