foo.cc: In function 'int main()':
foo.cc:12:33: error: no match for 'operator>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
12 | if (exam>80&&paper>=1)
| ~~~~^~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/regex:66,
from stdc++.h:110:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1150 | operator>(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
1210 | operator>(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
1303 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1377 | operator>(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1471 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1547 | operator>(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1647 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/string:47,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/locale_classes.h:40,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/ios_base.h:41,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ios:42,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/istream:38,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/sstream:38,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/complex:45,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/ccomplex:39,
from stdc++.h:54:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: candidate: 'template<class _Iterator> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
465 | operator>(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
510 | operator>(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1721 | operator>(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: candidate: 'template<class _Iterator> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1780 | operator>(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_algobase.h:64,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/string:50:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
676 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/string:53:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3737 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3750 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const _CharT*' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3762 | operator>(const _CharT* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/deque:64,
from stdc++.h:68:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2345 | operator>(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/functional:54,
from stdc++.h:71:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1557 | operator>(const tuple<_TElements...>& __t,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/list:63,
from stdc++.h:79:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2196 | operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/map:61,
from stdc++.h:81:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
1563 | operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/map:62:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
1184 | operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/memory:75,
from stdc++.h:82:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:53,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/memory:76:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
1883 | operator>(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1889 | operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1894 | operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
653 | operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: candidate: 'template<class _Tp> bool std::operator>(const shared_ptr<_Tp>&, nullptr_t)'
659 | operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: candidate: 'template<class _Tp> bool std::operator>(nullptr_t, const shared_ptr<_Tp>&)'
665 | operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/vector:64,
from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/queue:61,
from stdc++.h:86:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2087 | operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/queue:64:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
413 | operator>(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/set:61,
from stdc++.h:87:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1037 | operator>(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/set:62:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1024 | operator>(const multiset<_Key,_Compare,_Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/stack:61,
from stdc++.h:89:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
389 | operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:603,
from stdc++.h:95:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
12 | if (exam>80&&paper>=1)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:12:34: note: mismatched types 'const std::valarray<_Tp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^~
In file included from stdc++.h:99:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
350 | operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::array<_Tp, _Nm>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/forward_list:38,
from stdc++.h:104:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
1511 | operator>(const forward_list<_Tp, _Alloc>& __lx,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: template argument deduction/substitution failed:
foo.cc:12:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^~
In file included from stdc++.h:113:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:3: note: candidate: 'bool std::operator>(thread::id, thread::id)'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:24: note: no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'std::thread::id'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ~~~~~~~~~~~^~~
foo.cc:12:43: error: no match for 'operator>=' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
12 | if (exam>80&&paper>=1)
| ~~~~~^~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1139:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>=(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1139 | operator>=(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1139:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1222:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>=(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
1222 | operator>=(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1222:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1315:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>=(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
1315 | operator>=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1315:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1389:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>=(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1389 | operator>=(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1389:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1483:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1483 | operator>=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1483:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1560:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>=(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1560 | operator>=(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1560:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1660:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>=(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1660 | operator>=(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1660:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:479:5: note: candidate: 'template<class _Iterator> bool std::operator>=(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
479 | operator>=(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:479:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:523:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>=(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
523 | operator>=(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:523:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1731:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1731 | operator>=(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1731:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1787:5: note: candidate: 'template<class _Iterator> bool std::operator>=(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1787 | operator>=(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1787:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:688:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>=(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
688 | operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:688:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3813:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>=(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3813 | operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3813:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3826:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>=(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3826 | operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3826:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const _CharT*' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3838:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>=(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3838 | operator>=(const _CharT* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3838:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2359:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>=(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2359 | operator>=(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2359:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1569:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>=(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1569 | operator>=(const tuple<_TElements...>& __t,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1569:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2210:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>=(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2210 | operator>=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2210:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1577:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>=(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
1577 | operator>=(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1577:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1198:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>=(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
1198 | operator>=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1198:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:958:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>=(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
958 | operator>=(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:958:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:966:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>=(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
966 | operator>=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:966:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:972:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>=(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
972 | operator>=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:972:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1899:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>=(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
1899 | operator>=(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1899:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1905:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>=(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1905 | operator>=(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1905:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1910:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>=(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1910 | operator>=(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1910:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:671:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>=(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
671 | operator>=(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:671:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:677:5: note: candidate: 'template<class _Tp> bool std::operator>=(const shared_ptr<_Tp>&, nullptr_t)'
677 | operator>=(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:677:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:683:5: note: candidate: 'template<class _Tp> bool std::operator>=(nullptr_t, const shared_ptr<_Tp>&)'
683 | operator>=(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:683:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2099:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>=(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2099 | operator>=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2099:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:427:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>=(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
427 | operator>=(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:427:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1051:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>=(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1051 | operator>=(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1051:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1038:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>=(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1038 | operator>=(const multiset<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1038:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:403:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>=(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
403 | operator>=(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:403:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater_equal, typename _Dom1::value_type>::result_type> std::operator>=(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
422 | _DEFINE_EXPR_BINARY_OPERATOR(>=, struct std::__greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater_equal, typename _Dom1::value_type>::result_type> std::operator>=(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
422 | _DEFINE_EXPR_BINARY_OPERATOR(>=, struct std::__greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater_equal, typename _Dom1::value_type>::result_type> std::operator>=(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
422 | _DEFINE_EXPR_BINARY_OPERATOR(>=, struct std::__greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater_equal, typename _Dom1::value_type>::result_type> std::operator>=(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
422 | _DEFINE_EXPR_BINARY_OPERATOR(>=, struct std::__greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater_equal, typename _Dom1::value_type>::result_type> std::operator>=(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
422 | _DEFINE_EXPR_BINARY_OPERATOR(>=, struct std::__greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:422:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1203:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater_equal, _Tp>::result_type> std::operator>=(const valarray<_Tp>&, const valarray<_Tp>&)'
1203 | _DEFINE_BINARY_OPERATOR(>=, __greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1203:1: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1203:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater_equal, _Tp>::result_type> std::operator>=(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1203 | _DEFINE_BINARY_OPERATOR(>=, __greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1203:1: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1203:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater_equal, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater_equal, _Tp>::result_type> std::operator>=(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1203 | _DEFINE_BINARY_OPERATOR(>=, __greater_equal)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1203:1: note: template argument deduction/substitution failed:
foo.cc:12:45: note: mismatched types 'const std::valarray<_Tp>' and 'int'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:364:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>=(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
364 | operator>=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:364:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::array<_Tp, _Nm>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1519:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>=(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
1519 | operator>=(const forward_list<_Tp, _Alloc>& __lx,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1519:5: note: template argument deduction/substitution failed:
foo.cc:12:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
12 | if (exam>80&&paper>=1)
| ^
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:89:3: note: candidate: 'bool std::operator>=(thread::id, thread::id)'
89 | operator>=(thread::id __x, thread::id __y) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:89:25: note: no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'std::thread::id'
89 | operator>=(thread::id __x, thread::id __y) noexcept
| ~~~~~~~~~~~^~~
foo.cc:14:40: warning: overflow in conversion from 'int' to 'char' changes value from '8000' to ''@'' [-Woverflow]
14 | bonus+=8000;
| ^~~~
foo.cc:16:33: error: no match for 'operator>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
16 | if (exam>85&&review>80)
| ~~~~^~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1150 | operator>(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
1210 | operator>(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
1303 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1377 | operator>(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1471 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1547 | operator>(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1647 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: candidate: 'template<class _Iterator> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
465 | operator>(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
510 | operator>(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1721 | operator>(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: candidate: 'template<class _Iterator> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1780 | operator>(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
676 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3737 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3750 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const _CharT*' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3762 | operator>(const _CharT* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2345 | operator>(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1557 | operator>(const tuple<_TElements...>& __t,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2196 | operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
1563 | operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
1184 | operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
1883 | operator>(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1889 | operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1894 | operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
653 | operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: candidate: 'template<class _Tp> bool std::operator>(const shared_ptr<_Tp>&, nullptr_t)'
659 | operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: candidate: 'template<class _Tp> bool std::operator>(nullptr_t, const shared_ptr<_Tp>&)'
665 | operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2087 | operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
413 | operator>(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1037 | operator>(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1024 | operator>(const multiset<_Key,_Compare,_Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
389 | operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:16:34: note: mismatched types 'const std::valarray<_Tp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
350 | operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::array<_Tp, _Nm>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
1511 | operator>(const forward_list<_Tp, _Alloc>& __lx,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: template argument deduction/substitution failed:
foo.cc:16:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:3: note: candidate: 'bool std::operator>(thread::id, thread::id)'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:24: note: no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'std::thread::id'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ~~~~~~~~~~~^~~
foo.cc:16:44: error: no match for 'operator>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
16 | if (exam>85&&review>80)
| ~~~~~~^~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1150 | operator>(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
1210 | operator>(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
1303 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1377 | operator>(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1471 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1547 | operator>(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1647 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: candidate: 'template<class _Iterator> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
465 | operator>(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
510 | operator>(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1721 | operator>(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: candidate: 'template<class _Iterator> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1780 | operator>(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
676 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3737 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3750 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const _CharT*' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3762 | operator>(const _CharT* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2345 | operator>(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1557 | operator>(const tuple<_TElements...>& __t,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2196 | operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
1563 | operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
1184 | operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
1883 | operator>(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1889 | operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1894 | operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
653 | operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: candidate: 'template<class _Tp> bool std::operator>(const shared_ptr<_Tp>&, nullptr_t)'
659 | operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: candidate: 'template<class _Tp> bool std::operator>(nullptr_t, const shared_ptr<_Tp>&)'
665 | operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2087 | operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
413 | operator>(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1037 | operator>(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1024 | operator>(const multiset<_Key,_Compare,_Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
389 | operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:16:45: note: mismatched types 'const std::valarray<_Tp>' and 'int'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
350 | operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::array<_Tp, _Nm>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
1511 | operator>(const forward_list<_Tp, _Alloc>& __lx,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: template argument deduction/substitution failed:
foo.cc:16:45: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
16 | if (exam>85&&review>80)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:3: note: candidate: 'bool std::operator>(thread::id, thread::id)'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:24: note: no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'std::thread::id'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ~~~~~~~~~~~^~~
foo.cc:18:40: warning: overflow in conversion from 'int' to 'char' changes value from '4000' to ''\37777777640'' [-Woverflow]
18 | bonus+=4000;
| ^~~~
foo.cc:20:32: error: no match for 'operator>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
20 | if(exam>90)
| ~~~~^~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1150 | operator>(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
1210 | operator>(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
1303 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1377 | operator>(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1471 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1547 | operator>(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1647 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: candidate: 'template<class _Iterator> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
465 | operator>(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
510 | operator>(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1721 | operator>(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: candidate: 'template<class _Iterator> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1780 | operator>(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
676 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3737 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3750 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const _CharT*' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3762 | operator>(const _CharT* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2345 | operator>(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1557 | operator>(const tuple<_TElements...>& __t,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2196 | operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
1563 | operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
1184 | operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
1883 | operator>(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1889 | operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1894 | operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
653 | operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: candidate: 'template<class _Tp> bool std::operator>(const shared_ptr<_Tp>&, nullptr_t)'
659 | operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: candidate: 'template<class _Tp> bool std::operator>(nullptr_t, const shared_ptr<_Tp>&)'
665 | operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2087 | operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
413 | operator>(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1037 | operator>(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1024 | operator>(const multiset<_Key,_Compare,_Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
389 | operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:20:33: note: mismatched types 'const std::valarray<_Tp>' and 'int'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
350 | operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::array<_Tp, _Nm>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
1511 | operator>(const forward_list<_Tp, _Alloc>& __lx,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: template argument deduction/substitution failed:
foo.cc:20:33: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
20 | if(exam>90)
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:3: note: candidate: 'bool std::operator>(thread::id, thread::id)'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:24: note: no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'std::thread::id'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ~~~~~~~~~~~^~~
foo.cc:22:40: warning: overflow in conversion from 'int' to 'char' changes value from '2000' to ''\37777777720'' [-Woverflow]
22 | bonus+=2000;
| ^~~~
foo.cc:24:33: error: no match for 'operator>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
24 | if (exam>85&&west=='Y')
| ~~~~^~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1150 | operator>(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
1210 | operator>(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
1303 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1377 | operator>(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1471 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1547 | operator>(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1647 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: candidate: 'template<class _Iterator> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
465 | operator>(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
510 | operator>(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1721 | operator>(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: candidate: 'template<class _Iterator> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1780 | operator>(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
676 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3737 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3750 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const _CharT*' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3762 | operator>(const _CharT* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2345 | operator>(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1557 | operator>(const tuple<_TElements...>& __t,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2196 | operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
1563 | operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
1184 | operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
1883 | operator>(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1889 | operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1894 | operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
653 | operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: candidate: 'template<class _Tp> bool std::operator>(const shared_ptr<_Tp>&, nullptr_t)'
659 | operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: candidate: 'template<class _Tp> bool std::operator>(nullptr_t, const shared_ptr<_Tp>&)'
665 | operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2087 | operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
413 | operator>(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1037 | operator>(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1024 | operator>(const multiset<_Key,_Compare,_Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
389 | operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:24:34: note: mismatched types 'const std::valarray<_Tp>' and 'int'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
350 | operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::array<_Tp, _Nm>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
1511 | operator>(const forward_list<_Tp, _Alloc>& __lx,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: template argument deduction/substitution failed:
foo.cc:24:34: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
24 | if (exam>85&&west=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:3: note: candidate: 'bool std::operator>(thread::id, thread::id)'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:24: note: no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'std::thread::id'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ~~~~~~~~~~~^~~
foo.cc:26:40: warning: overflow in conversion from 'int' to 'char' changes value from '1000' to ''\37777777750'' [-Woverflow]
26 | bonus+=1000;
| ^~~~
foo.cc:28:35: error: no match for 'operator>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
28 | if (review>80&&cadres=='Y')
| ~~~~~~^~~
| | |
| | int
| std::string {aka std::__cxx11::basic_string<char>}
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: candidate: 'template<class _BiIter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const sub_match<_BiIter>&)'
1150 | operator>(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1150:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)'
1210 | operator>(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1210:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: candidate: 'template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator>(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)'
1303 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1303:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type*, const sub_match<_BiIter>&)'
1377 | operator>(typename iterator_traits<_Bi_iter>::value_type const* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1377:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type*)'
1471 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1471:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const typename std::iterator_traits<_Iter>::value_type&, const sub_match<_BiIter>&)'
1547 | operator>(typename iterator_traits<_Bi_iter>::value_type const& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1547:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::__cxx11::sub_match<_BiIter>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: candidate: 'template<class _Bi_iter> bool std::__cxx11::operator>(const sub_match<_BiIter>&, const typename std::iterator_traits<_Iter>::value_type&)'
1647 | operator>(const sub_match<_Bi_iter>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/regex.h:1647:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::sub_match<_BiIter>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: candidate: 'template<class _Iterator> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_Iterator>&)'
465 | operator>(const reverse_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:465:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const reverse_iterator<_Iterator>&, const reverse_iterator<_IteratorR>&)'
510 | operator>(const reverse_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:510:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::reverse_iterator<_Iterator>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: candidate: 'template<class _IteratorL, class _IteratorR> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorR>&)'
1721 | operator>(const move_iterator<_IteratorL>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1721:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: candidate: 'template<class _Iterator> bool std::operator>(const move_iterator<_IteratorL>&, const move_iterator<_IteratorL>&)'
1780 | operator>(const move_iterator<_Iterator>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_iterator.h:1780:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::move_iterator<_IteratorL>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator>(const pair<_T1, _T2>&, const pair<_T1, _T2>&)'
676 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_pair.h:676:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::pair<_T1, _T2>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3737 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3737:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const __cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)'
3750 | operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3750:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const _CharT*' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator>(const _CharT*, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)'
3762 | operator>(const _CharT* __lhs,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/basic_string.h:3762:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const deque<_Tp, _Alloc>&, const deque<_Tp, _Alloc>&)'
2345 | operator>(const deque<_Tp, _Alloc>& __x, const deque<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_deque.h:2345:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::deque<_Tp, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator>(const tuple<_Elements ...>&, const tuple<_Types ...>&)'
1557 | operator>(const tuple<_TElements...>& __t,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/tuple:1557:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::tuple<_Elements ...>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const __cxx11::list<_Tp, _Alloc>&, const __cxx11::list<_Tp, _Alloc>&)'
2196 | operator>(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_list.h:2196:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const map<_Key, _Tp, _Compare, _Alloc>&, const map<_Key, _Tp, _Compare, _Alloc>&)'
1563 | operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_map.h:1563:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: candidate: 'template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const multimap<_Key, _Tp, _Compare, _Alloc>&, const multimap<_Key, _Tp, _Compare, _Alloc>&)'
1184 | operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multimap.h:1184:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: candidate: 'template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator>(const unique_ptr<_Tp, _Dp>&, const unique_ptr<_Up, _Ep>&)'
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:929:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(const unique_ptr<_Tp, _Dp>&, nullptr_t)'
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:937:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::unique_ptr<_Tp, _Dp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: candidate: 'template<class _Tp, class _Dp> bool std::operator>(nullptr_t, const unique_ptr<_Tp, _Dp>&)'
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/unique_ptr.h:947:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::unique_ptr<_Tp, _Dp>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: candidate: 'template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp1, _Lp>&, const __shared_ptr<_Tp2, _Lp>&)'
1883 | operator>(const __shared_ptr<_Tp1, _Lp>& __a,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1883:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp1, _Lp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(const __shared_ptr<_Tp, _Lp>&, nullptr_t)'
1889 | operator>(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1889:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: candidate: 'template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>&)'
1894 | operator>(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr_base.h:1894:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::__shared_ptr<_Tp, _Lp>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: candidate: 'template<class _Tp, class _Up> bool std::operator>(const shared_ptr<_Tp>&, const shared_ptr<_Tp>&)'
653 | operator>(const shared_ptr<_Tp>& __a, const shared_ptr<_Up>& __b) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:653:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: candidate: 'template<class _Tp> bool std::operator>(const shared_ptr<_Tp>&, nullptr_t)'
659 | operator>(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:659:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::shared_ptr<_Tp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: candidate: 'template<class _Tp> bool std::operator>(nullptr_t, const shared_ptr<_Tp>&)'
665 | operator>(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/shared_ptr.h:665:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::shared_ptr<_Tp>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const vector<_Tp, _Alloc>&, const vector<_Tp, _Alloc>&)'
2087 | operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_vector.h:2087:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::vector<_Tp, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const queue<_Tp, _Seq>&, const queue<_Tp, _Seq>&)'
413 | operator>(const queue<_Tp, _Seq>& __x, const queue<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_queue.h:413:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::queue<_Tp, _Seq>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const set<_Key, _Compare, _Alloc>&, const set<_Key, _Compare, _Alloc>&)'
1037 | operator>(const set<_Key, _Compare, _Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_set.h:1037:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::set<_Key, _Compare, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: candidate: 'template<class _Key, class _Compare, class _Alloc> bool std::operator>(const multiset<_Key, _Compare, _Alloc>&, const multiset<_Key, _Compare, _Alloc>&)'
1024 | operator>(const multiset<_Key,_Compare,_Alloc>& __x,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_multiset.h:1024:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::multiset<_Key, _Compare, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: candidate: 'template<class _Tp, class _Seq> bool std::operator>(const stack<_Tp, _Seq>&, const stack<_Tp, _Seq>&)'
389 | operator>(const stack<_Tp, _Seq>& __x, const stack<_Tp, _Seq>& __y)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_stack.h:389:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::stack<_Tp, _Seq>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray<typename _Dom::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: candidate: 'template<class _Dom> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__greater, typename _Dom1::value_type>::result_type> std::operator>(const valarray<typename _Dom::value_type>&, const _Expr<_Dom1, typename _Dom1::value_type>&)'
420 | _DEFINE_EXPR_BINARY_OPERATOR(>, struct std::__greater)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/valarray_after.h:420:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::_Expr<_Dom1, typename _Dom1::value_type>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::valarray<_Tp>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: candidate: 'template<class _Tp> std::_Expr<std::__detail::_BinClos<std::__greater, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__greater, _Tp>::result_type> std::operator>(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)'
1201 | _DEFINE_BINARY_OPERATOR(>, __greater)
| ^~~~~~~~~~~~~~~~~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/valarray:1201:1: note: template argument deduction/substitution failed:
foo.cc:28:36: note: mismatched types 'const std::valarray<_Tp>' and 'int'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator>(const array<_Tp, _Nm>&, const array<_Tp, _Nm>&)'
350 | operator>(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/array:350:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::array<_Tp, _Nm>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: candidate: 'template<class _Tp, class _Alloc> bool std::operator>(const forward_list<_Tp, _Alloc>&, const forward_list<_Tp, _Alloc>&)'
1511 | operator>(const forward_list<_Tp, _Alloc>& __lx,
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/forward_list.h:1511:5: note: template argument deduction/substitution failed:
foo.cc:28:36: note: 'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'const std::forward_list<_Tp, _Alloc>'
28 | if (review>80&&cadres=='Y')
| ^~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:3: note: candidate: 'bool std::operator>(thread::id, thread::id)'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ^~~~~~~~
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/thread:85:24: note: no known conversion for argument 1 from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'std::thread::id'
85 | operator>(thread::id __x, thread::id __y) noexcept
| ~~~~~~~~~~~^~~
foo.cc:30:40: warning: overflow in conversion from 'int' to 'char' changes value from '850' to ''R'' [-Woverflow]
30 | bonus+=850;
| ^~~