Messages in this thread | | | Date | Sat, 29 Mar 2008 10:54:41 -0700 | From | "H. Peter Anvin" <> | Subject | Re: Comma at end of enum lists |
| |
Al Viro wrote: > > when you know there won't any additions past the last line (for that matter, > ending it with > Baz, > Sentry_foo, > Max_foo = Sentry_foo - 1 > }; is also an option, in which case the end of enum will never be touched > at all). >
Yes, that's a very important exception. Don't put the comma in if you want the set to be actively closed.
-hpa
| |