0_0_37878273_13626.cpp: In member function 'Matrix Matrix::operator*(const Matrix&)':
0_0_37878273_13626.cpp:15:20: error: no matching function for call to 'Matrix::Matrix(<brace-enclosed initializer list>)'
Matrix res{2, 2};
^
0_0_37878273_13626.cpp:15:20: note: candidates are:
0_0_37878273_13626.cpp:11:8: note: constexpr Matrix::Matrix()
struct Matrix {
^
0_0_37878273_13626.cpp:11:8: note: candidate expects 0 arguments, 2 provided
0_0_37878273_13626.cpp:11:8: note: constexpr Matrix::Matrix(const Matrix&)
0_0_37878273_13626.cpp:11:8: note: candidate expects 1 argument, 2 provided
0_0_37878273_13626.cpp:11:8: note: constexpr Matrix::Matrix(Matrix&&)
0_0_37878273_13626.cpp:11:8: note: candidate expects 1 argument, 2 provided
0_0_37878273_13626.cpp: In member function 'Matrix Matrix::operator+(const Matrix&)':
0_0_37878273_13626.cpp:34:20: error: no matching function for call to 'Matrix::Matrix(<brace-enclosed initializer list>)'
Matrix res{2, 2};
^
0_0_37878273_13626.cpp:34:20: note: candidates are:
0_0_37878273_13626.cpp:11:8: note: constexpr Matrix::Matrix()
struct Matrix {
^
0_0_37878273_13626.cpp:11:8: note: candidate expects 0 arguments, 2 provided
0_0_37878273_13626.cpp:11:8: note: constexpr Matrix::Matrix(const Matrix&)
0_0_37878273_13626.cpp:11:8: note: candidate expects 1 argument, 2 provided
0_0_37878273_13626.cpp:11:8: note: constexpr Matrix::Matrix(Matrix&&)
0_0_37878273_13626.cpp:11:8: note: candidate expects 1 argument, 2 provided
|