static foreach (Was: Re: static switch)

bearophile bearophileHUGS at lycos.com
Thu Mar 6 14:08:19 PST 2014


Timon Gehr:

> foreach and static foreach should behave the same in all shared 
> aspects. (Unfortunately, this statement is somewhat messy to 
> formalize.)

I am for deprecating unpacking of TypeTuples in foreach. 
Introducing such unpacking in static foreach just to deprecate it 
(hopefully a little) later is not wise.

Bye,
bearophile


More information about the Digitalmars-d mailing list