Some.opAssign

Assign another value to this object.

struct Some(T)
@nogc @safe pure nothrow
void
opAssign
(
U
)
()
if (
is(U : T)
)
in { assert (value !is null, "A null value was given to Some."); }
if (
is(T == class) ||
isPointer!T
)

Parameters

value
Type: U

The value to set.

Meta