mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 04:44:34 +03:00
Closes #1265, make the chaining exception more visible
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user