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<
I think the best solution in this case would be to use a map:
#include #include class someclass { public: enum Section{START = 0,MID,END}; map Full; // set using Full[START] = "S", etc void ex(){ for(int i=0;i