title: Is there an easy way to use a base class's variables?
body: <p>When you have a derived class, is there an simpler way to refer to a variable from a method other than:</p>
  
  <pre><code>BaseClass::variable
  </code></pre>
  
  <p><strong>EDIT</strong>
  <br>As it so happens, I found a page that explained this issue using functions instead:
  <a href="http://www.parashift.com/c++-faq-lite/templates.html#faq-35.19" rel="nofollow noreferrer">Template-Derived-Classes Errors</a>. Apparently it makes a difference when using templates classes.</p>