I have a piece of code pretty similar to this:
class someclass { public: enum Section{START,MID,END}; vector Full; void ex(){ for(int i=0;i<
In a situation like this you could be tricky and cast your chars.
enum Section{ START = (int)'S', MID = (int)'M', END = (int)'E' }; ... inline char getChar(Section section) { return (char)section; }