Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Guide/TYPES-AND-CLASSES.md
diff options
context:
space:
mode:
authorLeitwolf2026-10-31 13:01:49 +0300
committerGitHub2026-10-31 13:01:49 +0300
commitc0e89a73611f5730ff4d5172adb2a07be98d7b48 (patch)
tree7e32402fa9c06014328a27d7972c2fb1a9484352 /Guide/TYPES-AND-CLASSES.md
parent8d1fb4807edc7920fbecd0554c9c61625827e19c (diff)
parent1f5458322669301f62599c1ec5dacb77b5dc2d8d (diff)
downloadprogmasoft-cpp-main.tar.gz
Merge pull request #1 from Progmasoft/docs/cpp17-and-cpp20HEADmain
Cover C++17 as well as C++20
Diffstat (limited to 'Guide/TYPES-AND-CLASSES.md')
-rw-r--r--Guide/TYPES-AND-CLASSES.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Guide/TYPES-AND-CLASSES.md b/Guide/TYPES-AND-CLASSES.md
index d1140a7..93bf064 100644
--- a/Guide/TYPES-AND-CLASSES.md
+++ b/Guide/TYPES-AND-CLASSES.md
@@ -101,7 +101,7 @@ A type that must not be copied deletes the copy operations explicitly instead of
- Overload an operator only when it means what it means for built-in types: `+` adds, `==` compares for equality, `[]`
indexes. A reader must never wonder what `a << b` does to `a`.
- **Default comparisons**: `operator==` and, when there is an order, `operator<=>`, both `= default` where memberwise
- comparison is right.
+ comparison is right. [C++17 has neither](LANGUAGE.md#513-c17-projects).
- Binary operators that are symmetric are hidden friends or non-members, so both operands convert the same way.
- No overloads of `&&`, `||`, `,` or unary `&`.