Continuous integral range predicate

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 31 04:33:36 PDT 2016


Is there a function in Phobos to check if a range of integral 
elements is adjacent, that is

     x[i+1] == x[i] + 1

where x[i] is the i:th element of the range.


More information about the Digitalmars-d-learn mailing list