mirror of https://github.com/llvm-mirror/libcxx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
These swap tests were swapping non-POCS non-equal allocators which is undefined behavior. This patch changes the tests to use allocators which compare equal. In order to test that the allocators were not swapped I added an "id" field to test_allocator which does not participate in equality but does propagate across copies/swaps. This patch is based off of D26623 which was submitted by STL. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289358 91177308-0d34-0410-b5e6-96231b3b80d8 |
9 years ago | |
|---|---|---|
| .. | ||
| unord.map.cnstr | 9 years ago | |
| unord.map.elem | 9 years ago | |
| unord.map.modifiers | 9 years ago | |
| unord.map.swap | 9 years ago | |
| allocator_mismatch.fail.cpp | 10 years ago | |
| bucket.pass.cpp | 9 years ago | |
| bucket_count.pass.cpp | 9 years ago | |
| bucket_size.pass.cpp | 9 years ago | |
| compare.pass.cpp | 10 years ago | |
| count.pass.cpp | 10 years ago | |
| eq.pass.cpp | 10 years ago | |
| equal_range_const.pass.cpp | 10 years ago | |
| equal_range_non_const.pass.cpp | 10 years ago | |
| find_const.pass.cpp | 10 years ago | |
| find_non_const.pass.cpp | 10 years ago | |
| incomplete_type.pass.cpp | 9 years ago | |
| iterators.pass.cpp | 9 years ago | |
| load_factor.pass.cpp | 10 years ago | |
| local_iterators.pass.cpp | 10 years ago | |
| max_bucket_count.pass.cpp | 10 years ago | |
| max_load_factor.pass.cpp | 10 years ago | |
| max_size.pass.cpp | 9 years ago | |
| rehash.pass.cpp | 9 years ago | |
| reserve.pass.cpp | 9 years ago | |
| swap_member.pass.cpp | 9 years ago | |
| types.pass.cpp | 10 years ago | |