Author
anonymous
over 6 years ago
Language
C++
Compiler
gcc 8.2.0
Options
Warnings
Boost 1.68.0
C++17
no pedantic
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-8.2.0/include -std=c++17
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple: In instantiation of 'static constexpr bool std::__tuple_compare<_Tp, _Up, __i, __size>::__less(const _Tp&, const _Up&) [with _Tp = std::tuple<const int&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>; _Up = std::tuple<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const int&>; long unsigned int __i = 0; long unsigned int __size = 2]':
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1434:31: required from 'constexpr bool std::operator<(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&) [with _TElements = {const int&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; _UElements = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const int&}]'
prog.cc:10:54: required from here
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: error: no match for 'operator<' (operand types are 'const int' and 'const std::__cxx11::basic_string<char>')
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/utility:70,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:38,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)'
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::pair<_T1, _T2>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)'
operator<(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)'
operator<(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)'
operator<(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)'
operator<(const move_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::basic_string_view<_CharT, _Traits>)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >, std::basic_string_view<_CharT, _Traits>)'
operator< (__detail::__idt<basic_string_view<_CharT, _Traits>> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'std::__cxx11::basic_string<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const _CharT* __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const _CharT*' and 'int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)'
operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::array<_Tp, _Nm>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&)'
operator<(const tuple<_TElements...>& __t,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: template argument deduction/substitution failed:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::tuple<_Tps ...>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: candidate: 'template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)'
operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: candidate: 'template<class _Iterator, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)'
operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const __gnu_cxx::__normal_iterator<_Iterator, _Container>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: error: no match for 'operator<' (operand types are 'const std::__cxx11::basic_string<char>' and 'const int')
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/utility:70,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:38,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)'
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::pair<_T1, _T2>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)'
operator<(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)'
operator<(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)'
operator<(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::move_iterator<_IteratorL>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)'
operator<(const move_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::move_iterator<_IteratorL>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::basic_string_view<_CharT, _Traits>)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'std::__cxx11::basic_string<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'std::__cxx11::basic_string<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >, std::basic_string_view<_CharT, _Traits>)'
operator< (__detail::__idt<basic_string_view<_CharT, _Traits>> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const _CharT*' and 'int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const _CharT* __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)'
operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::array<_Tp, _Nm>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&)'
operator<(const tuple<_TElements...>& __t,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: template argument deduction/substitution failed:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::tuple<_Tps ...>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: candidate: 'template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)'
operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: candidate: 'template<class _Iterator, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)'
operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const __gnu_cxx::__normal_iterator<_Iterator, _Container>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple: In instantiation of 'static constexpr bool std::__tuple_compare<_Tp, _Up, __i, __size>::__less(const _Tp&, const _Up&) [with _Tp = std::tuple<const int&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>; _Up = std::tuple<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const int&>; long unsigned int __i = 1; long unsigned int __size = 2]':
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1397:61: required from 'static constexpr bool std::__tuple_compare<_Tp, _Up, __i, __size>::__less(const _Tp&, const _Up&) [with _Tp = std::tuple<const int&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>; _Up = std::tuple<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const int&>; long unsigned int __i = 0; long unsigned int __size = 2]'
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1434:31: required from 'constexpr bool std::operator<(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&) [with _TElements = {const int&, const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; _UElements = {const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, const int&}]'
prog.cc:10:54: required from here
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: error: no match for 'operator<' (operand types are 'const std::__cxx11::basic_string<char>' and 'const int')
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/utility:70,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:38,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)'
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::pair<_T1, _T2>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)'
operator<(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)'
operator<(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::reverse_iterator<_Iterator>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)'
operator<(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::move_iterator<_IteratorL>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)'
operator<(const move_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::move_iterator<_IteratorL>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::basic_string_view<_CharT, _Traits>)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'std::__cxx11::basic_string<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'std::__cxx11::basic_string<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >, std::basic_string_view<_CharT, _Traits>)'
operator< (__detail::__idt<basic_string_view<_CharT, _Traits>> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' and 'const int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const _CharT*' and 'int'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const _CharT* __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<char>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)'
operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::array<_Tp, _Nm>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&)'
operator<(const tuple<_TElements...>& __t,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: template argument deduction/substitution failed:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const std::tuple<_Tps ...>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: candidate: 'template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)'
operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: candidate: 'template<class _Iterator, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)'
operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1395:33: note: 'const std::__cxx11::basic_string<char>' is not derived from 'const __gnu_cxx::__normal_iterator<_Iterator, _Container>'
return bool(std::get<__i>(__t) < std::get<__i>(__u))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: error: no match for 'operator<' (operand types are 'const int' and 'const std::__cxx11::basic_string<char>')
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/utility:70,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:38,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)'
operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:449:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::pair<_T1, _T2>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)'
operator<(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:305:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)'
operator<(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:343:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: candidate: 'template<class _IteratorL, class _IteratorR> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&)'
operator<(const move_iterator<_IteratorL>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1136:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: candidate: 'template<class _Iterator> constexpr bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)'
operator<(const move_iterator<_Iterator>& __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:1142:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::basic_string_view<_CharT, _Traits>)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:472:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::basic_string_view<_CharT, _Traits>, std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >)'
operator< (basic_string_view<_CharT, _Traits> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:478:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'std::basic_string_view<_CharT, _Traits>' and 'int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:48,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: candidate: 'template<class _CharT, class _Traits> constexpr bool std::operator<(std::__detail::__idt<std::basic_string_view<_CharT, _Traits> >, std::basic_string_view<_CharT, _Traits>)'
operator< (__detail::__idt<basic_string_view<_CharT, _Traits>> __x,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string_view:484:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: 'std::__cxx11::basic_string<char>' is not derived from 'std::basic_string_view<_CharT, _Traits>'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6124:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&, const _CharT*)'
operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6137:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:52,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
operator<(const _CharT* __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6149:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const _CharT*' and 'int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: candidate: 'template<class _Tp, long unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)'
operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:262:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::array<_Tp, _Nm>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: candidate: 'template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Tps ...>&, const std::tuple<_Elements ...>&)'
operator<(const tuple<_TElements...>& __t,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1426:5: note: template argument deduction/substitution failed:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const std::tuple<_Tps ...>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: candidate: 'template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&)'
operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:889:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:67,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/string:40,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/stdexcept:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/array:39,
from /opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:39,
from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: candidate: 'template<class _Iterator, class _Container> bool __gnu_cxx::operator<(const __gnu_cxx::__normal_iterator<_Iterator, _Container>&, const __gnu_cxx::__normal_iterator<_Iterator, _Container>&)'
operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
^~~~~~~~
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/bits/stl_iterator.h:896:5: note: template argument deduction/substitution failed:
In file included from prog.cc:1:
/opt/wandbox/gcc-8.2.0/include/c++/8.2.0/tuple:1396:33: note: mismatched types 'const __gnu_cxx::__normal_iterator<_Iterator, _Container>' and 'const int'
|| (!bool(std::get<__i>(__u) < std::get<__i>(__t))
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Exit Code:
1