Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h: In instantiation of '_FIter std::remove(_FIter, _FIter, const _Tp&) [with _FIter = __gnu_cxx::__normal_iterator<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >; _Tp = World::updateAll(float)::__lambda1]':
- items.cpp:158:99: required from here
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if(!(*__first == __value))
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: cannot convert '__value' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: cannot convert '__value' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if(!(*__first == __value))
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if(!(*__first == __value))
- ^
- /usr/include/c++/4.8/bits/stl_algo.h: In instantiation of '_RandomAccessIterator std::__find(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >; _Tp = World::updateAll(float)::__lambda1]':
- /usr/include/c++/4.8/bits/stl_algo.h:4441:45: required from '_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >; _Tp = World::updateAll(float)::__lambda1]'
- /usr/include/c++/4.8/bits/stl_algo.h:1101:62: required from '_FIter std::remove(_FIter, _FIter, const _Tp&) [with _FIter = __gnu_cxx::__normal_iterator<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >; _Tp = World::updateAll(float)::__lambda1]'
- items.cpp:158:99: required from here
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: error: no match for 'operator==' (operand types are 'std::shared_ptr<Item>' and 'const World::updateAll(float)::__lambda1')
- if (*__first == __val)
- ^
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: candidates are:
- In file included from /usr/include/c++/4.8/map:62:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::multimap<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:61:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::map<_Key, _Tp, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/map:60:0,
- from /usr/include/SFML/Graphics/Font.hpp:37,
- from /usr/include/SFML/Graphics.hpp:35,
- from common.hpp:10,
- from items.hpp:11,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::_Rb_tree_iterator<_Tp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/random:52:0,
- from /usr/include/c++/4.8/bits/stl_algo.h:65,
- from /usr/include/c++/4.8/algorithm:62,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::normal_distribution<_RealType>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template<class _Tp> bool std::operator==(std::nullptr_t, const std::shared_ptr<_Tp1>&)
- operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template<class _Tp> bool std::operator==(const std::shared_ptr<_Tp1>&, std::nullptr_t)
- operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:82:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template<class _Tp1, class _Tp2> bool std::operator==(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
- operator==(const shared_ptr<_Tp1>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::shared_ptr<_Tp2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
- operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
- operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: cannot convert '__val' (type 'const World::updateAll(float)::__lambda1') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
- from /usr/include/c++/4.8/memory:82,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator==(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
- operator==(const __shared_ptr<_Tp1, _Lp>& __a,
- ^
- /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'const World::updateAll(float)::__lambda1' is not derived from 'const std::__shared_ptr<_Tp2, _Lp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template<class _Tp, class _Dp> bool std::operator==(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
- operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template<class _Tp, class _Dp> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
- operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:81:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator==(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
- operator==(const unique_ptr<_Tp, _Dp>& __x,
- ^
- /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::unique_ptr<_Tp, _Dp>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: cannot convert '__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator*<std::shared_ptr<Item>*, std::vector<std::shared_ptr<Item> > >()' (type 'std::shared_ptr<Item>') to type 'std::nullptr_t'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/memory:79:0,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::function<_Res(_ArgTypes ...)>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/functional:55:0,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/tuple:39:0,
- from /usr/include/c++/4.8/functional:55,
- from /usr/include/c++/4.8/memory:79,
- from items.hpp:7,
- from items.cpp:1:
- /usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::array<_Tp, _Nm>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/vector:64:0,
- from items.hpp:6,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::vector<_Tp, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8/bits/basic_ios.h:37,
- from /usr/include/c++/4.8/ios:44,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:52:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/string:41:0,
- from /usr/include/c++/4.8/bits/locale_classes.h:40,
- from /usr/include/c++/4.8/bits/ios_base.h:41,
- from /usr/include/c++/4.8/ios:42,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::move_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::reverse_iterator<_Iterator>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8/bits/char_traits.h:39,
- from /usr/include/c++/4.8/ios:40,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::pair<_T1, _T2>'
- if (*__first == __val)
- ^
- In file included from /usr/include/c++/4.8/iosfwd:40:0,
- from /usr/include/c++/4.8/ios:38,
- from /usr/include/c++/4.8/ostream:38,
- from /usr/include/c++/4.8/iostream:39,
- from items.hpp:4,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /usr/include/c++/4.8/algorithm:62:0,
- from items.hpp:8,
- from items.cpp:1:
- /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: 'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
- if (*__first == __val)
- ^
- make: *** [items.o] Error 1
- 02:06:42: The process "/usr/bin/make" exited with code 2.
- Error while building/deploying project ark (kit: Desktop)
- When executing step 'Make'
Advertisement
Add Comment
Please, Sign In to add comment