H. S. Teoh
hsteoh at quickfur.ath.cx
Sat Jan 19 00:08:24 UTC 2019
On Fri, Jan 18, 2019 at 10:53:23PM +0000, Ali via Digitalmars-d-learn wrote:
> Hello. I am having an issue with the code below. the out put after
> compiling is this :
> Deprecation: foreach: loop index implicitly converted from size_t to
> the code is :
> auto available = new int[cast(uint) max - min];
Replace uint with size_t.
> foreach (uint i, ref a; available)
> a = min + i;
> Any help would be highly appreciated.
Study gravitation, it's a field with a lot of potential.
More information about the Digitalmars-d-learn