mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Closes #1265, make the chaining exception more visible
This commit is contained in:
parent
7733c326b2
commit
3fbc0b35a4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user