Created on 2012-10-17.00:00:00 last changed 130 months ago
Proposed resolution:
This wording is relative to N3376.
Change [container.requirements.dataraces]/2 as indicated:
-2- Notwithstanding ([res.on.data.races]), implementations are required to avoid data races when the contents of the contained object in different elements in the same
-3- [Note: For a vector<int> x with a size greater than one, x[1] = 5 and *x.begin() = 10 can be executed concurrently without a data race, but x[0] = 5 and *x.begin() = 10 executed concurrently may result in a data race. As an exception to the general rule, for a vector<bool> y, y[0] = true may race with y[1] = true. — end note ]sequencecontainer, excepting vector<bool>, are modified concurrently.
[ 2013-04-20 Bristol ]
[ 2013-03-15 Issues Teleconference ]
Moved to Tentatively Ready.
[container.requirements.dataraces]/2 says "[…] implementations are required to avoid data races when the contents of the contained object in different elements in the same sequence, excepting vector<bool>, are modified concurrently."
This should say "same container" instead of "same sequence", to avoid the interpretation that it only applies to sequence containers.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-02-20 13:20:35 | admin | set | status: wp -> c++14 |
2013-04-25 19:07:07 | admin | set | status: voting -> wp |
2013-04-19 22:36:19 | admin | set | messages: + msg6486 |
2013-04-19 22:36:19 | admin | set | status: ready -> voting |
2013-03-18 14:33:00 | admin | set | messages: + msg6420 |
2013-03-18 13:02:36 | admin | set | status: new -> ready |
2012-10-21 14:42:56 | admin | set | messages: + msg6214 |
2012-10-17 00:00:00 | admin | create |