tmp/tmpa3ny3qht/{from.md → to.md}
RENAMED
|
@@ -6,11 +6,11 @@ implementations shall consider the following functions to be `const`:
|
|
| 6 |
`lower_bound`, `upper_bound`, `equal_range`, `at` and, except in
|
| 7 |
associative or unordered associative containers, `operator[]`.
|
| 8 |
|
| 9 |
Notwithstanding ([[res.on.data.races]]), implementations are required
|
| 10 |
to avoid data races when the contents of the contained object in
|
| 11 |
-
different elements in the same
|
| 12 |
modified concurrently.
|
| 13 |
|
| 14 |
For a `vector<int> x` with a size greater than one, `x[1] = 5` and
|
| 15 |
`*x.begin() = 10` can be executed concurrently without a data race, but
|
| 16 |
`x[0] = 5` and `*x.begin() = 10` executed concurrently may result in a
|
|
|
|
| 6 |
`lower_bound`, `upper_bound`, `equal_range`, `at` and, except in
|
| 7 |
associative or unordered associative containers, `operator[]`.
|
| 8 |
|
| 9 |
Notwithstanding ([[res.on.data.races]]), implementations are required
|
| 10 |
to avoid data races when the contents of the contained object in
|
| 11 |
+
different elements in the same container, excepting `vector<bool>`, are
|
| 12 |
modified concurrently.
|
| 13 |
|
| 14 |
For a `vector<int> x` with a size greater than one, `x[1] = 5` and
|
| 15 |
`*x.begin() = 10` can be executed concurrently without a data race, but
|
| 16 |
`x[0] = 5` and `*x.begin() = 10` executed concurrently may result in a
|