On Sun, Aug 09, 2009 at 06:23:09PM -0400, rgheck wrote: > > /// > enum EndLabelType { > /// > END_LABEL_NO_LABEL, > /// > END_LABEL_BOX, > /// > END_LABEL_FILLED_BOX, > /// > END_LABEL_STATIC, > /// > END_LABEL_ENUM_FIRST = END_LABEL_NO_LABEL, > /// > END_LABEL_ENUM_LAST = END_LABEL_STATIC > }; > > What's the point of the last two?
Probably to use it in some iteration: for (EndLabelType type = END_LABEL_ENUM_FIRST; type <= END_LABEL_ENUM_LAST; type = EndLabelType(type + 1)) ... or such. Andre'