llvm-project/libcxx/test
Eric Fiselier 45b7b44867 Implement LWG 2148: Make non-enum default hash specialization well-formed
Summary:
This patch removes the static_assert for non-enum types in the primary hash template. Instead non-enum types create a hash<T> specialization that is not constructible nor callable.

See also:
  * http://cplusplus.github.io/LWG/lwg-active.html#2543
  * https://llvm.org/bugs/show_bug.cgi?id=28917

Reviewers: mclow.lists, EricWF

Subscribers: mehdi_amini, cfe-commits

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

llvm-svn: 278300
2016-08-10 22:45:26 +00:00
..
libcxx NFC: fix typo 2016-08-01 23:34:29 +00:00
std Implement LWG 2148: Make non-enum default hash specialization well-formed 2016-08-10 22:45:26 +00:00
support Fix copy/move constructor annotation for the uses-allocator test types. 2016-08-08 02:22:41 +00:00
CMakeLists.txt Rework libatomic handling in CMake and LIT. 2016-07-18 06:01:50 +00:00
lit.cfg [libcxx] Allow use of ShTest in libc++ tests along with other changes. 2015-01-22 18:05:58 +00:00
lit.site.cfg.in Rework libatomic handling in CMake and LIT. 2016-07-18 06:01:50 +00:00
nothing_to_do.pass.cpp Test commit: Reverting whitespace changes 2014-07-17 05:10:03 +00:00
testit Add 'nostdinc++' to the flags used by testit. Makes the tests run better on Mac OS X with the new depr.c headers change 2015-11-01 21:14:22 +00:00