some

A helper function for constructing Some!T values.

@safe pure nothrow
inout(Some!T)
some
(
T
)
(
inout(T) value
)

Parameters

value inout(T)

A value to wrap.

Return Value

Type: inout(Some!T)

The value wrapped in a non-nullable type.

Meta