[llvm-bugs] [Bug 24867] New: Partial template specialization not found when using nullptr argument (rejects-valid)
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 17 13:33:27 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24867
Bug ID: 24867
Summary: Partial template specialization not found when using
nullptr argument (rejects-valid)
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: llvmbugs at contacts.eelis.net
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Testcase:
template<int *> struct A;
template<typename> struct B;
template<int * p> struct B<A<p>> {};
B<A<nullptr>> b;
Clang says:
error: implicit instantiation of undefined template 'B<A<nullptr> >'
--
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/20150917/2b5b26c1/attachment.html>
More information about the llvm-bugs
mailing list