In thefirstpart of this post series, I covered owning and non-owning references undermanual memory management, and the purpose of non-owning (weak) references in thatmemory model. Following the same use cases, we can now clearly show the purposeof their counterparts under the automatic reference counting memory model.Automatic reference countingAutomatic reference counting is a memory
Weiterlesen...