title: c++ constant function declaration variants?
body: <p>Are all of the below declarations the same? If so, what is the standard way to declare a constant function?</p>
  
  <pre><code>const SparseMatrix transpose();
  
  SparseMatrix transpose() const;
  
  const SparseMatrix transpose() const;
  </code></pre>