rules/cpp/coding-style.md
This file extends common/coding-style.md with C++ specific content.
auto when the type is obvious from contextconstexpr for compile-time constantsauto [key, value] = map_entry;new/deletestd::unique_ptr for exclusive ownershipstd::shared_ptr only when shared ownership is truly neededstd::make_unique / std::make_shared over raw newPascalCasesnake_case or camelCase (follow project convention)kPascalCase or UPPER_SNAKE_CASElowercasesnake_case_ (trailing underscore) or m_ prefixclang-format -i <file> before committingSee skill: cpp-coding-standards for comprehensive C++ coding standards and guidelines.