0_0_36587406_22701.cpp: In function 'int main()':
0_0_36587406_22701.cpp:195:21: error: no matching function for call to 'In(int&, int&, char*)'
while(In(n,q,s+1),n!=-1)
^
0_0_36587406_22701.cpp:195:21: note: candidates are:
0_0_36587406_22701.cpp:66:10: note: template<class T> void IO::In(T*, int)
void In(T *a, const int n) { for (int i = 0; i < n; ++i)In(*(a + i)); }
^
0_0_36587406_22701.cpp:66:10: note: template argument deduction/substitution failed:
0_0_36587406_22701.cpp:195:21: note: mismatched types 'T*' and 'int'
while(In(n,q,s+1),n!=-1)
^
0_0_36587406_22701.cpp:62:10: note: void IO::In(T&, Args& ...) [with T = int; Args = {int, char*}]
void In(T &x, Args &...args) { In(x), In(args...); }
^
0_0_36587406_22701.cpp:62:10: note: no known conversion for argument 3 from 'char*' to 'char*&'
0_0_36587406_22701.cpp:58:10: note: template<class T> void IO::In(T&)
void In(T &x) { x = read<T>(); }
^
0_0_36587406_22701.cpp:58:10: note: template argument deduction/substitution failed:
0_0_36587406_22701.cpp:195:21: note: candidate expects 1 argument, 3 provided
while(In(n,q,s+1),n!=-1)
^
0_0_36587406_22701.cpp:54:10: note: void IO::In(double&)
void In(double &x) { x = readDouble(); }
^
0_0_36587406_22701.cpp:54:10: note: candidate expects 1 argument, 3 provided
0_0_36587406_22701.cpp:47:10: note: void IO::In(char*)
void In(char *a) {
^
0_0_36587406_22701.cpp:47:10: note: candidate expects 1 argument, 3 provided
0_0_36587406_22701.cpp:41:10: note: void IO::In(char&)
void In(char &a) {
^
0_0_36587406_22701.cpp:41:10: note: candidate expects 1 argument, 3 provided
|