[OT] The Usual Arithmetic Confusions

Walter Bright newshound2 at digitalmars.com
Thu Feb 17 23:23:40 UTC 2022


On 2/17/2022 2:51 PM, bachmeier wrote:
> But that would mean you have to give up D's arrays. All I did was feed the 
> length of an array to std.range.iota.

Cast it to ptrdiff_t and you'll be fine.


More information about the Digitalmars-d mailing list