[Bug c++/51194] [C++0x] ICE about template aliasing

dodji at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 18 19:49:00 GMT 2011


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;



More information about the Gcc-bugs mailing list