mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
closing #547
(now?) we have CP.3 and CP.31. Also CP.mess. Yes we need more work on CP.mess
This commit is contained in:
@@ -13365,6 +13365,7 @@ Making `surface_readings` be `const` (with respect to this function) allow reaso
|
|||||||
|
|
||||||
Immutable data can be safely and efficiently shared.
|
Immutable data can be safely and efficiently shared.
|
||||||
No locking is needed: You can't have a data race on a constant.
|
No locking is needed: You can't have a data race on a constant.
|
||||||
|
See also [CP.mess: Message Passing](#SScp-messs) and [CP.31: prefer pass by value](#C#Rconc-data-by-value).
|
||||||
|
|
||||||
##### Enforcement
|
##### Enforcement
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user