mir.rc.ptr

Thread-safe reference-counted shared pointers

.

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

Members

Aliases

RCPtr
alias RCPtr = mir_rcptr

Functions

castTo
mir_rcptr!R castTo(mir_rcptr!T context)
mir_rcptr!(const R) castTo(mir_rcptr!T context)
mir_rcptr!(immutable R) castTo(mir_rcptr!T context)

Construct a shared pointer of a required type with a current context. Provides polymorphism abilities for classes and structures with alias this syntax.

createRCWithContext
createRCWithContext(R value, mir_rcptr!F context)
shareMember
auto shareMember(mir_rcptr!T context, Args args)

Static variables

allocationError
auto allocationError;
Undocumented in source.
allocationExcMsg
auto allocationExcMsg;
Undocumented in source.
getExcMsg
auto getExcMsg;
Undocumented in source.

Structs

_test_unpure_system_dest_s__
struct _test_unpure_system_dest_s__
Undocumented in source.
mir_rcptr
struct mir_rcptr(T)

Thread safe reference counting array.

Templates

createRC
template createRC(T)

Meta