Do you like bounded integrals?

Nordlöw via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 24 01:56:36 PDT 2016


On Wednesday, 24 August 2016 at 08:39:28 UTC, Nordlöw wrote:
> Such an implementation is `IndexedBy` at
>
> https://github.com/nordlow/phobos-next/blob/master/src/typecons_ex.d#L167

Correction: Index type here is actually a Ada-style modulo type 
which does wrap-around instead of truncation.


More information about the Digitalmars-d mailing list