当前分类:auto-ptr

c++ - 尽管类型在析构函数中完全限定,但 std::auto_ptr 崩溃和泄漏

c++ - 使用 auto_ptr<std::ofstream> 对象

c++ - 将 auto_ptr 作为参数传递给构造函数

c++ - 使用 typedef 函数指针的不完整类型

c++ - 将 auto_ptr 设为友元类

c++ - 如何分配返回的 auto_ptr?

c++ - 从 Objective C 使用 C++ : how to allocate/deallocate?

c++ - 提供 "safe"Push() 函数与 auto_ptr 一起使用

c++ - 自动指针问题

c++ - auto_ptr.release() 中的段错误

c++ - 从函数返回 auto_ptr 是否错误/容易出错?

c++ - 在 C++ 中将 auto_ptr 与引用结合起来

C++ auto_ptr在传递给函数时被破坏

c++ - 将 auto_ptr 传递给需要常量引用 auto_ptr 的函数有什么危险?

c++ - 编译但失败的 C++ std::vector<std::auto_ptr<T>> 示例

visual-studio-2008 - VC2008中的自动指针构造函数

c++-cli - 托管C++/CLI类中的auto_ptr或shared_ptr等效项

c++ - 不能毫无问题地从 auto_ptr 继承

c++ - 使用 std::auto_ptr 数据成员是否调用 UB?

c++ - g++ : constructor or operator = not matching? 错误“没有匹配的调用函数”

热门标签: