Private enum members

Kagamin spam at here.lot
Mon Oct 26 04:34:23 PDT 2009


Justin Johansson Wrote:

> enum Color {
>   private UNINITIALIZED = -1,
>   RED, GREEN, BLUE
> }

It's syntactical ambiguity, I think. There's no much difference between
private UNINITIALIZED = -1,
RED, GREEN, BLUE

and

private UNINITIALIZED = -1, RED, GREEN, BLUE



More information about the Digitalmars-d mailing list