https://bugs.llvm.org/show_bug.cgi?id=41118

            Bug ID: 41118
           Summary: Implementing DR1395
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++'17
          Assignee: unassignedclangb...@nondot.org
          Reporter: stinkingmad...@gmail.com
                CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
                    llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk

DR1395 made it in C++17.

template <class ...T> int f(T*...);  // #1
template <class T>  int f(const T&); // #2
f((int*)0); // Should select #1 past C++17, ambiguous prior C++17.

Current behaviour is to think it ambiguous https://godbolt.org/z/fBZvo0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to