atomicRcCode

A string that can be mixed-in a class declaration to implement AtomicRefCounted. Both shared and non-shared methods are implemented atomically. This is useful for things such as a parallel loop

enum atomicRcCode = nonSharedAtomicMethods ~ sharedAtomicMethods ~ q{ private shared size_t _refCount=0; };

Meta