I have a templated Matrix template. I want to write a specialization for complex numbers. How can i do this?
I suspect this won't work:
template <typename T>
class Matrix { ... }
template <typename T2>
class Matrix<std::complex<T2> > { ... }
But what will happen?
a source
to share