Testing package proposed for Phobos

Joseph Rushton Wakeling via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 10 19:03:24 PST 2015


On 09/02/15 02:41, Walter Bright via Digitalmars-d wrote:
> I propose a std.test.ranges package, which contains templates defining each of
> the range types (InputRange, BiDirectionalRange, etc.). Each accepts an argument
> which is a static array of T, and then implements exactly the range interface
> indicated by its name, nothing more.

Why only a template static array?  Why not allow for an an array wrapper?


More information about the Digitalmars-d mailing list