sargon.array.asinputrange

This module contains asInputRange().

Members

Functions

asInputRange
auto ref asInputRange(E[] a)

Turn an array into an InputRange, useful for unittesting.

testInputRange
void testInputRange(R r)

Takes an InputRange as input and verifies that it can be iterated following protocol.

Meta

Source

See Source File
$(SARGONSRC src/sargon/_array/_asinputrange.d)