ISharedRef

Undocumented in source.

Constructors

this
this(ValueType ptr)
Undocumented in source.
this
this(ValueType ptr, Deleter deleter)
Undocumented in source.
this
this(Alloc alloc, ValueType ptr)
Undocumented in source.
this
this(Alloc alloc, ValueType ptr, Deleter deleter)
Undocumented in source.
this
this(WEAK wptr)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Alias This

data

Members

Aliases

Alloc
alias Alloc = typeof(Allocator.instance)
Undocumented in source.
Alloc
alias Alloc = Allocator
Undocumented in source.
Data
alias Data = ExternalRefCountData!(Alloc, isShared)
Undocumented in source.
DataWithDeleter
alias DataWithDeleter = ExternalRefCountDataWithDeleter!(Alloc, ValueType, isShared)
Undocumented in source.
Deleter
alias Deleter = void function(ref Alloc, ValueType)
Undocumented in source.
TSharedRef
alias TSharedRef = ISharedRef!(Allocator, T, Shared)
Undocumented in source.
TWeakRef
alias TWeakRef = IWeakRef!(Allocator, T, Shared)
Undocumented in source.
ValueType
alias ValueType = Pointer!T
Undocumented in source.

Functions

castTo
auto castTo()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(THIS rv)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(WEAK rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
T opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
rest
void rest()
Undocumented in source. Be warned that the author may not have intended to support it.
rest
void rest(ValueType ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
rest
void rest(ValueType ptr, Deleter deleter)
Undocumented in source. Be warned that the author may not have intended to support it.
rest
void rest(Alloc alloc, ValueType ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
rest
void rest(Alloc alloc, ValueType ptr, Deleter deleter)
Undocumented in source. Be warned that the author may not have intended to support it.
swap
void swap(TSharedRef tref)
Undocumented in source. Be warned that the author may not have intended to support it.
toWeakRef
TWeakRef toWeakRef()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

isSaticAlloc
enum isSaticAlloc;
Undocumented in source.
isShared
enum isShared;
Undocumented in source.
isSharedRef
enum isSharedRef;
Undocumented in source.

Properties

allocator
Alloc allocator [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
data
ValueType data [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isNull
bool isNull [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta