GenerationalPtr.GenerationalPtr

Undocumented in source.

Members

Aliases

ControlType
alias ControlType = ControlBlock!void

Type of control block.

DestructorType
alias DestructorType = _DestructorType

Type of destructor (void function(void*)@attributes).

ElementReferenceType
alias ElementReferenceType = ElementReferenceTypeImpl!ElementType

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

ElementType
alias ElementType = _Type

Type of element managed by SharedPtr.

OwningType
alias OwningType = GenerationalPtr!(_Type, _DestructorType, false)

Type of non weak ptr.

WeakType
alias WeakType = GenerationalPtr!(_Type, _DestructorType, true)

Weak pointer

WeakType
alias WeakType = void
Undocumented in source.
isLockFree
alias isLockFree = _isLockFree

true if shared SharedPtr has lock free operations store, load, exchange, compareExchange, otherwise 'false'

isWeak
alias isWeak = _weakPtr

true if SharedPtr is weak ptr.

Functions

_move
auto _move()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta