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.
libcxx/test/std/containers/associative/multiset/multiset.special
Eric Fiselier 11f64dcc58 Fix undefined behavior in container swap tests.
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
..
member_swap.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 10 years ago
non_member_swap.pass.cpp Fix undefined behavior in container swap tests. 9 years ago
swap_noexcept.pass.cpp Make swap_noexcept.pass.cpp tests more portable. Patch from STL@microsoft.com. 9 years ago