当前分类:unique-ptr

c++ - Lippman 的 C++ Primer 中的shared_ptr 和 unique_ptr 构造函数

c++11 - std::unique_ptr 的唯一性

multithreading - 无法将 std::vector<std::unique_ptr<>> 传递给 std::thread

c++ - PIMPL:导出具有单个 STL 成员的类 (std::unique_ptr)

c++ - 返回对通过其接口(interface)指向的对象的引用

c++ - 在基本构造函数中初始化唯一指针的标准容器

c++ - 使用迭代器访问 vector<std::unique_ptr<T>> 的元素?

c++ - 我如何 move std::unique_ptr 作为构造函数参数?

c++ - 通过引用线程函数传递 unique_ptr 的托管对象

c++ - 在循环中线程化 unique_ptr

c++ - 在类<std::unique_ptr<B>> 中强制模板函数为 T=B*

c++ - 将 boost::visitor 与 unique_ptr 的 boost::variant 结合使用

C++ 使用已删除函数 std::unique_ptr 与基类

c++ - 将所有权从 unique_ptr<T,void(*)(T*)> 转移到 unique_ptr<const T,void(*)(const T*)>

c++ - 使用默认值初始化 unique_ptr 的 vector (nullptr?)

c++ - unique_ptr 编译错误

c++11 - 如何使用 std :unique_ptr? 删除包含结构的向量

c++ - 创建 move 构造对象的 vector

c++ - 使用shared_ptr而不是unique_ptr作为类成员只是为了避免隐式复制构造函数删除是否明智?

C++ 智能指针在 std::make_unique 中丢失

热门标签: