fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template<class T1>
  5. template<class T2>
  6. void function(T1 *a, T2*b) {}
  7.  
  8. int main() {
  9. // your code goes here
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:6:6: error: too many template-parameter-lists
 void function(T1 *a, T2*b) {}
      ^
stdout
Standard output is empty