should this work?

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Dec 29 13:37:25 PST 2006


"BCS" <nothing at pathlink.com> wrote in message 
news:en4131$29h2$1 at digitaldaemon.com...
> It doesn't because (I assume), it isn't allowed to in C/C++. However that 
> is because C has only one type for switches, integer. D doesn't have this 
> restriction, array types are just fine. So why not (sanity aside*) permit 
> it?

Ugh, thankfully it doesn't.  That's just plain confusing. 




More information about the Digitalmars-d-learn mailing list