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/utilities/memory/util.smartptr/util.smartptr.hash
Billy Robert O'Neal III 937aecfb3d Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions.
These tests were unconditionally asserting that optional and unique_ptr declare throwing hashes, but MSVC++ implements conditional noexcept forwarding that of the underlying hash function. As a result we were failing these tests but there's nothing forbidding strengthening noexcept in that way.

Changed the ASSERT_NOT_NOEXCEPT asserts to use types which themselves have non-noexcept hash functions.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@300516 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
enabled_hash.pass.cpp Implement P0513R0 - "Poisoning the Hash" 8 years ago
hash_shared_ptr.pass.cpp Implement P0513R0 - "Poisoning the Hash" 8 years ago
hash_unique_ptr.pass.cpp Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions. 8 years ago