fork(1) download
  1. #include <functional>
  2.  
  3. typedef std::function<void(int)> TF1;
  4.  
  5. typedef void(FooFn)(int);
  6.  
  7. typedef std::function<FooFn> TF2;
  8.  
  9. int main() {
  10. TF1 tf1;
  11. TF1 tf2;
  12. return 0;
  13. }
Success #stdin #stdout 0s 4532KB
stdin
Standard input is empty
stdout
Standard output is empty