[llvm-bugs] [Bug 48592] New: Template argument type deduction fails
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 24 13:43:12 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48592
Bug ID: 48592
Summary: Template argument type deduction fails
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++2a
Assignee: unassignedclangbugs at nondot.org
Reporter: daravi at alumni.ubc.ca
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
Not sure if this is a bug or not since I haven't looked at the standard. But I
can see that GCC can compile this code (in c++20 mode) while Clang fails to
deduce argument type:
https://godbolt.org/z/Tbf1cs
--
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/20201224/1cf78386/attachment.html>
More information about the llvm-bugs
mailing list