0_0_33234063_9983.cpp: In function 'int main()':
0_0_33234063_9983.cpp:122:37: error: no match for 'operator+' (operand types are 'll {aka long long int}' and 'matrix')
ll A = (tmp.a[2][1] * b + tmp
^
0_0_33234063_9983.cpp:122:37: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_33234063_9983.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
operator+(typename reverse_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template argument deduction/substitution failed:
0_0_33234063_9983.cpp:122:39: note: 'matrix' is not derived from 'const std::reverse_iterator<_Iterator>'
ll A = (tmp.a[2][1] * b + tmp
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_33234063_9983.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template<class _Iterator> std::move_iterator<_Iterator> std::operator+(typename std::move_iterator<_Iterator>::difference_type, const std::move_iterator<_Iterator>&)
operator+(typename move_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template argument deduction/substitution failed:
0_0_33234063_9983.cpp:122:39: note: 'matrix' is not derived from 'const std::move_iterator<_Iterator>'
ll A = (tmp.a[2][1] * b + tmp
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
from 0_0_33234063_9983.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:297:3: note: std::_Bit_iterator std::operator+(std::ptrdiff_t, const std::_Bit_iterator&)
operator+(ptrdiff_t __n, const _Bit_iterator& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:297:3: note: no known conversion for argument 2 from 'matrix' to 'const std::_Bit_iterator&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:387:3: note: std::_Bit_const_iterator std::operator+(std::ptrdiff_t, const std::_Bit_const_iterator&)
operator+(ptrdiff_t __n, const _Bit_const_iterator& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:387:3: note: no known conversion for argument 2 from 'matrix' to 'const std::_Bit_const_iterator&'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/deque:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:60,
from 0_0_33234063_9983.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:358:5: note: template<class _Tp, class _Ref, class _Ptr> std::_Deque_iterator<_Tp, _Ref, _Ptr> std::operator+(std::ptrdiff_t, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
operator+(ptrdiff_t __n, const _Deque_iterator<_Tp, _Ref, _Ptr>& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_deque.h:358:5: note: template argument deduction/substitution failed:
0_0_33234063_9983.cpp:122:39: note: 'matrix' is not derived from 'const std::_Deque_iterator<_Tp, _Ref, _Ptr>'
ll A = (tmp.a[2][1] * b + tmp
^
0_0_33234063_9983.cpp:122:39: error: expected ')' at end of input
0_0_33234063_9983.cpp:122:39: error: expected ',' or ';' at end of input
0_0_33234063_9983.cpp:122:39: error: expected '}' at end of input
0_0_33234063_9983.cpp:122:39: error: expected '}' at end of input
0_0_33234063_9983.cpp:122:39: error: expected '}' at end of input
|