[llvm-bugs] [Bug 26692] Clang fails to recognize unqualified template template argument in C++11

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 3 08:43:13 PST 2017


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Reid Kleckner <rnk at google.com> ---
This version compiles successfully:

template <template <typename> class> using T = void;
template <typename> struct A { using T2 = T<::A>; };

I think we're doing the right thing here. In the original test case, A is the
injected class name, and refers to a class, not a class template. Feel free to
reopen if you don't agree.

-- 
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/20170103/d4c66556/attachment-0001.html>


More information about the llvm-bugs mailing list