Mark bucket() assertions as nonportable.
The Standard doesn't guarantee what bucket an element will land in, even if you control the hash. All such assertions are inherently nonportable and should be marked accordingly.
Paths
| Differential D22157
[libcxx] [test] Mark bucket() assertions as nonportable. ClosedPublic Authored by STL_MSFT on Jul 8 2016, 12:22 PM.
Details
Summary Mark bucket() assertions as nonportable. The Standard doesn't guarantee what bucket an element will land in, even if you control the hash. All such assertions are inherently nonportable and should be marked accordingly.
Diff Detail Event TimelineSTL_MSFT updated this object. This revision is now accepted and ready to land.Jul 24 2016, 4:41 PM
Revision Contents
Diff 63285 test/std/containers/unord/unord.map/bucket.pass.cpp
test/std/containers/unord/unord.multimap/bucket.pass.cpp
test/std/containers/unord/unord.multiset/bucket.pass.cpp
test/std/containers/unord/unord.set/bucket.pass.cpp
|