fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void f(long& i)
  5. {
  6. cout << "void f(long& i)" << endl;
  7. }
  8.  
  9. void f(const long& i)
  10. {
  11. cout << "void f(long& i)" << endl;
  12. }
  13.  
  14. int main()
  15. {
  16. f(10);
  17. }
Success #stdin #stdout 0s 16064KB
stdin
Standard input is empty
stdout
void f(long& i)