Re: name enum vs static named enum

2020-11-07 Thread Imperatorn via Digitalmars-d-learn

On Saturday, 7 November 2020 at 22:12:12 UTC, Arjan wrote:

What is the usage of `static` in this? :
```
static enum Status
{
NONE,
BUSY,
...
}
```


It's redundant


name enum vs static named enum

2020-11-07 Thread Arjan via Digitalmars-d-learn

What is the usage of `static` in this? :
```
static enum Status
{
NONE,
BUSY,
...
}
```