0_0_37878262_11702.cpp: In instantiation of 'Matrix<T1, r, cc> Matrix<T, r, c>::operator*(const Matrix<T1, c, cc>&) [with T1 = long long int; int cc = 2; T = long long int; int r = 2; int c = 2]':
0_0_37878262_11702.cpp:128:38: required from here
0_0_37878262_11702.cpp:16:20: error: no matching function for call to 'Matrix<long long int, 2, 2>::Matrix(<brace-enclosed initializer list>)'
Matrix res{r, c};
^
0_0_37878262_11702.cpp:16:20: note: candidates are:
0_0_37878262_11702.cpp:12:8: note: constexpr Matrix<long long int, 2, 2>::Matrix()
struct Matrix{
^
0_0_37878262_11702.cpp:12:8: note: candidate expects 0 arguments, 2 provided
0_0_37878262_11702.cpp:12:8: note: constexpr Matrix<long long int, 2, 2>::Matrix(const Matrix<long long int, 2, 2>&)
0_0_37878262_11702.cpp:12:8: note: candidate expects 1 argument, 2 provided
0_0_37878262_11702.cpp:12:8: note: constexpr Matrix<long long int, 2, 2>::Matrix(Matrix<long long int, 2, 2>&&)
0_0_37878262_11702.cpp:12:8: note: candidate expects 1 argument, 2 provided
|