C++ 11有相同的东西boost::intrusive_ptr吗?
boost::intrusive_ptr
我的问题是我的C++代码有一个C风格的界面.接口的两端都可以使用C++,但出于兼容性原因需要公开C接口.我无法使用,std::shared_ptr因为我必须通过两个(或更多)智能指针来管理对象.我无法找到类似的解决方案boost::intrusive_ptr.
std::shared_ptr
c++ boost smart-pointers shared-ptr c++11
boost ×1
c++ ×1
c++11 ×1
shared-ptr ×1
smart-pointers ×1