fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. template<class T> void fun(T i)
  5. {
  6. cout<<i<<endl;
  7. }
  8.  
  9. int main()
  10. {
  11. int i=10;
  12. fun<int>(i);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
10