docs: require m_ prefix for private data members
Co-Authored-By: qwen3.8-27b@q3_k_xl: added m_ member naming rule
This commit is contained in:
@@ -104,6 +104,7 @@ the custom scripts instead of system-installed packages.
|
|||||||
- **East const** (e.g. `char const*` not `const char*`)
|
- **East const** (e.g. `char const*` not `const char*`)
|
||||||
- **Public members first** in class declarations, private members at the
|
- **Public members first** in class declarations, private members at the
|
||||||
bottom
|
bottom
|
||||||
|
- **Private data members** start with `m_` (e.g. `m_state`)
|
||||||
- `<>` includes only for system headers (std, OS, etc.)
|
- `<>` includes only for system headers (std, OS, etc.)
|
||||||
- `""` includes for third-party dependencies
|
- `""` includes for third-party dependencies
|
||||||
- **Naming:** `snake_case` for variables, functions, and classes
|
- **Naming:** `snake_case` for variables, functions, and classes
|
||||||
|
|||||||
Reference in New Issue
Block a user