In our application, we are going to (finally ..) switch from source pointers to using C ++ 11 templates smart_ptr.
We have a random error in our application with (non-C ++) objects still storing references to our C ++ objects, causing crashes in the past when accessing then-dealloc'd objects.
Not sure if this is a stupid question, but is there a way to use objects smart_ptrand 'dump' objects that still hold C ++ objects when none of them contain a link to one of them anymore?
I suggest that I ask to describe all the ownerssmart_ptr<MyClass> at a particular point in time.
Any suggestions that were highly appreciated!
source
share