On Saturday, 6 February 2016 at 17:38:30 UTC, rsw0x wrote:
Can't be done with the root class because classes never trigger RAII outside of (deprecated) scope allocations.
Not sure what you mean. The class instance doesn't have to trigger anything?
You "retain(instance)" to increase the refcount and "release(instance)" to decrease refcount or destroy the instance.