Contributions that add focused C++ examples, improve correctness, or strengthen existing tests are welcome.
Install GCC 14, GNU Make, clang-format, gcovr, and oneTBB on an Ubuntu-compatible system:
sudo apt update
sudo apt install g++-14 make clang-format gcovr jq libtbb-devBuild and run the complete repository:
make build
make test- Create a descriptive directory containing a
Makefileand source files. - Include
../common.mkand follow a neighboring example's build targets. - Add a
tests.shscript when the behavior has testable output or error handling. - Add the example to the appropriate README category.
- Keep the example self-contained and avoid dependencies unless they demonstrate an essential concept.
Run the same checks used by CI:
make lint
make check
make coveragemake coverage requires at least 80% aggregate line and function coverage and 70% branch coverage. Add tests for new
behavior rather than lowering the thresholds.
Use a focused commit history and explain the motivation, behavior change, and validation in the pull request. Do not include compiled binaries, object files, or generated coverage reports.
Use the bug report template for reproducible defects. Report security vulnerabilities privately according to SECURITY.md.