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

            Bug ID: 24694
           Summary: Deduction for array bound fails
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++14
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Example from [temp.deduct.call]/1 fails:

template<class T, int N> void h(T const(&)[N]);
int main() {h({1,2,3});}
// T deduced to int, N deduced to 3

Apparently Clang needs to implement CWG 1591.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to