title: Bind a char to an enum type
body: <p>I have a piece of code pretty similar to this:</p>
  
  <pre><code>class someclass
  {
  public:
  enum Section{START,MID,END};
  vector&lt;Section&gt; Full;
  void ex(){
      for(int i=0;i&lt;Full.size();i++)
      {
          switch (Full[i])
          {
          case START :
                    cout&lt;&lt;"S";
                    break;
          case MID :
                    cout&lt;&lt;"M";
                    break;
          case END:
              cout&lt;&lt;"E";
              break;
          }
      }
      }
  };
  </code></pre>
  
  <p>Now imagine I have much more enum types and their names are longer....
  well what i get is not a very good looking code and i was wondering if it possible to bind a specific char to an enum type and maybe do something like this:</p>
  
  <pre><code>for(int i=0;i&lt;Full.size();i++)
      {
          cout&lt;(Full[i]).MyChar();
      }
  </code></pre>
  
  <p>Or any other method that could make this code "prettier".
  Is this possible?</p>