2005-07-23 smart_pointer programming shared_ptr だと、shared_ptr でスコープ管理されているオブジェクトのメソッドから自分自身の shared_ptr を提供できないので、そういうときは intrusive_ptr を利用するとよい。