|
2 | 2 |
|
3 | 3 | 首先,恭喜你阅读完本书 🎉 !笔者希望本书有提起你对现代 C++ 的兴趣。 |
4 | 4 |
|
5 | | -正如本书引言部分提到的,本书只是一本带你快速领略现代 C++ 特性的读物,而非进阶学习实践『黑魔法』的内容。笔者当然也想到了这个需求,只是这样的内容非常艰深,鲜有受众。在此,笔者列出一些能够帮助你在此书基础之上进一步学习现代 C++ 的资料。 |
| 5 | +正如本书引言部分提到的,本书只是一本带你快速领略现代 C++ 11/14/17 新特性的读物,而非进阶学习实践 C++『黑魔法』的内容。笔者当然也想到了这个需求,只是这样的内容非常艰深,鲜有受众。在此,笔者列出一些能够帮助你在此书基础之上进一步学习现代 C++ 的资料,希望能够祝你一臂之力: |
6 | 6 |
|
7 | 7 | - [C++ 参考](http://en.cppreference.com/w) |
8 | 8 | - [CppCon YouTube 频道](https://www.youtube.com/user/CppCon/videos) |
9 | | -- [每位程序员都需要知道的内存知识(英文)](https://people.freebsd.org/~lstewart/articles/cpumemory.pdf) |
10 | | - |
11 | | - |
12 | | - |
13 | | -需要支持以下内容: |
14 | | - |
15 | | -- 语言级 bug 与修订 |
16 | | - |
17 | | - + 表达式评估顺序 |
18 | | - + 类型系统改进 Type Punning |
19 | | - + 弃用和删除的功能 |
20 | | - |
21 | | -- 语言增强 |
22 | | - |
23 | | - + [x] 结构化绑定 Structured bindings |
24 | | - + [ ] inline 变量 `inline` variables |
25 | | - + [x] 新的控制结构 `constexpr` if |
26 | | - + [ ] 新的聚合规则 |
27 | | - + [ ] `constexpr` 改进 |
28 | | - + [ ] 强制性 RVO 和复制 elision, Guaranteed copy elision |
29 | | -- 模板增强 |
30 | | - + [x] 折叠表达式 Fold expressions |
31 | | - + [ ] 类模板参数推导 Class template deduction |
32 | | - + [ ] `auto` non-type template parameters |
33 | | -- 库增强 |
34 | | - + [ ] `std::string_view`, `std::byte` |
35 | | - + [ ] `std::any`, `std::variant`, `std::optional` |
36 | | - + [ ] 容器改进 container 改进 |
37 | | - + [ ] thread 并行 STL 算法 |
38 | | - + [ ] 文件系统库 |
39 | | -- 其他特性 |
40 | | - + [ ] Selection statements with initializers |
41 | | - + [ ] Compile-time conditional statements |
42 | | - + [ ] Unary `statuc_assert` |
43 | | - + [ ] Nested namespace deinitions |
44 | | - + [ ] Preprocessor predicate for header testing |
45 | | - + [ ] Polymorphic allocators and memory resources |
46 | | - + [ ] Aligned `new` |
47 | | - + [ ] Improved insertion and splicing for associative constrainers |
48 | | - + [ ] Math special functions |
49 | | - + [ ] Variable templates for metafunctions |
50 | | - + [ ] Boolean logic metafunctions |
51 | | -... |
52 | | - |
| 9 | +- [每位程序员都需要知道的内存知识](https://people.freebsd.org/~lstewart/articles/cpumemory.pdf) |
| 10 | +- 待补充 |
0 commit comments