C.other: Improve language just a bit (#1773)

This commit is contained in:
Juha Reunanen
2021-04-06 16:46:25 +03:00
committed by GitHub
parent b933a61940
commit 52b0aa7cdf

View File

@@ -6350,8 +6350,8 @@ Classes that represent exception objects need both to be polymorphic and copy-co
## C.other: Other default operation rules ## C.other: Other default operation rules
In addition to the operations for which the language offer default implementations, In addition to the operations for which the language offers default implementations,
there are a few operations that are so foundational that it rules for their definition are needed: there are a few operations that are so foundational that specific rules for their definition are needed:
comparisons, `swap`, and `hash`. comparisons, `swap`, and `hash`.
### <a name="Rc-eqdefault"></a>C.80: Use `=default` if you have to be explicit about using the default semantics ### <a name="Rc-eqdefault"></a>C.80: Use `=default` if you have to be explicit about using the default semantics