Deprecate case-variables

12345swordy alexanderheistermann at gmail.com
Mon May 15 14:34:45 UTC 2023


On Monday, 15 May 2023 at 14:20:21 UTC, 12345swordy wrote:
> On Sunday, 14 May 2023 at 23:11:25 UTC, Walter Bright wrote:
>> [...]
>
> Are there better implementation of this in other languages?
>
> -Alex

Found it, it is called case_guard.
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/statements#1383-the-switch-statement

-Alex


More information about the Digitalmars-d mailing list