Overview of C++ Core Guidelines
masterThe C++ Core Guidelines are a living document designed to help developers use modern C++ (C++11 through C++20 and beyond) effectively. The guidelines focus on high-level design issues such as interfaces, resource management, memory management, and concurrency to produce code that is statically type-safe, leak-free, and performant.
Key characteristics:
- Focus: High-level architecture and library design rather than low-level formatting (like indentation).
- Goal: Simplicity and safety. Rules may feel strict or counter-intuitive as they aim for long-term maintainability.
- Tool-Oriented: Many rules are designed to be enforceable by static analysis tools. Violations in tools will reference specific guideline rules.
- Gradual Adoption: The rules are intended to be introduced into a codebase gradually.