fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <vector>
  4.  
  5. void f(const std::string& x)
  6. {
  7. std::cout << "void f(const std::string& x)";
  8. }
  9.  
  10. void f(std::vector<int>* x)
  11. {
  12. std::cout << "void f(std::vector<int>* x)";
  13. }
  14.  
  15. int main()
  16. {
  17. f({});
  18. }
  19.  
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
void f(std::vector<int>* x)