some

A helper function for constructing Some!T values.

@nogc @safe pure nothrow
inout(Some!T)
some
(
T
)
(
inout(T) value
)
if (
is(T == class) ||
isPointer!T
)

Parameters

value
Type: inout(T)

A value to wrap.

Return Value

Type: inout(Some!T)

The value wrapped in a non-nullable type.

Meta