(Yes, the name is so strange thanks to my poor English, I hope someone can improve it.)
Answering this question , I found that this code works:
template <typename T1, typename T2> class A { }; template <template <typename...> class U> class B { }; int main() { B<A> it_works; }
.. although template <typename...> class and template <typename, typename> class not equal.
I tried to find out why this is possible and look at [temp.param] N3337 standard , but I canโt find anything. How is this possible?
source share