title: Const Methods that Return References
body: <pre><code>class Foo
  {
      int Bar;
  
      public:
  
      int&amp; GetBar() const
      {
          return Bar;
      }
  }
  </code></pre>
  
  <p>Is it okay that <code>GetBar</code> is a <code>const</code> method?  It's not actually changing anything, but it's providing the "outside world" with a means of changing it.</p>