tmp/tmp60ijwsmv/{from.md → to.md}
RENAMED
|
@@ -16,12 +16,12 @@ objects [[intro.multithread]] accessible by threads other than the
|
|
| 16 |
current thread unless the objects are accessed directly or indirectly
|
| 17 |
via the function’s non-const arguments, including `this`.
|
| 18 |
|
| 19 |
[*Note 1*: This means, for example, that implementations can’t use an
|
| 20 |
object with static storage duration for internal purposes without
|
| 21 |
-
synchronization because
|
| 22 |
-
do not explicitly share objects between threads. — *end note*]
|
| 23 |
|
| 24 |
A C++ standard library function shall not access objects indirectly
|
| 25 |
accessible via its arguments or via elements of its container arguments
|
| 26 |
except by invoking functions required by its specification on those
|
| 27 |
container elements.
|
|
|
|
| 16 |
current thread unless the objects are accessed directly or indirectly
|
| 17 |
via the function’s non-const arguments, including `this`.
|
| 18 |
|
| 19 |
[*Note 1*: This means, for example, that implementations can’t use an
|
| 20 |
object with static storage duration for internal purposes without
|
| 21 |
+
synchronization because doing so can cause a data race even in programs
|
| 22 |
+
that do not explicitly share objects between threads. — *end note*]
|
| 23 |
|
| 24 |
A C++ standard library function shall not access objects indirectly
|
| 25 |
accessible via its arguments or via elements of its container arguments
|
| 26 |
except by invoking functions required by its specification on those
|
| 27 |
container elements.
|