[llvm-bugs] [Bug 24694] New: Deduction for array bound fails

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 3 08:12:33 PDT 2015


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: unassignedclangbugs at nondot.org
          Reporter: r.hl at gmx.net
                CC: llvm-bugs at lists.llvm.org
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150903/3ee5c361/attachment.html>


More information about the llvm-bugs mailing list