The OpenD Programming Language

MaybeNullElement

An option type that propagates null. See: Element.optionSelector

struct MaybeNullElement (
SomeElementType
) {
SomeElementType element;
}

Alias This

element

Allows implicit casting to the wrapped element.

Members

Functions

opDispatch
auto opDispatch(T args)

Forwards to the element, wit a null check inserted that propagates null.

See Also

Meta