0_0_17250981_4299.cpp: In function 'bool read(T&)':
0_0_17250981_4299.cpp:20:33: error: there are no arguments to 'isdigit' that depend on a template parameter, so a declaration of 'isdigit' must be available [-fpermissive]
while (CH = getc(), !isdigit(CH) && CH != '-')if (CH == 0)return 0;
^
0_0_17250981_4299.cpp:20:33: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_17250981_4299.cpp:22:32: error: there are no arguments to 'isdigit' that depend on a template parameter, so a declaration of 'isdigit' must be available [-fpermissive]
while (CH = getc(), isdigit(CH))x = (x << 3) + (x << 1) + (CH ^ 48);
^
0_0_17250981_4299.cpp: In instantiation of 'bool read(T&) [with T = int]':
0_0_17250981_4299.cpp:36:26: required from here
0_0_17250981_4299.cpp:20:33: error: 'isdigit' was not declared in this scope
while (CH = getc(), !isdigit(CH) && CH != '-')if (CH == 0)return 0;
^
0_0_17250981_4299.cpp:22:32: error: 'isdigit' was not declared in this scope
while (CH = getc(), isdigit(CH))x = (x << 3) + (x << 1) + (CH ^ 48);
^
0_0_17250981_4299.cpp: In instantiation of 'bool read(T&) [with T = long long int]':
0_0_17250981_4299.cpp:39:40: required from here
0_0_17250981_4299.cpp:20:33: error: 'isdigit' was not declared in this scope
while (CH = getc(), !isdigit(CH) && CH != '-')if (CH == 0)return 0;
^
0_0_17250981_4299.cpp:22:32: error: 'isdigit' was not declared in this scope
while (CH = getc(), isdigit(CH))x = (x << 3) + (x << 1) + (CH ^ 48);
^
|