[LLVMbugs] [Bug 20398] clang C++11 wrong number of template parameters using aliases with template parameter pack

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 22 16:23:33 PDT 2014


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This code is ill-formed per the current direction of core issue 1430; clang
trunk rejects it:

<stdin>:18:31: error: pack expansion used as argument for non-pack parameter of
alias template
    using TailBar = Tail<Bar, Ts...>;
<stdin>:4:47: note: template parameter is declared here
template <template <class...> class TT, class T, class... Rest>

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/20140722/92f2c2c0/attachment.html>

More information about the llvm-bugs mailing list