Option.this

Construct this object by wrapping a given value.

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

Parameters

value
Type: inout(U)

The value to create the object with.

Meta