GlobalPtr.GlobalPtr

Undocumented in source.

Constructors

this
this(typeof(null) nil, Forward )

Constructs a GlobalPtr without managed object. Same as GlobalPtr.init

this
this(ElementReferenceType elm, Forward )

Constructs a GlobalPtr without managed object. Same as GlobalPtr.init

this
this(Rhs rhs)

Forward constructor (merge move and copy constructor).

this
this(Rhs rhs, Forward fw)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.
this
this(typeof(this) rhs)
Undocumented in source.

Alias This

get

Members

Aliases

ElementReferenceType
alias ElementReferenceType = ElementReferenceTypeImpl!ElementType

Same as ElementType* or ElementType if is class/interface/slice.

ElementType
alias ElementType = _Type

Type of element managed by RcPtr.

Functions

opAssign
void opAssign(typeof(null) nil)
void opAssign(ElementReferenceType elm)

Assign.

opAssign
void opAssign(Rhs desired)

Shares ownership of the object managed by rhs.

opCast
bool opCast()

Checks if this stores a non-null pointer, i.e. whether this != null.

opCast
To opCast()

Support for quelifier cast.

opCmp
sizediff_t opCmp(typeof(null) nil)
sizediff_t opCmp(Elm elm)
sizediff_t opCmp(Rhs rhs)

Operators <, <=, >, >= for RcPtr.

opEquals
bool opEquals(typeof(null) nil)
bool opEquals(Rhs rhs)
bool opEquals(Elm elm)

Operator == and != . Compare pointers.

proxySwap
void proxySwap(typeof(this) rhs)

Swap this with rhs

Properties

element
ElementReferenceTypeImpl!(GetElementType!This) element [@property getter]

Get pointer to managed object of ElementType or reference if ElementType is reference type (class or interface) or dynamic array.

get
inout(ElementType) get [@property getter]
inout(void) get [@property getter]

Get reference to managed object of ElementType or value if ElementType is reference type (class or interface) or dynamic array.

ptr
ElementPointerTypeImpl!(GetElementType!This) ptr [@property getter]

Get pointer to managed object of ElementType or reference if ElementType is reference type (class or interface) or pointer to first dynamic array element.

Templates

opUnary
template opUnary(string op : "*")

Operator *, same as method 'get'.

Meta