Ranges longer than size_t.max

Era Scarecrow rtcvb32 at yahoo.com
Mon Dec 31 09:43:33 PST 2012


On Saturday, 29 December 2012 at 01:18:37 UTC, Peter Alexander 
wrote:
> 1. Allow ranges to return BigInt for length.
> 2. Allow ranges like this but assert when .length overflows.
> 3. Allow ranges like this and just allow .length to overflow 
> dangerously.
> 4. Do not allow ranges like this.

  Option 5: Incorporate (emulation code?) for cent/ucent, then 
consider that the same as 1 but returning cent rather than BitInt.


More information about the Digitalmars-d mailing list