【C++】智能指针的原理、常用的智能指针及实现(约901字)
文章目录原理常用的智能指针(1) shared_ptr(2) unique_ptr(3) weak_ptr(4) auto_ptr智能指针shared_ptr代码实现:
【系列面试题】C++之STL模板库(2)(约6177字)
文章目录C++之STL模板库# 21、STL中的allocator、deallocator# 22、STL中hash table扩容发生什么?# 23、常见容器性质总结?# 24、vector的增加删除都是怎么做的?为什么是1.5或者是2倍?# 25、...