Articles

Basics

  1. 洞悉函数重载决议 2022-09-04
  2. An In-depth Look at C++ Keyword: static 2023-06-25
  3. Monads in Modern C++, What, Why, and How 2023-08-14
  4. std:: versus ::std:: 2023-12-30
  5. Left-to-Right vs. Right-to-Left Coding Styles 2024-03-09
  6. Mastering Placeholder Type Deduction 2024-03-10
  7. Normal OR Rules for Reference Bindings 2024-05-19

C++11

  1. C++ 正则表达式 2019-03-28

C++14

  1. std::exchange use cases 2023-07-25

C++17

  1. Simplify Code with “if constexpr” in C++17 2020-07-10

C++20

  1. Using C++20 Formatting Library 2020-01-06
  2. Differences between keywords constexpr, consteval and constinit 2021-05-29
  3. 那些值得使用的 C++ Attributes 2021-08-19
  4. 使用Concepts表示变化「定制点」 2022-07-22
  5. 借助 ChatGPT 快速实现一个轻量级的控制台进度条库 2023-12-26
  6. 使用 C++20 安全地比较不同类型的整型值 2024-05-20
  7. C++20 std::format 替换 fmtlib 的注意点 2024-06-22

C++23

  1. “Hello World” in C++23 2022-07-29
  2. Overview of C++23 Features 2023-01-10

C++26

  1. Reflection for C++26 2024-02-08
  2. C++26 Pack Indexing 2024-02-17
  3. C++26’s Placeholder variables with no name 2024-02-24

Concurrency

  1. Demystifying C++20 Coroutines 2020-03-08
  2. C++20 Coroutines: operator co_await 2020-04-09

Metaprogramming

  1. Understanding variadic templates 2020-04-25
  2. C++17: Simplify Code with Fold Expressions 2020-05-22
  3. 新简化!typename 在 C++20 不再必要 2022-01-09
  4. 泛型 Lambda,如此强大! 2022-01-16
  5. C++ 反射 第一章 通识 2022-02-18
  6. C++ 反射 第二章 探索 2022-02-26
  7. C++ 反射 第四章 标准 2022-05-08
  8. 《产生式元编程》第一章 宏编程计数引原理 2023-09-27
  9. 《产生式元编程》第二章 自复用代码生成技 2023-09-30
  10. 《产生式元编程》第三章 替换蓝染概念纤悉 2023-11-26
  11. 《产生式元编程》第四章 封装合并框架顿立 2024-06-15
  12. 《产生式元编程》第五章 忆昔年模板三两事 2024-06-30
  13. 《产生式元编程》第六章 感今朝妙艺几人知 2024-07-20
  14. 《产生式元编程》第七章 巧活用折叠表达式 2024-08-27

Networking

  1. HTTP协议之编写简单的Web服务器 2018-12-31
  2. 网络模型之select 2019-01-11
  3. 网络模型之Event select 2019-01-19
  4. 网络模型之重叠IO(一) 2019-01-30
  5. 网络模型之重叠IO(二) 2019-02-01
  6. 网络模型之IOCP基础(一) 2019-03-02
  7. 网络模型之IOCP实现版本一(二) 2019-03-04
  8. 网络模型之IOCP与扩展函数(三) 2019-03-09
  9. 网络模型之IOCP服务器实例二(四) 2019-03-15
  10. 各种网络模型背后的设计思路 2019-04-28

Techiniques

  1. Technique: Take a constexpr string from Compile Time to Run Time 2023-04-08
  2. Compile time dispatching in C++20 2023-08-16
  3. Parsing CSV Files in C++20 2023-11-29
  4. Memory Reallocation when Parsing CSV Files 2023-12-03

Tricks

  1. 如何优雅地打印类型名称? 2022-09-16
  2. “+” 的几个使用小技巧,你了解吗 2023-10-16

TodayGroupShared

  1. T230418 explicit(bool) 2023-04-18
  2. T230420 Unconditional compile-time expression 2023-04-20
  3. T230428 Extra Parentheses, Different Meaning 2023-04-28
  4. T230531 C++ Polymorphism 2023-05-31
  5. T230612 Variable initialization 2023-06-12
  6. T230621 Member Initialization 2023-06-21
  7. T230705 Complex C++ 2023-07-05
  8. T230707 inline constexpr 2023-07-07
  9. T230713 Dispatch table 2023-07-13
  10. T230723 copy-and-swap Idiom and More Tricks 2023-07-23
  11. T230807 Reviewing C++23 Monadic std::optional 2023-08-07
  12. T230917 Generative Metaprogramming with Macro Preprocessor (Part 1) 2023-09-18
  13. T230920 Generative Metaprogramming with Macro Preprocessor (Part 2) 2023-09-20
  14. T230925 Generative Metaprogramming with Macro Preprocessor (Part 3) 2023-09-25
  15. T231104 异构类型迭代法 2023-11-04
  16. T231111 Compile time for 2023-11-11
  17. T231119 几种遍历技术实现结构体成员计数的比较 2023-11-19
  18. T231212 Dummy Rquires Clause Positioning in Function Template Overloading 2023-12-12
  19. T240102 What does the …… mean in C++? 2024-01-02
  20. T240104 Failed to Passing a Lambda Expression to std::function 2024-01-04
  21. T240516 Top-level const and Low-level const 2024-05-16
  22. T240725 Unnamed namespaces 2024-07-26
  23. T240730 inline namespace 2024-07-30

Tools

  1. Configuring Transitive Dependencies with Modern CMake 2024-04-22

生活琐记

  1. 癸卯小记 2024-01-01
  2. 觉者和修者,知与行本是一体 2024-04-27