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