title: C++ pure virtual const member function
body: <p>How can I declare a pure virtual member function that is also const? Can I do it like this?</p>
  
  <pre><code>virtual void print() = 0 const;
  </code></pre>
  
  <p>or like this?</p>
  
  <pre><code>virtual const void print() = 0;
  </code></pre>