C++ overloading with one parameter const
<p>Why is following not allowed in <code>C++</code></p>

<pre><code>#include &lt;iostream&gt;

class Sample {
public:
  void Method(char x);
  void Method(char const x);
};

void Sample::Method(char x) {
  char y = x;
}

void Sample::Method(char const x) {
  char y = x;
}

int main() {
  Sample s;
  return 0;
}
</code></pre>
