http://llvm.org/bugs/show_bug.cgi?id=20345
Bug ID: 20345
Summary: is_member_function_pointer does not account for
ellipsis
Product: libc++
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 12786
--> http://llvm.org/bugs/attachment.cgi?id=12786&action=edit
proposed fix
std::is_member_function_pointer is false for member functions with a parameter
list terminating in ellipsis. The following snippet reproduces the issue:
#include <type_traits>
struct X {};
int main() {
static_assert(std::is_member_function_pointer<void (X::*)(...)>::value,
"");
}
--
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