commit | 2d08bc9a9ff2429bec70e0c9ad81b63f846cab03 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Wed Aug 10 22:45:26 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Wed Aug 10 22:45:26 2016 +0000 |
tree | 11690b23b1d1cd66076f644ffcf1fb78d59bb36e | |
parent | 02e94f8095771114a3930e1a1eb57d0634db46fc [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@278300 91177308-0d34-0410-b5e6-96231b3b80d8