3.1. 环境要求

本章中的代码示例可在 GitHub 仓库 https://github.com/PacktPublishing/Debunking-CPP-Myths 的 ch3 文件夹中找到。它使用 Makefile、g++ 和 doctest 库 (https://github.com/doctest/doctest)进行单元测试,并且该代码使用 C++20 进行编译。