title: Base enum class inheritance
body: <p>Is there a pattern where I can inherit enum from another enum in C++??</p>
  
  <p>Something like that:</p>
  
  <pre><code>enum eBase 
  {
     one=1, two, three
  };
  
  
  enum eDerived: public eBase
  {
     four=4, five, six
  };
  </code></pre>