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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs