阅读背景:

这为何有效? (具有不同参数的模板类的模板友元函数)

来源:互联网 

I have a matrix class:

我有一个矩阵类:

template <typename T, const int N, const int M>
class TMatrixNxM
{
    (...)
    friend TMatrixNxM operator*(const TMatrixNxM&, const TMatrixNxM&);
    (...)
}
template <t



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: