Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CppCoreGuidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -4477,7 +4477,7 @@ For example, a derived class might be allowed to skip a run-time check because i

##### Note

Prefer the order `public` members before `protected` members before `private` members [see](#Rl-order).
Prefer the order `public` members before `protected` members before `private` members; see [NL.16](#Rl-order).

##### Enforcement

Expand Down Expand Up @@ -8447,7 +8447,7 @@ Many parts of the C++ semantics assume its default meaning.

If you "mess with" operator `&` be sure that its definition has matching meanings for `->`, `[]`, `*`, and `.` on the result type.
Note that operator `.` currently cannot be overloaded so a perfect system is impossible.
We hope to remedy that: <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4477.pdf>.
We hope to remedy that: [Operator Dot (R2)](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4477.pdf).
Note that `std::addressof()` always yields a built-in pointer.

##### Enforcement
Expand Down