request switch statement with common block
bearophile
bearophileHUGS at lycos.com
Sat Aug 3 13:38:36 PDT 2013
Regarding the feature proposed here, I think the extra complexity
added doesn't pay enough back.
Walter Bright:
> You could provide supporting evidence by examining every use of
> switch in the dmd, phobos, and druntime source code, and see
> what percentage of those would benefit from your proposal.
Has someone done that regarding the last feature added to D, I
mean the support for this syntax:
enum mysize(T) = T.sizeof;
template Pair(T) = Tuple(T, T);
Bye,
bearophile
More information about the Digitalmars-d
mailing list