探索技术边界,记录成长轨迹,分享学习心得。

20.介绍一下const
详解C++中const关键字的各种用法、特性和最佳实践
Cover Image of the Post
查看详情
文章
21.引用和指针的区别
详解C++中引用和指针的定义、区别、使用场景和最佳实践
Cover Image of the Post
查看详情
文章
22.C++新特性概览
详细介绍C++语言的新特性,包括C++11、C++14、C++17、C++20等版本的重要更新
Cover Image of the Post
查看详情
文章
23.类型转换
详解C++中的四种类型转换机制:const_cast、static_cast、dynamic_cast和reinterpret_cast
Cover Image of the Post
查看详情
文章
24.RAII基于什么实现的(生命周期、作用域、构造析构)
详解C++ RAII机制的实现基础:生命周期、作用域、构造析构
Cover Image of the Post
查看详情
文章
25.手撕:Unique_ptr,控制权转移(移动语义)手撕:类继承,堆栈上分别代码实现多态
详解C++智能指针和多态实现:手撕Unique_ptr、移动语义、类继承和堆栈上的多态实现
Cover Image of the Post
查看详情
文章
26.unique_ptr和shared_ptr区别
详解C++智能指针unique_ptr和shared_ptr的区别、使用场景和最佳实践
Cover Image of the Post
查看详情
文章
27.右值引用
详解C++右值引用和移动语义特性,包括定义、语法、编译器实现及核心应用
Cover Image of the Post
查看详情
文章

目录