目录 1 static关键字 2 C++中四种cast转换(或者说是显式转换) 2.1 static_cast 2.2 const_cast 2.3 reinterpret_cast 2.4 dynamic_cast 3 C++ 中指针和引用的区别 4 堆和栈的区别 4.1.1 堆和栈的理论知识 4.1.2 申请后系统的响应 4.1.3 全局变量和static变量的区别 4.1.4 静态成员与普通成员的区别 5 什么是虚函数,作用是什么 6 内存泄漏和内存溢出的区别 7 手写String类 8 实现智能指针auto_ptr 9 c++中的smart pointer-智能指针 9.1 使用智能指针管理内存资源,RAII 9.2 智能指针的作用 9.2.1 shared_ptr 9.2.2 unique_ptr 9.2.3 weak_ptr 10 关于赋值操作与自我赋值 11 单例模式 赞微海报分享
近期评论