title: C++ the this pointer is always const
body: <p>For a non const member function of class X, this pointer is of type X* const.</p>
  
  <p>Then, this pointer for a member function is always const.</p>
  
  <p>Then, do we always need to const cast as in:</p>
  
  <pre><code>void foo::p() {                        
        const_cast &lt;int&amp;&gt; (member) = 1;    
  }
  </code></pre>
  
  <p>Am I missing something here ?</p>