In file included from main.cpp:16:0:
find.h: In instantiation of 'Iterator FindIt(const T&, Iterator, Iterator, std::random_access_iterator_tag) [with T = Test; Iterator = __gnu_cxx::__normal_iterator<Test*, std::vector<Test> >]':
find.h:27:18: required from 'Iterator Find(const T&, Iterator, Iterator) [with T = Test; Iterator = __gnu_cxx::__normal_iterator<Test*, std::vector<Test> >]'
main.cpp:67:63: required from here
find.h:9:24: error: no match for 'operator!=' (operand types are 'Test' and 'const Test')
while (l < r && *m != value) {
~~~^~~~~~~~
find.h: In instantiation of 'Iterator FindIt(const T&, Iterator, Iterator, std::bidirectional_iterator_tag) [with T = Test; Iterator = std::_List_iterator<Test>]':
find.h:27:18: required from 'Iterator Find(const T&, Iterator, Iterator) [with T = Test; Iterator = std::_List_iterator<Test>]'
main.cpp:101:63: required from here
find.h:21:36: error: no match for 'operator!=' (operand types are 'Test' and 'const Test')
while (first != last && *first != value) first++;
~~~~~~~^~~~~~~~
|