Closed GoogleCodeExporter closed 9 years ago
Не собирается:
Matrix.cpp:304:55: required from here
Matrix.cpp:193:5: error: invalid initialization of non-const reference of type
'TMatrix<int>&' from an rvalue of type 'TMatrix<int>'
Matrix.cpp:165:12: error: in passing argument 1 of 'TMatrix<T>
ShtrassenMultiply(TMatrix<T>&, TMatrix<T>&) [with T = int]'
Matrix.cpp:194:5: error: invalid initialization of non-const reference of type
'TMatrix<int>&' from an rvalue of type 'TMatrix<int>'
Matrix.cpp:165:12: error: in passing argument 1 of 'TMatrix<T>
ShtrassenMultiply(TMatrix<T>&, TMatrix<T>&) [with T = int]'
Matrix.cpp:195:5: error: invalid initialization of non-const reference of type
'TMatrix<int>&' from an rvalue of type 'TMatrix<int>'
Matrix.cpp:165:12: error: in passing argument 2 of 'TMatrix<T>
ShtrassenMultiply(TMatrix<T>&, TMatrix<T>&) [with T = int]'
Matrix.cpp:196:5: error: invalid initialization of non-const reference of type
'TMatrix<int>&' from an rvalue of type 'TMatrix<int>'
Matrix.cpp:165:12: error: in passing argument 2 of 'TMatrix<T>
ShtrassenMultiply(TMatrix<T>&, TMatrix<T>&) [with T = int]'
Matrix.cpp:197:5: error: invalid initialization of non-const reference of type
'TMatrix<int>&' from an rvalue of type 'TMatrix<int>'
Matrix.cpp:165:12: error: in passing argument 1 of 'TMatrix<T>
ShtrassenMultiply(TMatrix<T>&, TMatrix<T>&) [with T = int]'
Matrix.cpp:198:5: error: invalid initialization of non-const reference of type
'TMatrix<int>&' from an rvalue of type 'TMatrix<int>'
Matrix.cpp:165:12: error: in passing argument 1 of 'TMatrix<T>
ShtrassenMultiply(TMatrix<T>&, TMatrix<T>&) [with T = int]'
Matrix.cpp:199:5: error: invalid initialization of non-const reference of type
'TMatrix<int>&' from an rvalue of type 'TMatrix<int>'
Matrix.cpp:165:12: error: in passing argument 1 of 'TMatrix<T>
ShtrassenMultiply(TMatrix<T>&, TMatrix<T>&) [with T = int]'
Original comment by aivyu...@gmail.com
on 26 May 2013 at 2:02
Original comment by zhilinskaya.valentina
on 26 May 2013 at 4:00
Решение принято.
Оценка: 0.2 балла.
Original comment by aivyu...@gmail.com
on 26 May 2013 at 8:13
Original issue reported on code.google.com by
zhilinskaya.valentina
on 23 May 2013 at 8:32