[PATCH] D22159: [libcxx] [test] Mark bucket_size() assertions as nonportable.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 8 12:25:18 PDT 2016


STL_MSFT created this revision.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.

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.

http://reviews.llvm.org/D22159

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22159.63290.patch
Type: text/x-patch
Size: 7036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160708/cadc0e0e/attachment.bin>


More information about the cfe-commits mailing list