标签: c++ smart-pointers raii c++-standard-library scoped-ptr
为什么scoped_ptr不是标准库的一部分?将来有什么计划吗?在某些情况下,我更喜欢使用scoped_ptr而不是unique_ptr,因为它不像后者那样是不可移动的。