Option.opAssign

Assign another value to this object.

struct Option(T)
@nogc @safe pure nothrow
void
opAssign
(
U
)
()
if (
is(U : T)
)
if (
is(T == class) ||
isPointer!T
)

Parameters

value
Type: U

The value to set.

Meta