[llvm-bugs] [Bug 28917] New: LWG 2148: hash support for enum types seems under-specified

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 9 12:06:53 PDT 2016


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: unassignedclangbugs at nondot.org
          Reporter: mehdi.amini at apple.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160809/c11731e0/attachment.html>


More information about the llvm-bugs mailing list