6. An integral type, some of which have names:enum Color { Red = 0xFF0000, Green = 0x00FF00, Blue = 0x0000FF00, Fred = 0x123456, White = 0xFFFFFF }
That was Andrei's UserId example...On Tue, 08 Apr 2014 15:08:46 -0400, Andrei Alexandrescu <[email protected]> wrote:
3. A discrete set of categorical values, not all of which are named:
enum UserID : ulong { nobody, expired = ulong.max }
-Steve
