RefCounted

Counts references to the origin RefCounted and only releases if all references have also destructed.

Constructors

this
this(P ptr)
Undocumented in source.
this
this(P ptr)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Alias This

ptr

Members

Functions

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

Releases/frees this manager. Implementation defined.

Variables

pref
shared(Atomic!(ptrdiff_t))* pref;
Undocumented in source.
ptr
T* ptr;
Undocumented in source.
refs
Atomic!ptrdiff_t refs;
Undocumented in source.

Meta