title: Is it possible to use goto with switch?
body: <p>It seems it's possible with C#, but I need that with C++ and preferably cross platform.</p>
  
  <p>Basically, I have a switch that sorts stuff on single criteria, and falls back to default processing on everything else.</p>
  
  <p>Say:</p>
  
  <pre><code>switch(color)
  {
  case GREEN:
  case RED:
  case BLUE:
      Paint();
      break;
  case YELLOW:
      if(AlsoHasCriteriaX)
          Paint();
      else
          goto default;
      break;
  default:
      Print("Ugly color, no paint.")
      break;
  }
  </code></pre>