Ranges longer than size_t.max

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Dec 29 13:02:04 PST 2012


On 12/29/12 3:38 PM, Peter Alexander wrote:
> How about, have .length, and allow it to dangerously overflow, but also
> provide .bigLength, which returns a BigInt for when people need it?

I'd think you convinced yourself it's a bad idea while writing it. I did 
the same :o).

Andrei


More information about the Digitalmars-d mailing list