mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
C.86: Improve language just a bit (#1774)
This commit is contained in:
parent
52b0aa7cdf
commit
58f91d7cf1
|
@ -6570,7 +6570,7 @@ If a `swap` tries to exit with an exception, it's a bad design error and the pro
|
|||
##### Reason
|
||||
|
||||
Asymmetric treatment of operands is surprising and a source of errors where conversions are possible.
|
||||
`==` is a fundamental operations and programmers should be able to use it without fear of failure.
|
||||
`==` is a fundamental operation and programmers should be able to use it without fear of failure.
|
||||
|
||||
##### Example
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user