llvm-project/libcxx/test/std/utilities/function.objects/unord.hash
Eric Fiselier f9127593a9 Implement P0513R0 - "Poisoning the Hash"
Summary:
Exactly what the title says.

This patch also adds a `std::hash<nullptr_t>` specialization in C++17, but it was not added by this paper and I can't find the actual paper that adds it.

See http://wg21.link/P0513R0 for more info.

If there are no comments in the next couple of days I'll commit this

Reviewers: mclow.lists, K-ballo, EricWF

Reviewed By: EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D28938

llvm-svn: 292684
2017-01-21 00:02:12 +00:00
..
enabled_hashes.pass.cpp Implement P0513R0 - "Poisoning the Hash" 2017-01-21 00:02:12 +00:00
enum.fail.cpp
enum.pass.cpp [libcxx] [test] Fix MSVC warnings C4127 and C6326 about constants. 2017-01-18 20:09:56 +00:00
floating.pass.cpp Prevent truncation warning. Patch from STL@microsoft.com 2016-06-14 02:54:15 +00:00
integral.pass.cpp [libcxx] [test] Fix MSVC warnings C4127 and C6326 about constants. 2017-01-18 20:09:56 +00:00
non_enum.pass.cpp Implement LWG 2148: Make non-enum default hash specialization well-formed 2016-08-10 22:45:26 +00:00
pointer.pass.cpp