CS106L 现代 C++:Standard C++ Programming
本笔记按章节拆分为子页,逐章阅读更快。
斯坦福 CS106L 系统学习笔记,涵盖现代 C++、STL、RAII、模板、移动语义、并发与 C++26 特性。
章节
- 开篇与课程概览
- Lecture 1 (Week 1 - Tuesday): 欢迎与课程概览 (Welcome!)
- Lecture 2 (Week 1 - Thursday): 类型与结构体 (Types & Structs)
- Lecture 3 (Week 2 - Tuesday): 初始化与引用 (Initialization & References)
- Lecture 4 (Week 2 - Thursday): 流 (Streams)
- Lecture 5 (Week 3 - Tuesday): 容器 (Containers)
- Lecture 6 (Week 3 - Thursday): 迭代器与指针 (Iterators & Pointers)
- Lecture 7 (Week 4 - Tuesday): 类 (Classes)
- Lecture 8 (Week 4 - Thursday): 可选:继承练习 (Optional: Inheritance Practice)
- Lecture 9 (Week 5 - Tuesday): 类模板与 const 正确性 (Class Templates & Const Correctness)
- Lecture 10 (Week 5 - Thursday): 函数模板 (Function Templates)
- Lecture 11 (Week 6 - Tuesday): 函数与 Lambda (Functions & Lambdas)
- Lecture 12 (Week 6 - Thursday): 运算符重载 (Operator Overloading)
- Lecture 13 (Week 7 - Tuesday): 特殊成员函数 (Special Member Functions)
- Lecture 14 (Week 7 - Thursday): 移动语义 (Move Semantics)
- Lecture 15 (Week 8 - Tuesday): std::optional 与类型安全 (std::optional & Type Safety)
- Lecture 16 (Week 8 - Thursday): RAII、智能指针与构建项目 (RAII, Smart Pointers & Building C++ Projects)
- Lecture 17 (Week 9 - Tuesday): 可选讲座:C++ 冰山 (Optional Lecture: C++ Iceberg)
- 现代 C++ 核心特性速查表(Modern C++ Cheat Sheet)