On Mon, Feb 08, 2016 at 01:41:03PM -0800, Mike Stump wrote: > On Feb 6, 2016, at 2:37 PM, Trevor Saunders <tbsau...@tbsaunde.org> wrote: > > it is allowed if you do something like > > > > enum X : int; > > > > but it seems really pointless to support setting the size of something > > when the language gives you a standard way to do that. > > Yes, it is, as long as you never use header files, and multiple languages. > :-) Unfortunately, those are vended features of C and C++. Once you have a > C project that you want to be able to be used from C++, it then is handy to > be able to do this.
Sure, but how many people use the mode attribute on enums? Probably more than one, and I guess it doesn't really hurt that much so whatever. and yes I admitt I'm a little biased against this attribute in the first place ;) Trev >