mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix typo in ES.84
This commit is contained in:
parent
82755da679
commit
378370e20d
|
@ -11151,7 +11151,7 @@ To avoid unpleasant surprises.
|
||||||
This declares an unnamed `lock` object that immediately goes out of scope at the point of the semicolon.
|
This declares an unnamed `lock` object that immediately goes out of scope at the point of the semicolon.
|
||||||
This is not an uncommon mistake.
|
This is not an uncommon mistake.
|
||||||
In particular, this particular example can lead to hard-to find race conditions.
|
In particular, this particular example can lead to hard-to find race conditions.
|
||||||
There are exceedingly clever used of this "idiom", but they are far rarer than the mistakes.
|
There are exceedingly clever uses of this "idiom", but they are far rarer than the mistakes.
|
||||||
|
|
||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user