On 4/18/2014 1:58 PM, Steven Schveighoffer wrote:
This isn't correct. Only structs cannot have internal references. Objects don't move or copy so easily.
Objects can't have internal references either, for the same reason.
Not only that, but internal pointers would not prevent a moving GC.
They would just make it much more costly, as one would have to detect them at runtime.
Note, there are much more practical reasons to enable reference counting -- interoperating natively with Objective-C and iOS/MacOS.
Right, but that isn't pervasive ARC.