Switch and break

bearophile bearophileHUGS at lycos.com
Thu Jan 19 14:34:16 PST 2012


Timon Gehr:

> Compile with -w enabled and the compiler will complain about implicit 
> fall-through.

And eventually this specific -w behavior will be enforced even without -w, becoming part of D2, just like the use of "override".

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list