Skip to content

Commit 9f85515

Browse files
committed
Fix typo
1 parent 451cf4a commit 9f85515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4535,7 +4535,7 @@ If a `swap` tries to exit with an exception, it's a bad design error and the pro
45354535
// ...
45364536
};
45374537

4538-
`B`'s comparison accpts conversions for its second operand, but not its first.
4538+
`B`'s comparison accepts conversions for its second operand, but not its first.
45394539

45404540
**Note**: If a class has a failure state, like `double`'s `NaN`, there is a temptation to make a comparison against the failure state throw.
45414541
The alternative is to make two failure states compare equal and any valid state compare false against the failure state.

0 commit comments

Comments
 (0)