mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 04:44:34 +03:00
C.86: Improve language just a bit (#1774)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user