DIP proposal: Enum parameters

Imperatorn johan_forsberg_86 at hotmail.com
Mon Sep 26 11:53:16 UTC 2022


On Monday, 26 September 2022 at 11:23:58 UTC, Quirin Schroll 
wrote:
> On Saturday, 24 September 2022 at 07:51:32 UTC, Imperatorn 
> wrote:
>> [...]
>
> One biggie against using `static` is that on member functions 
> it would have to go to the back (where it is currently invalid) 
> with a totally different meaning than in front (although it 
> would make the function a static).
>
> [...]

True, and we're used to enum behaving like that, so I guess it's 
preferrable


More information about the Digitalmars-d mailing list