So I’ve got my basic pointer wisdom down… Pointers of different types, void/raw pointers (actually, I haven’t got this one down, but let’s ignore for now), pointers to parent classes that can then be used to point to polymorphic child classes, new/delete operators, pointer assignment, etc.
But I’ve been avoiding a frightful topic for too long now, and I can’t avoid it anymore, because I’m running into trouble with the concept of ownership.
And that is std::unique_ptr, std::shared_ptr, in JUCE i’ve seen ScopedPointer - all this kind of stuff (I think, all under the umbrella term ‘smart pointers’) - and I think ‘ownership’ has to do with that.
So is there a book, a lecture, some resource I can consume to better understand it all?
Please no cppreference.com links… That’s for C++ in god mode.


