mixedRcCode

A string that can be mixed-in a class declaration to implement AtomicRefCounted. The RefCounted methods (non-shared) are implemented without atomicity. The AtomicRefCounted methods (shared) are implemented atomically.

enum mixedRcCode = nonSharedNonAtomicMethods ~ sharedAtomicMethods ~ q{ private size_t _refCount=0; };

Meta