https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98714
Bug ID: 98714 Summary: [c++14] Nested type with variadic template class argument can't be expanded into using outer variadic types Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ryan_greenblatt at brown dot edu Target Milestone: --- https://godbolt.org/z/jjqEss ``` template<typename T> constexpr int val = 0; template <typename... T> struct NestedType { template <template <T...> class Inp> using Type = Inp<val<T>...>; }; template <int> struct TakesInt {}; constexpr NestedType<int>::Type<TakesInt> a; ``` Happens on all the version of g++ I tried.