3 ms·
You're right, I'll rephrase: I agree with Blows point on it so far. But I am pretty biased, I loved reference counting, and ARC just made it more awesome. I wa
by seivan 11y ago
You're right, I'll rephrase: I agree with Blows point on it so far.
But I am pretty biased, I loved reference counting, and ARC just made it more awesome.
I want ownership, I point strongly. I don't care about ownership, I'll have a weak ref and that's it.
- RotsiserMho 11y agoYou just described std::shared_ptr and std::weak_ptr. I recommend doing some more reading on the subject.
- seivan 11y agoThanks, I will! But it doesn't change what Blow said, and what I agreed with. It becomes ugly and takes more space than I need to. My class becomes weak_ptr and what I want to use becomes the template. You should also look into his talk about c++ and its weaknesses.