www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - name enum vs static named enum

reply Arjan <arjan ask.me.to> writes:
What is the usage of `static` in this? :
```
static enum Status
{
     NONE,
     BUSY,
     ...
}
```
Nov 07 2020
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
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
Nov 07 2020