[LLVMbugs] [Bug 20345] New: is_member_function_pointer does not account for ellipsis

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 17 13:44:36 PDT 2014


            Bug ID: 20345
           Summary: is_member_function_pointer does not account for
           Product: libc++
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kaballo86 at hotmail.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140717/48d30261/attachment.html>

More information about the llvm-bugs mailing list