streamRange

Helper designed to construct a new StreamRange allocated on the C heap.

streamRange
(
T
ST
)
(
ST st
)
if (
is(ST : Stream)
)

Parameters

ST

The Stream descendant for which the range will be created.

T

The range element type.

Return Value

Type: auto

A pointer to a StreamRange that has to be free manually with destruct().

Meta