title: C++ typedef enum and just enum
body: <p>What exactly is the difference between:</p>
  
  <pre><code>typedef enum {
    something1,
    something2,
    .....
    somethingN
  } myEnum;
  </code></pre>
  
  <p>end just </p>
  
  <pre><code>enum myEnum{
    something1,
    something2,
    .....
    somethingN
  };
  </code></pre>
  
  <p>I know in first case I have typedefed unnamed enum, of course, just wonder which approach is better and why?</p>