This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51194] [C++0x] ICE about template aliasing
- From: "dodji at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Nov 2011 19:18:46 +0000
- Subject: [Bug c++/51194] [C++0x] ICE about template aliasing
- Auto-submitted: auto-generated
- References: <bug-51194-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51194
--- Comment #4 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-11-18 19:18:46 UTC ---
Here is a smaller reproducer:
template<class U, class V>
struct foo {};
template<class U, class V=char>
struct P {};
template<template<class... U> class... TT>
struct bar {
template<class... Args>
using mem = P<TT<Args...>...>;
};
bar<foo>::mem<int, char> b;