title: Overloading member methods with typedef aliases as parameters
body: <p>I’m having some trouble overloading methods in C++.</p>
  
  <pre><code>typedef char int8_t;
  class SomeClass{
  public:
  …
  void Method(int8_t paramater);
  void Method(char paramater);
  };
  </code></pre>
  
  <p>Since <code>int8_t</code> is typedef as <code>char</code> they are just aliases, they may refer to the same type in which case overloading won’t work.</p>
  
  <p>I want to make them work at the same time? Can you suggest solution to the same.
  Note: I do not want to add templated method.</p>
  
  <p>Following is the error:</p>
  
  <blockquote>
    <p>Error: Multiple declaration for SomeClass::Method(char)</p>
  </blockquote>