From 3b3148d99c2f4e562e6fb0d0c121f3821ca58868 Mon Sep 17 00:00:00 2001 From: hsutter Date: Mon, 13 Mar 2017 11:44:40 -0700 Subject: [PATCH] Closes #835 We do not encourage `owner`. --- CppCoreGuidelines.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 73841e2..dceff01 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -17935,7 +17935,6 @@ The "raw-pointer" notation (e.g. `int*`) is assumed to have its most common mean Owners should be converted to resource handles (e.g., `unique_ptr` or `vector`) or marked `owner`. * `owner` // a `T*` that owns the object pointed/referred to; may be `nullptr`. -* `owner` // a `T&` that owns the object pointed/referred to. `owner` is used to mark owning pointers in code that cannot be upgraded to use proper resource handles. Reasons for that include: