shared_ptr_memory_leak_2
a (shared_ptr<Foo>)
{
維護
new Foo
強計數
(2)
存儲
other (b)
b (shared_ptr<Foo>)
{
維護
new Foo
強計數
(2)
存儲
other (a)