Wrapper

Wrapper over some data of type T.

Wraps up a value of type T, and aliases itself to it. This object is used wrap any data that is not of reference type (class or interface), in order to be saveable into an object storage. Also thanks to alias value this semantics, in D is possible to do automatic unboxing of values, just like Java does with simple values :P.

Constructors

this
this()
Undocumented in source.
this
this(T value)
Undocumented in source.
this
this(T value)
Undocumented in source.

Alias This

value

Members

Aliases

opEquals
alias opEquals = Object.opEquals
Undocumented in source.

Functions

opCall
auto opCall(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Wrapper!T wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

value
T value [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta