Summary: Allow RandomCover to sample both w/ and w/o replacement.
Currently, RandomCover only allows sampling without replacement. I have
created a modified version, located at
that also allows sampling a random access range with replacement as an infinite
range. This is done by template overloading on w/ or w/o replacement.
This version of RandomCover also fixes bug 2865 and, in the w/o replacement
version, replaces the bool with a BitArray for better space efficiency.