0_0_27962224_28822.cpp:79:35: error: expected '}' at end of input
BigInteger c = *this; %
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp: In member function 'BigInteger BigInteger::operator-(const BigInteger&) const':
0_0_27962224_28822.cpp:53:18: error: no match for 'operator<=' (operand types are 'const BigInteger' and 'const BigInteger')
assert(b <= *this); // 减数不能大于被减数
^
0_0_27962224_28822.cpp:53:18: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:239:5: note: template<class _T1, class _T2> constexpr bool std::operator<=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:239:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: 'const BigInteger' is not derived from 'const std::pair<_T1, _T2>'
assert(b <= *this); // 减数不能大于被减数
^
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++/algorithm:61,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:316:5: note: template<class _Iterator> bool std::operator<=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator<=(const reverse_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:316:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: 'const BigInteger' is not derived from 'const std::reverse_iterator<_Iterator>'
assert(b <= *this); // 减数不能大于被减数
^
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++/algorithm:61,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:366:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator<=(const reverse_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:366:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: 'const BigInteger' is not derived from 'const std::reverse_iterator<_Iterator>'
assert(b <= *this); // 减数不能大于被减数
^
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++/algorithm:61,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1084:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<=(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
operator<=(const move_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1084:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: 'const BigInteger' is not derived from 'const std::move_iterator<_Iterator>'
assert(b <= *this); // 减数不能大于被减数
^
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++/algorithm:61,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1090:5: note: template<class _Iterator> bool std::operator<=(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
operator<=(const move_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1090:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: 'const BigInteger' is not derived from 'const std::move_iterator<_Iterator>'
assert(b <= *this); // 减数不能大于被减数
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2662:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<=(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2662:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: 'const BigInteger' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
assert(b <= *this); // 减数不能大于被减数
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2674:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<=(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2674:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: 'const BigInteger' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
assert(b <= *this); // 减数不能大于被减数
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2686:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<=(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator<=(const _CharT* __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2686:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43:0,
from 0_0_27962224_28822.cpp:2:
0_0_27962224_28822.cpp:53:22: note: mismatched types 'const _CharT*' and 'BigInteger'
assert(b <= *this); // 减数不能大于被减数
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_27962224_28822.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1547:5: note: template<class _Tp, class _All
|