Linux C++ 命令行服务骨架 | C++

本章覆盖:CMake;multi-file project;namespace;config;logging interface;signal / socket 仅保留系统课程接口占位;worker thread;graceful shutdown 高层模型;exception / status boundary;GDB;sanitizer;unit test;Debug / Release build;不把 POSIX 细节吞入 C++ 课程。

本章知识点

  • CMake
  • multi-file project
  • namespace
  • config
  • logging interface
  • signal / socket 仅保留系统课程接口占位
  • worker thread
  • graceful shutdown 高层模型
  • exception / status boundary
  • GDB
  • sanitizer
  • unit test
  • Debug / Release build
  • 不把 POSIX 细节吞入 C++ 课程