Is there a way, that the following function is only visible, if a certain pre-set type is used?
//used, when T == double || T == float
template<typename T, size_t M, size_t K, size_t N>
void foo2d(){}
//used, when T == int || T == uint64
template<typename T, size_t M, size_t K, size_t N>
void foo3d(){}
how would i write them, and how would i call them?
This is not a duplicate, the other question does not answer this one, and even if, i cant even grasp the concept, how am i supposed to understand the other answers ... but thanks for the quick marking