title: How to const declare the this pointer sent as parameter
body: <p>I want to const declare the this pointer received as an argument. </p>
  
  <pre><code>static void Class::func(const OtherClass *otherClass) 
  { 
     // use otherClass pointer to read, but not write to it.
  }
  </code></pre>
  
  <p>It is being called like this:</p>
  
  <pre><code>void OtherClass::func()
  {
    Class::func(this);
  }
  </code></pre>
  
  <p>This does not compile nad if i dont const declare the OtherClass pointer, I can change it.</p>
  
  <p>Thanks.</p>