Boost或std::tr1的智能指针share_ptr有没有释放所有权的函数?类似于auto_ptr的release函数一样?在以前auto_ptr可以用release,现在share_ptr不知怎么办了。后来发现unique_ptr可以,和以前的auto_ptr一样,就是auto_ptr的修正 查看完整描述