testForwardRange

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

void
testForwardRange
(
R
)
(
R r
)
if (
isForwardRange!R
)

Parameters

r R

is a ForwardRange

Examples

testForwardRange(asForwardRange("betty"));

Meta