を使用してMatrixクラスを作成しました
static_assert(std::is_arithmetic<T>::value,"");
テンプレートタイプが算術タイプであるかどうかを確認します。だから私は
Matrix<char> matrix1(3,3); // ctor takes number of rows and columns
そしてそれは動作します。static_assert関数はchar型では呼び出されません。正常ですか?charは算術型のように見えますか?