`enum x;` - what is it?

Victor Porton porton at narod.ru
Wed Aug 19 14:06:16 UTC 2020


This declaration does compile:

enum x;

But what is it? Is it an equivalent of

enum x { }

?

What in the specification allows this looking a nonsense

enum x;

?


More information about the Digitalmars-d-learn mailing list