Mark bucket_size() assertions as nonportable.
Even if you control the hash, the Standard doesn't guarantee what the bucket population sizes will be. All of these assertions are nonportable and should be marked accordingly.
Paths
| Differential D22159
[libcxx] [test] Mark bucket_size() assertions as nonportable. ClosedPublic Authored by STL_MSFT on Jul 8 2016, 12:25 PM.
Details
Summary Mark bucket_size() assertions as nonportable. Even if you control the hash, the Standard doesn't guarantee what the bucket population sizes will be. All of these assertions are nonportable and should be marked accordingly.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 24 2016, 4:20 PM
Revision Contents
Diff 63290 test/std/containers/unord/unord.map/bucket_size.pass.cpp
test/std/containers/unord/unord.multimap/bucket_size.pass.cpp
test/std/containers/unord/unord.multiset/bucket_size.pass.cpp
test/std/containers/unord/unord.set/bucket_size.pass.cpp
|