From 3fbc0b35a4396826d1e3ab80667034eee1248ae3 Mon Sep 17 00:00:00 2001 From: hsutter Date: Thu, 11 Oct 2018 11:33:45 -0700 Subject: [PATCH] Closes #1265, make the chaining exception more visible --- CppCoreGuidelines.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index f5dad05..a7be0cd 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -4143,6 +4143,8 @@ An overload set may have some members that do not directly access `private` data // ... }; +##### Exception + Similarly, a set of functions may be designed to be used in a chain: x.scale(0.5).rotate(45).set_color(Color::red);