OptionRange.this

Construct this range by wrapping a given value.

struct OptionRange(T)
@nogc @safe pure nothrow
this
(
U
)
()
if (
is(U : T)
)
if (
is(T == class) ||
isPointer!T
)

Parameters

value
Type: U

The value to create the range with.

Meta