In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_33557507_23224.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = const Node*; _Iterator2 = const Node*]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:890:33: required from 'bool std::__lexicographical_compare_impl(_II1, _II1, _II2, _II2, _Compare) [with _II1 = const Node*; _II2 = const Node*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:913:42: required from 'static bool std::__lexicographical_compare<_BoolType>::__lc(_II1, _II1, _II2, _II2) [with _II1 = const Node*; _II2 = const Node*; bool _BoolType = false]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:947:29: required from 'bool std::__lexicographical_compare_aux(_II1, _II1, _II2, _II2) [with _II1 = const Node*; _II2 = const Node*]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:1225:33: required from 'bool std::lexicographical_compare(_II1, _II1, _II2, _II2) [with _II1 = __gnu_cxx::__normal_iterator<const Node*, std::vector<Node> >; _II2 = __gnu_cxx::__normal_iterator<const Node*, std::vector<Node> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1530:30: required from 'bool std::operator<(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&) [with _Tp = Node; _Alloc = std::allocator<Node>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:42:23: required from 'bool __gnu_cxx::__ops::_Iter_less_iter::operator()(_Iterator1, _Iterator2) const [with _Iterator1 = std::vector<Node>*; _Iterator2 = std::vector<Node>*]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1846:27: required from 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<Node>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<Node>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = std::vector<Node>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4685:72: required from 'void std::sort(_RAIter, _RAIter) [with _RAIter = std::vector<Node>*]'
0_0_33557507_23224.cpp:52:27: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:42:23: error: no match for 'operator<' (operand types are 'const Node' and 'const Node')
{ return *__it1 < *__it2; }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:42:23: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_33557507_23224.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:837:5: note: 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,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:837:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_33557507_23224.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:42:23: note: 'const Node' is not derived from 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>'
{ return *__it1 < *__it2; }
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_33557507_23224.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:844:5: note: 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,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:844:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:60,
from 0_0_33557507_23224.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:42:23: note: 'const Node' is not derived from 'const __gnu_cxx::__normal_iterator<_Iterator, _Container>'
{ return *__it1 < *__it2; }
^
|