Option

Undocumented in source.

Constructors

this
this(inout(T) t)
Undocumented in source.
this
this(inout(U) u)
Undocumented in source.
this
this(inout(T) u)
Undocumented in source.
this
this(inout(U) u)
Undocumented in source.

Members

Aliases

OptionValueType
alias OptionValueType = T
Undocumented in source.

Functions

array
inout(T)[] array()
Undocumented in source. Be warned that the author may not have intended to support it.
getOrElse
const(T) getOrElse(const(U) other)
Undocumented in source. Be warned that the author may not have intended to support it.
getOrElse
T getOrElse(U other)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref const(T)) operation)
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
auto opDispatch(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(const(Option!U) rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
orElse
const(Option!T) orElse(const(Option!U) other)
Undocumented in source. Be warned that the author may not have intended to support it.
orElse
Option!T orElse(Option!U other)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

get
inout(T) get [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isDefined
bool isDefined [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isDefined
bool isDefined [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromRange
Option!T fromRange(R r)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta