fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void f() {}
  5. //void f(int arg) {}
  6.  
  7. template<typename F, typename ...Args>
  8. void execution(F func, Args&&... args)
  9. {
  10. func(std::forward<Args>(args)...);
  11. }
  12.  
  13. int main()
  14. {
  15. // execution(f, 1);
  16. execution(f);
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty