The OpenD Programming Language

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) )

Destructor

~this
~this()
opUnary
alias opUnary(string op : "*") = _get_value

Alias This

_get_value

ditto

Members

Aliases

Functions

_get_value
inout(T) _get_value()
_get_value
inout(T) _get_value()
opAssign
ref opAssign(typeof(null) )
opAssign
ref opAssign(typeof(this) rhs)
opAssign
ref opAssign(ThisTemplate!Q rhs)
opCmp
auto 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

_value
Unqual!T _value;

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