shared_ptr : dynamic_pointer_castを追加(#124)