From 71e48cf0833cfe7fb2453e167902b92dad5b4876 Mon Sep 17 00:00:00 2001 From: Xeverous <20820409+Xeverous@users.noreply.github.com> Date: Thu, 22 Sep 2022 23:17:04 +0200 Subject: [PATCH] NR.4: fix typo (declaration => definition) (#1967) --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 5a4aa84..0fe57f4 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -20438,7 +20438,7 @@ Non-rule summary: * [NR.1: Don't insist that all declarations should be at the top of a function](#Rnr-top) * [NR.2: Don't insist to have only a single `return`-statement in a function](#Rnr-single-return) * [NR.3: Don't avoid exceptions](#Rnr-no-exceptions) -* [NR.4: Don't insist on placing each class declaration in its own source file](#Rnr-lots-of-files) +* [NR.4: Don't insist on placing each class definition in its own source file](#Rnr-lots-of-files) * [NR.5: Don't use two-phase initialization](#Rnr-two-phase-init) * [NR.6: Don't place all cleanup actions at the end of a function and `goto exit`](#Rnr-goto-exit) * [NR.7: Don't make all data members `protected`](#Rnr-protected-data) @@ -20626,7 +20626,7 @@ Remember * [RAII](#Re-raii) * Contracts/assertions: Use GSL's `Expects` and `Ensures` (until we get language support for contracts) -### NR.4: Don't insist on placing each class declaration in its own source file +### NR.4: Don't insist on placing each class definition in its own source file ##### Reason