/in/foo.cc:4:24: error: expected ',' or '...' before '.' token
4 | inline void rd(T &x,U &..args){
| ^
/in/foo.cc:4:30: error: parameter packs not expanded with '...':
4 | inline void rd(T &x,U &..args){
| ^
/in/foo.cc:4:30: note: 'U'
/in/foo.cc: In function 'void rd(T&, <type error>)':
/in/foo.cc:9:17: error: 'args' was not declared in this scope
9 | x*=f;rd(args...);
| ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:145:11: error: no matching function for call to 'rd(int&)'
145 | rd(n);
| ~~^~~
/in/foo.cc:4:13: note: candidate: 'template<class T, class ... U> void rd(T&, <type error>)'
4 | inline void rd(T &x,U &..args){
| ^~
/in/foo.cc:4:13: note: template argument deduction/substitution failed:
/in/foo.cc:145:11: note: candidate expects 2 arguments, 1 provided
145 | rd(n);
| ~~^~~
/in/foo.cc:2:13: note: candidate: 'void rd()'
2 | inline void rd(){}
| ^~
/in/foo.cc:2:13: note: candidate expects 0 arguments, 1 provided
/in/foo.cc:146:32: error: no matching function for call to 'rd(int&, int&)'
146 | for(int i=1;i<=n;i++)rd(p[i].x,p[i].y),ndmp[p[i]]=1;
| ~~^~~~~~~~~~~~~~~
/in/foo.cc:4:13: note: candidate: 'template<class T, class ... U> void rd(T&, <type error>)'
4 | inline void rd(T &x,U &..args){
| ^~
/in/foo.cc:4:13: note: template argument deduction/substitution failed:
/in/foo.cc:2:13: note: candidate: 'void rd()'
2 | inline void rd(){}
| ^~
/in/foo.cc:2:13: note: candidate expects 0 arguments, 2 provided
/in/foo.cc:154:11: error: no matching function for call to 'rd(int&)'
154 | rd(m);
| ~~^~~
/in/foo.cc:4:13: note: candidate: 'template<class T, class ... U> void rd(T&, <type error>)'
4 | inline void rd(T &x,U &..args){
| ^~
/in/foo.cc:4:13: note: template argument deduction/substitution failed:
/in/foo.cc:154:11: note: candidate expects 2 arguments, 1 provided
154 | rd(m);
| ~~^~~
/in/foo.cc:2:13: note: candidate: 'void rd()'
2 | inline void rd(){}
| ^~
/in/foo.cc:2:13: note: candidate expects 0 arguments, 1 provided
/in/foo.cc:159:19: error: no matching function for call to 'rd(int&)'
159 | rd(op);
| ~~^~~~
/in/foo.cc:4:13: note: candidate: 'template<class T, class ... U> void rd(T&, <type error>)'
4 | inline void rd(T &x,U &..args){
| ^~
/in/foo.cc:4:13: note: template argument deduction/substitution failed:
/in/foo.cc:159:19: note: candidate expects 2 arguments, 1 provided
159 | rd(op);
| ~~^~~~
/in/foo.cc:2:13: note: candidate: 'void rd()'
2 | inline void rd(){}
| ^~
/in/foo.cc:2:13: note: candidate expects 0 arguments, 1 provided
/in/foo.cc:161:27: error: no matching function for call to 'rd(int&)'
161 | rd(r);
| ~~^~~
/in/foo.cc:4:13: note: candidate: 'template<class T, class ... U> void rd(T&, <type error>)'
4 | inline void rd(T &x,U &..args){
| ^~
/in/foo.cc:4:13: note: template argument deduction/substitution failed:
/in/foo.cc:161:27: note: candidate expects 2 arguments, 1 provided
161 | rd(r);
| ~~^~~
/in/foo.cc:2:13: note: candidate: 'void rd()'
2 | inline void rd(){}
| ^~
/in/foo.cc:2:13: note: candidate expects 0 arguments, 1 provided
/in/foo.cc:162:47: error: no matching function for call to 'rd(int&, int&)'
162 | for(int i=0;i<3;i++)rd(q[i][0],q[i][1]);
| ~~^~~~~~~~~~~~~~~~~
/in/foo.cc:4:13: note: candidate: 'template<class T, class ... U> void rd(T&, <type error>)'
4 | inline void rd(T &x,U &..args){
| ^~
/in/foo.cc:4:13: note: template argument deduction/substitution failed:
/in/foo.cc:2:13: note: candidate: 'void rd()'
2 | inline void rd(){}
| ^~
/in/foo.cc:2:13: note: candidate expects 0 arguments, 2 provided
/in/foo.cc:174:27: error: no matching function for call to 'rd(int&, int&, int&, int&, int&, int&)'
174 | rd(a.x,a.y,b.x,b.y,c.x,c.y);
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:4:13: note: candidate: 'template<class T, class ... U> void rd(T&, <type error>)'
4 | inline void rd(T &x,U &..args){
| ^~
/in/foo.cc:4:13: note: template argument deduction/substitution failed:
/in/foo.cc:2:13: note: candidate: 'void rd()'
2 | inline void rd(){}
| ^~
/in/foo.cc:2:13: note: candidate expects 0 arguments, 6 provided