fork(1) download
  1. template <typename Result> class Imp {
  2. public:
  3. template <class Func,typename ...Args> int call(Func f, Args... args) {
  4. return 0;
  5. }
  6. };
  7. int f(double a, double b) {return (int)a+b;}
  8. int main() {
  9. Imp<int> a;
  10. a.call(f, 1., 1.); //!
  11. }
  12.  
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty