this pointer as a pointer to objects
<p>suppose employee is a class....print is its non-static member function which prints the value of its private data member x...now i read that if print is a constant function the this pointer passed to it by the compiler is of the type </p>

<blockquote>
  <p>const employee* const   </p>
</blockquote>

<p>and if print is a non-constant function the type of this pointer is   </p>

<blockquote>
  <p>employee* const  </p>
</blockquote>

<p>....now the problem is that i have not declared the object of class employee as constant so how can 'this' point to a constant employee object if print is declared a constant function....</p>
