When is const_cast used in C++
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2673508/correct-usages-of-const-cast">Correct usage(s) of const_cast&lt;&gt;</a>  </p>
</blockquote>



<p>What is the use of having a <code>const</code> parameter in the function argument and then using <code>const_cast</code> within the function?</p>
