Summary: RandomCover docs wrong:  RandomCover needs a random
                    access range.
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Phobos

>From RandomCover docs:

"Covers a given range r in a random manner, i.e. goes through each
element of r once and only once, just in a random order. r
must be a forward access range with length."

Reading the source code, it's clear that RandomCover really needs random

    ref ElementType!(Range) front()
        return _input[_current];


Reply via email to