title: Different placement of const keyword in method declarations?
body: <p>There some answers for similar questions on stackoverflow, but all of them are incomplete or without comparison (with different examples). I saw at least 3 possible cases of declarations:</p>
  
  <ol>
  <li><code>const void f();</code></li>
  <li><code>void f() const;</code></li>
  <li><code>const void f() const;</code></li>
  </ol>
  
  <p>What is the difference between them?</p>
  
  <p>The only difference I have found is the following code works with (2) or (3) only:</p>
  
  <pre><code>const foobar fb;
  fb.foo();
  </code></pre>