What problem does it solve?
It keeps C++ teams from producing inconsistent code by extending universal rules with explicit guidance for naming, formatting, resource management, testing, and modern idioms.
Core Features & Use Cases
- Naming and Style Discipline: Pick and enforce a single C++ naming convention, manage include organization, and rely on clang-format and clang-tidy across the codebase.
- Modern C++ and Resource Management: Favor smart pointers, RAII, constexpr, and sanitizer-ready test builds while avoiding raw memory and unsafe casting decisions.
- Testing and Review Workflow: Specify Google Test or Catch2 usage, validate AddressSanitizer and UBSanitizer coverage, and audit reviews for raw new/delete or missing override qualifiers before committing.
Quick Start
Ask the rules-cpp guidance to align your new C++ work with smart pointer RAII practices, clang-format standards, and sanitizer-backed testing.