+ 3
How to overload a template class for a particular user defined data type?
I have a Matrix Class defined with a template for various data types... Now I want to use the complex class of c++0x in it as well... But, now, the functions of complex data type must vary from those of normal data types like int, double, etc... So, how can I overload the matrix class to get this ability? How can I store a complex value in a matrix array and call the new constructor without invoking the original one? Please suggest me a possible solution...
1 Antwort
+ 4
Can this be done, or a new seperate class must be defined?