Ubuntu – C++ Function templates call itself and get stuck in recursion
Here's the code: #include <stdio.h> template<typename ...__T> struct CTest { }; template<typename __T, typename ...__Ts> struct CTest<__T, __Ts...>: public CTest<__Ts...> { }; template<typename ...__T> void func(const CTest<__T...> &); template<typename __T, typename ...__Ts> void func(const CTest<__T, __Ts...> &); template<> void func(const…