Commit c644004
authored
fix: clear the little todos (#58)
* fix: clear the little todos
本轮把 14 卷 TODO 里堆积的一批 quick 级缺口一次清掉,共 9 项,并同步英文翻译。
正确性修复:
- vol4/05-spaceship-operator「坑1」: 旧结论「只写 <=> 不写 == 会编译错误」已过时
(P1185 后 defaulted <=> 隐式生成 ==,g++ 16.1.1 / clang 22.1.6 双编译器实测)。
改写为真实会踩的坑「默认 == 不会反向生成 <=>」,附双编译器实测输出。
- vol9 once_callback: enum Status 补 : uint8_t(与正文一致)、补 <cstdint>/<memory>、
测试计数笔误 11→12(实测源码确为 12 个 TEST_CASE)、裸代码块补语言标记。
内容补充与交叉链接:
- vol2: constexpr-ctor frontmatter 补 C++20、第五节标题「(C++20 预告)」→「(C++20)」;
udl-basics 补「小结」。
- vol5: ch09 两篇加「概念导览」标注;补三条跨卷链接(ch06→卷四协程、
ch08→卷六性能、ch03→卷八中断安全)。
- vol10: 6 处行内代码路径改为可点的 GitHub blob 链接;汇编系列 3 篇加延伸阅读
(卷六 AVX/AVX2、卷七 编译器选项)。
导航与结构整理:
- projects/index 从空壳升级为可用导航页(4 条跨卷/外链 + 近期/规划项目)。
- vol8 嵌入式补 00/01/02 三个目录的 index.md;embedded/index 去掉「规划中」、
纳入四系列入口。
- 卷八删除冗余 06-array-vs-raw-arrays(卷三 01-array 已覆盖);EBO 从
embedded(stm32f1) 迁到 vol4(host),CN/EN 全链路同步。
- vol1 c_tutorials 49 处「// TODO:」统一改为「// 练习:」,消除规划噪音。
治理:
- todo/000、todo/031 勾掉已完成的验收项;修正 091 stale 引用。
英文同步:
- 用 translate.py(glm-4.6) 同步本轮改动文件的英文镜像,并重译修复 ch07
被污染成广告内容的英文镜像. (LLM翻译还是要指日可待啊)
* ci: fix the read time issue of en version1 parent 2165d4a commit c644004
75 files changed
Lines changed: 4058 additions & 5475 deletions
File tree
- code/volumn_codes/vol9/chrome_design/once_callback
- documents
- en
- projects
- vol1-fundamentals/c_tutorials
- advanced_feature
- vol10-open-lecture-notes/cppcon/2025
- 01-concept-based-generic-programming
- 02-some-assembly-required
- vol2-modern-features
- ch02-constexpr
- ch11-user-defined-literals
- vol4-advanced
- vol5-concurrency
- ch03-atomic-memory-model
- ch06-async-io-coroutine
- ch07-actor-channel
- ch08-debug-testing-perf
- ch09-distributed-bridge
- vol8-domains/embedded
- 00-env-setup
- 01-led
- 02-button
- vol9-open-source-project-learn/chrome/01_once_callback
- full
- hands_on
- projects
- vol1-fundamentals/c_tutorials
- advanced_feature
- vol10-open-lecture-notes/cppcon/2025
- 01-concept-based-generic-programming
- 02-some-assembly-required
- vol2-modern-features
- ch02-constexpr
- ch11-user-defined-literals
- vol4-advanced
- vol5-concurrency
- ch03-atomic-memory-model
- ch06-async-io-coroutine
- ch08-debug-testing-perf
- ch09-distributed-bridge
- vol8-domains/embedded
- 00-env-setup
- 01-led
- 02-button
- vol9-open-source-project-learn/chrome/01_once_callback
- full
- hands_on
- todo
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
100 | | - | |
101 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
31 | 29 | | |
32 | | - | |
| 30 | + | |
33 | 31 | | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments