mir_rcptr

Thread safe reference counting array.

This implementation supports class and struct (alias this) polymorphism.

__xdtor if any is used to destruct objects.

The implementation never adds roots into the GC.

Constructors

this
this(typeof(null) )
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.

Destructor

~this
~this()

Alias This

_get_value

ditto

Members

Aliases

ThisTemplate
alias ThisTemplate = .mir_rcptr
Undocumented in source.
opUnary
alias opUnary(string op : "*") = _get_value

Functions

_get_value
inout(T) _get_value()
_get_value
inout(T) _get_value()
_reset
void _reset()
Undocumented in source. Be warned that the author may not have intended to support it.
_thisPtr
inout(void)* _thisPtr()
Undocumented in source. Be warned that the author may not have intended to support it.
context
mir_rc_context context()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
ref opAssign(typeof(null) )
opAssign
ref opAssign(typeof(this) rhs)
opAssign
ref opAssign(ThisTemplate!Q rhs)
opCmp
sizediff_t opCmp(ThisTemplate!Y rhs)
opEquals
bool opEquals(typeof(null) )
bool opEquals(ThisTemplate!Y rhs)
proxySwap
void proxySwap(typeof(this) rhs)
toHash
size_t toHash()

Mixins

__anonymous
mixin CommonRCImpl

Variables

_context
mir_rc_context* _context;
Undocumented in source.
_value
Unqual!T _value;
_value
T* _value;
Undocumented in source.

Mixed In Members

From mixin CommonRCImpl

lightConst
ThisTemplate!(const T) lightConst()
lightImmutable
ThisTemplate!(immutable T) lightImmutable()
moveToConst
ThisTemplate!(const Unqual!T) moveToConst()
_counter
size_t _counter()
opCast
C opCast()
opCast
C opCast()

Meta