sargon.array.asforwardrange

This module contains asForwardRange().

Members

Functions

asForwardRange
auto ref asForwardRange(E[] a)

Turn an array into a ForwardRange, useful for unittesting.

testForwardRange
void testForwardRange(R r)

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

Meta

Source

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