https://llvm.org/bugs/show_bug.cgi?id=28917

            Bug ID: 28917
           Summary: LWG 2148: hash support for enum types seems
                    under-specified
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: mehdi.am...@apple.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com
    Classification: Unclassified

libc++ implementation of std::hash does not allows to use SFINAE because of a
static_assert.
GCC had the same issue and removed the static assert 4 years ago:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52931

LGW 2148 reference is: http://cplusplus.github.io/LWG/lwg-active.html#2543

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to