title: What does "const" mean (in context) at the end of a function definition?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4059932/what-is-the-meaning-of-a-const-at-end-of-a-member-function">What is the meaning of a const at end of a member function?</a>  </p>
  </blockquote>
  
  
  
  <p>If my class definition is as follows:</p>
  
  <pre><code>type CLASS::FUNCTION(int, const char*) const
  </code></pre>
  
  <p>What does the last const after the closing bracket mean, and how do I apply it to the function:</p>
  
  <pre><code>type CLASS::FUNCTION(int var1, const char* var2) {
  
  }
  </code></pre>