http://llvm.org/bugs/show_bug.cgi?id=19373

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <[email protected]> ---
Your instantiation is this:

template<typename T, typename ...Us> using X = T;
struct S/*<X>*/ {
  template<typename ...Us> using X = ::X<Us...>;
};

Clang implements the proposed direction of core issue 1430 here, under which
this is ill-formed. (You can't use alias templates to pull a pack apart;
they're substituted / canonicalized before the pack size is known, so this
would present significant implementation issues.)

GCC trunk rejects your testcase with essentially the same diagnostic that clang
provides.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to