From d3dd1c683b03e46df29f08024af90e2770513c4b Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 30 Oct 2015 15:30:09 +1300 Subject: [PATCH] capitalize "resource acquisition is initialization" --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 0382547..abcb33d 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6225,7 +6225,7 @@ Here, we ignore such cases. * Resource management rule summary: - * [R.1: Manage resources automatically using resource handles and RAII (resource acquisition is initialization)](#Rr-raii) + * [R.1: Manage resources automatically using resource handles and RAII (Resource Acquisition Is Initialization)](#Rr-raii) * [R.2: In interfaces, use raw pointers to denote individual objects (only)](#Rr-use-ptr) * [R.3: A raw pointer (a `T*`) is non-owning](#Rr-ptr) * [R.4: A raw reference (a `T&`) is non-owning](#Rr-ref) @@ -6257,7 +6257,7 @@ Here, we ignore such cases. * [R.36: Take a `const shared_ptr&` parameter to express that it might retain a reference count to the object ???](#Rr-sharedptrparam-const) * [R.37: Do not pass a pointer or reference obtained from an aliased smart pointer](#Rr-smartptrget) -### Rule R.1: Manage resources automatically using resource handles and RAII (resource acquisition is initialization) +### Rule R.1: Manage resources automatically using resource handles and RAII (Resource Acquisition Is Initialization) ##### Reason