switch()

Manu turkeyman at gmail.com
Sun Feb 16 08:17:48 PST 2014


On 17 February 2014 02:08, Chris Cain <clcain at uncg.edu> wrote:

> ** I'm also surprised "default" is necessary. I thought it was only
> necessary in final switches.
>

final switch requires you to implement every possible case, so it makes no
sense in that case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140217/ae442f4a/attachment-0001.html>


More information about the Digitalmars-d mailing list