Say you have:
Let's say I want to specialize "foo" for parameters <T = int, K = double>. What's the syntax for doing this?Code:template <typename T> class A { template <typename K> void foo(T, K); };
Would this work? It's just a problem that came to me while I was walking around, so I'm typing this from a public computer. I don't have a compiler to try it out.Code:template<> template<> void A<int>::foo<double>(int i, double d) {;}