ControlBlock.ControlBlock

Undocumented in source.

Constructors

this
this(typeof(this) )

Copy constructor is @disabled.

this
this(Vtable* vptr)
Undocumented in source.

Members

Aliases

Shared
alias Shared = _Shared

Signed integer for ref counting of SharedPtr or void if ref counting is not necessary (UniquePtr).

Weak
alias Weak = _Weak

Signed integer for weak ref counting of SharedPtr or void if weak counting is not necessary (UniquePtr or SharedPtr without weak ptr).

Functions

add
void add()
Undocumented in source. Be warned that the author may not have intended to support it.
add_shared_if_exists
bool add_shared_if_exists()
Undocumented in source. Be warned that the author may not have intended to support it.
add_shared_if_exists
bool add_shared_if_exists()
Undocumented in source. Be warned that the author may not have intended to support it.
count
auto count()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize(Vtable* vptr)
Undocumented in source. Be warned that the author may not have intended to support it.
manual_destroy
void manual_destroy(bool dealocate)
Undocumented in source. Be warned that the author may not have intended to support it.
on_zero_shared
void on_zero_shared()
Undocumented in source. Be warned that the author may not have intended to support it.
on_zero_weak
void on_zero_weak()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(typeof(this) )

Assign is @disabled.

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

Structs

Vtable
struct Vtable
Undocumented in source.

Variables

hasSharedCounter
enum bool hasSharedCounter;

true if ControlBlock has ref counting (Shared != void).

hasWeakCounter
enum bool hasWeakCounter;

true if ControlBlock has weak ref counting (Weak != void).

Meta