Remove switch case fallthrough

Imperatorn johan_forsberg_86 at hotmail.com
Fri May 14 15:32:01 UTC 2021


On Friday, 14 May 2021 at 08:37:19 UTC, Mike Parker wrote:
> On Friday, 14 May 2021 at 08:24:46 UTC, Paulo Pinto wrote:
> ines.md#es78-dont-rely-on-implicit-fallthrough-in-switch-statements
>>
>> Additionally, since C++17, there is the fallthrough attribute 
>> to be explicit that the C behaviour is actually intended.
>>
>> https://en.cppreference.com/w/cpp/language/attributes/fallthrough
>
> Man that's ugly. I like our `goto case` better.

Lol is this real life? It's starting to look like an alien 
language


More information about the Digitalmars-d mailing list