title: same enum class, but different definition depending on condition
body: <p>Hi I'm trying to have enum outside of class but inside namespace AND  have them have different definition depending on some condition. How can I achieve this? (C++)</p>
  
  <p>For example something like this </p>
  
  <pre><code>namespace fruit  {
      if (season) {
        enum eAvailfruit
        {
          apple,
          banana,
          cNumFruit
        };
      } else {
        enum eAvailfruit
        {
          watermelon,
          grape,
          peach,
          cNumFruit
        };
      }
  }
  </code></pre>
  
  <p>Is there a way ?? </p>