template <typename Result> class Imp {
public:
template <class Func,typename ...Args> int call(Func f, Args... args) {
return 0;
}
};
int f(double a, double b) {return (int)a+b;}
int main() {
Imp<int> a;
a.call(f, 1., 1.); //!
}
dGVtcGxhdGUgPHR5cGVuYW1lIFJlc3VsdD4gY2xhc3MgSW1wIHsKcHVibGljOgogICAgdGVtcGxhdGUgPGNsYXNzIEZ1bmMsdHlwZW5hbWUgLi4uQXJncz4gaW50IGNhbGwoRnVuYyBmLCBBcmdzLi4uIGFyZ3MpIHsKICAgICAgICByZXR1cm4gMDsKICAgIH0KfTsKaW50IGYoZG91YmxlIGEsIGRvdWJsZSBiKSB7cmV0dXJuIChpbnQpYStiO30KaW50IG1haW4oKSB7CiAgICBJbXA8aW50PiBhOwogICAgYS5jYWxsKGYsIDEuLCAxLik7IC8vIQp9Cg==