My templated function look as follows:
template <typename MatTypeOne, typename MatTypeTwo>
void funct(MatTypeOne& m1, MatTypeTwo& m2) {
//here I would need to check whether m1 and m2 are of the same "type",
//meaning that MatTypeOne is the same as MatTypeTwo
}
What is the way to check whether m1 and m2 belong to same/different types?
Thanks