shouldn't this code at least trigger a warning?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 29 08:32:30 PDT 2015


On 04/29/2015 07:57 AM, H. S. Teoh via Digitalmars-d-learn wrote:

> Switch statements in D allow all sorts of abominations, if only you
> would try it. I think it was originally designed to support a particular
> loop idiom (sorry I forgot what it was called

   http://en.wikipedia.org/wiki/Duff%27s_device

Ali



More information about the Digitalmars-d-learn mailing list