[LLVMbugs] [Bug 17606] New: result_of (and INVOKE) works incorrectly for member function pointers with ref qualifiers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 17 05:25:02 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17606

            Bug ID: 17606
           Summary: result_of (and INVOKE) works incorrectly for member
                    function pointers with ref qualifiers
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: mimomorin at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11386
  --> http://llvm.org/bugs/attachment.cgi?id=11386&action=edit
Fix for __invoke

The implementation of `__invoke` for [func.require] p1 bullet 1 is incorrect:
`remove_reference` needs to be applied to `__member_traits<...>::_ClassType`.
A possible fix and test attached.

-- 
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/20131017/3b66bf0b/attachment.html>


More information about the llvm-bugs mailing list