8000 Added link to article from Herb Sutter · misgeatgit/cppbestpractices@9324e48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9324e48

Browse files
committed
Added link to article from Herb Sutter
1 parent 51821c8 commit 9324e48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

07-Considering_Threadability.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ Much slower in threaded environments. In many or maybe even most cases, copying
1414
For member variables it is good practice to use mutex and mutable together. This applies in both ways:
1515
* A mutable member variable is presumed to be a shared variable so it should be synchronized with a mutex (or made atomic)
1616
* If a member variable is itself a mutex, it should be mutable. This is required to use it inside a const member function.
17+
18+
For more information see the following article from Herb Sutter: http://herbsutter.com/2013/05/24/gotw-6a-const-correctness-part-1-3/

0 commit comments

Comments
 (0)
0