> I was just talking about ownership and smart pointers.
Sure, I was just clarifying that "references" in the bit I quoted covers specific things and not everything with reference-like behavior.
Sure, I should have been clearer that smart pointers only guarantee not to release things until there are no more SMART POINTER references to them.
As soon as you start mix 'n' matching smart pointers and raw pointers into what they are pointing to, then all bets are off!
Sure, I should have been clearer that smart pointers only guarantee not to release things until there are no more SMART POINTER references to them.
As soon as you start mix 'n' matching smart pointers and raw pointers into what they are pointing to, then all bets are off!