Deprecation: foreach: loop index implicitly converted from size_t to int

Adam D. Ruppe destructionator at gmail.com
Fri Jan 18 13:29:29 UTC 2019


On Friday, 18 January 2019 at 12:27:17 UTC, Michael wrote:
> This, to be, looks like quite the explicit conversion, no?

Yeah, I agree. But the language is silly. I just leave the type 
out of foreach and explicitly cast it inside the body.


More information about the Digitalmars-d-learn mailing list