title: Is the return type of a function part of the mangled name?
body: <p>Suppose I have two functions with the same parameter types and name (not in the same program): </p>
  
  <pre><code>std::string foo(int x) {
    return "hello"; 
  }
  
  int foo(int x) {
    return x;
  }
  </code></pre>
  
  <p>Will they have the same mangled name once compiled? </p>
  
  <p>Is the the return type part of the mangled name in C++? </p>