mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Merge pull request #763 from Eliyahu-Ravuna/patch-1
Exception of CP.100 refined to include the "sequentially consistent memory model" only
This commit is contained in:
@@ -12804,7 +12804,7 @@ Read up on the ABA problem.
|
|||||||
|
|
||||||
##### Exception
|
##### Exception
|
||||||
|
|
||||||
[Atomic variables](#???) can be used simply and safely.
|
[Atomic variables](#???) can be used simply and safely, as long as you are using the sequentially consistent memory model (memory_order_seq_cst), which is the default.
|
||||||
|
|
||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ cpp
|
|||||||
cpp98
|
cpp98
|
||||||
CppCon
|
CppCon
|
||||||
CRTP
|
CRTP
|
||||||
|
cst
|
||||||
cstdarg
|
cstdarg
|
||||||
cstring
|
cstring
|
||||||
cstylecast
|
cstylecast
|
||||||
|
|||||||
Reference in New Issue
Block a user