Guest User

Untitled

a guest
Oct 13th, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 246.16 KB | None | 0 0
  1. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2.                  from items.hpp:8,
  3.                  from items.cpp:1:
  4. /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]':
  5. items.cpp:158:99:   required from here
  6. /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')
  7.          if(!(*__first == __value))
  8.                        ^
  9. /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note: candidates are:
  10. In file included from /usr/include/c++/4.8/map:62:0,
  11.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  12.                  from /usr/include/SFML/Graphics.hpp:35,
  13.                  from common.hpp:10,
  14.                  from items.hpp:11,
  15.                  from items.cpp:1:
  16. /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>&)
  17.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  18.      ^
  19. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  20. In file included from /usr/include/c++/4.8/algorithm:62:0,
  21.                  from items.hpp:8,
  22.                  from items.cpp:1:
  23. /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>'
  24.          if(!(*__first == __value))
  25.                        ^
  26. In file included from /usr/include/c++/4.8/map:61:0,
  27.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  28.                  from /usr/include/SFML/Graphics.hpp:35,
  29.                  from common.hpp:10,
  30.                  from items.hpp:11,
  31.                  from items.cpp:1:
  32. /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>&)
  33.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  34.      ^
  35. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  36. In file included from /usr/include/c++/4.8/algorithm:62:0,
  37.                  from items.hpp:8,
  38.                  from items.cpp:1:
  39. /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>'
  40.          if(!(*__first == __value))
  41.                        ^
  42. In file included from /usr/include/c++/4.8/map:60:0,
  43.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  44.                  from /usr/include/SFML/Graphics.hpp:35,
  45.                  from common.hpp:10,
  46.                  from items.hpp:11,
  47.                  from items.cpp:1:
  48. /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>&)
  49.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  50.      ^
  51. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  52. In file included from /usr/include/c++/4.8/algorithm:62:0,
  53.                  from items.hpp:8,
  54.                  from items.cpp:1:
  55. /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>'
  56.          if(!(*__first == __value))
  57.                        ^
  58. In file included from /usr/include/c++/4.8/map:60:0,
  59.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  60.                  from /usr/include/SFML/Graphics.hpp:35,
  61.                  from common.hpp:10,
  62.                  from items.hpp:11,
  63.                  from items.cpp:1:
  64. /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>&)
  65.      operator==(const _Rb_tree_iterator<_Val>& __x,
  66.      ^
  67. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  68. In file included from /usr/include/c++/4.8/algorithm:62:0,
  69.                  from items.hpp:8,
  70.                  from items.cpp:1:
  71. /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>'
  72.          if(!(*__first == __value))
  73.                        ^
  74. In file included from /usr/include/c++/4.8/random:52:0,
  75.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  76.                  from /usr/include/c++/4.8/algorithm:62,
  77.                  from items.hpp:8,
  78.                  from items.cpp:1:
  79. /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>&)
  80.      operator==(const std::normal_distribution<_RealType>& __d1,
  81.      ^
  82. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  83. In file included from /usr/include/c++/4.8/algorithm:62:0,
  84.                  from items.hpp:8,
  85.                  from items.cpp:1:
  86. /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>'
  87.          if(!(*__first == __value))
  88.                        ^
  89. In file included from /usr/include/c++/4.8/memory:82:0,
  90.                  from items.hpp:7,
  91.                  from items.cpp:1:
  92. /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>&)
  93.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  94.      ^
  95. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  96. In file included from /usr/include/c++/4.8/algorithm:62:0,
  97.                  from items.hpp:8,
  98.                  from items.cpp:1:
  99. /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'
  100.          if(!(*__first == __value))
  101.                        ^
  102. In file included from /usr/include/c++/4.8/memory:82:0,
  103.                  from items.hpp:7,
  104.                  from items.cpp:1:
  105. /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)
  106.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  107.      ^
  108. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  109. In file included from /usr/include/c++/4.8/algorithm:62:0,
  110.                  from items.hpp:8,
  111.                  from items.cpp:1:
  112. /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'
  113.          if(!(*__first == __value))
  114.                        ^
  115. In file included from /usr/include/c++/4.8/memory:82:0,
  116.                  from items.hpp:7,
  117.                  from items.cpp:1:
  118. /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>&)
  119.      operator==(const shared_ptr<_Tp1>& __a,
  120.      ^
  121. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  122. In file included from /usr/include/c++/4.8/algorithm:62:0,
  123.                  from items.hpp:8,
  124.                  from items.cpp:1:
  125. /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>'
  126.          if(!(*__first == __value))
  127.                        ^
  128. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  129.                  from /usr/include/c++/4.8/memory:82,
  130.                  from items.hpp:7,
  131.                  from items.cpp:1:
  132. /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>&)
  133.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  134.      ^
  135. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  136. In file included from /usr/include/c++/4.8/algorithm:62:0,
  137.                  from items.hpp:8,
  138.                  from items.cpp:1:
  139. /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'
  140.          if(!(*__first == __value))
  141.                        ^
  142. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  143.                  from /usr/include/c++/4.8/memory:82,
  144.                  from items.hpp:7,
  145.                  from items.cpp:1:
  146. /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)
  147.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  148.      ^
  149. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  150. In file included from /usr/include/c++/4.8/algorithm:62:0,
  151.                  from items.hpp:8,
  152.                  from items.cpp:1:
  153. /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'
  154.          if(!(*__first == __value))
  155.                        ^
  156. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  157.                  from /usr/include/c++/4.8/memory:82,
  158.                  from items.hpp:7,
  159.                  from items.cpp:1:
  160. /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>&)
  161.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  162.      ^
  163. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  164. In file included from /usr/include/c++/4.8/algorithm:62:0,
  165.                  from items.hpp:8,
  166.                  from items.cpp:1:
  167. /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>'
  168.          if(!(*__first == __value))
  169.                        ^
  170. In file included from /usr/include/c++/4.8/memory:81:0,
  171.                  from items.hpp:7,
  172.                  from items.cpp:1:
  173. /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>&)
  174.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  175.      ^
  176. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  177. In file included from /usr/include/c++/4.8/algorithm:62:0,
  178.                  from items.hpp:8,
  179.                  from items.cpp:1:
  180. /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'
  181.          if(!(*__first == __value))
  182.                        ^
  183. In file included from /usr/include/c++/4.8/memory:81:0,
  184.                  from items.hpp:7,
  185.                  from items.cpp:1:
  186. /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)
  187.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  188.      ^
  189. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  190. In file included from /usr/include/c++/4.8/algorithm:62:0,
  191.                  from items.hpp:8,
  192.                  from items.cpp:1:
  193. /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>'
  194.          if(!(*__first == __value))
  195.                        ^
  196. In file included from /usr/include/c++/4.8/memory:81:0,
  197.                  from items.hpp:7,
  198.                  from items.cpp:1:
  199. /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>&)
  200.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  201.      ^
  202. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  203. In file included from /usr/include/c++/4.8/algorithm:62:0,
  204.                  from items.hpp:8,
  205.                  from items.cpp:1:
  206. /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>'
  207.          if(!(*__first == __value))
  208.                        ^
  209. In file included from /usr/include/c++/4.8/memory:79:0,
  210.                  from items.hpp:7,
  211.                  from items.cpp:1:
  212. /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 ...)>&)
  213.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  214.      ^
  215. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  216. In file included from /usr/include/c++/4.8/algorithm:62:0,
  217.                  from items.hpp:8,
  218.                  from items.cpp:1:
  219. /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'
  220.          if(!(*__first == __value))
  221.                        ^
  222. In file included from /usr/include/c++/4.8/memory:79:0,
  223.                  from items.hpp:7,
  224.                  from items.cpp:1:
  225. /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)
  226.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  227.      ^
  228. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  229. In file included from /usr/include/c++/4.8/algorithm:62:0,
  230.                  from items.hpp:8,
  231.                  from items.cpp:1:
  232. /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 ...)>'
  233.          if(!(*__first == __value))
  234.                        ^
  235. In file included from /usr/include/c++/4.8/functional:55:0,
  236.                  from /usr/include/c++/4.8/memory:79,
  237.                  from items.hpp:7,
  238.                  from items.cpp:1:
  239. /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 ...>&)
  240.      operator==(const tuple<_TElements...>& __t,
  241.      ^
  242. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  243. In file included from /usr/include/c++/4.8/algorithm:62:0,
  244.                  from items.hpp:8,
  245.                  from items.cpp:1:
  246. /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  247.          if(!(*__first == __value))
  248.                        ^
  249. In file included from /usr/include/c++/4.8/tuple:39:0,
  250.                  from /usr/include/c++/4.8/functional:55,
  251.                  from /usr/include/c++/4.8/memory:79,
  252.                  from items.hpp:7,
  253.                  from items.cpp:1:
  254. /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>&)
  255.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  256.      ^
  257. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  258. In file included from /usr/include/c++/4.8/algorithm:62:0,
  259.                  from items.hpp:8,
  260.                  from items.cpp:1:
  261. /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>'
  262.          if(!(*__first == __value))
  263.                        ^
  264. In file included from /usr/include/c++/4.8/vector:64:0,
  265.                  from items.hpp:6,
  266.                  from items.cpp:1:
  267. /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>&)
  268.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  269.      ^
  270. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  271. In file included from /usr/include/c++/4.8/algorithm:62:0,
  272.                  from items.hpp:8,
  273.                  from items.cpp:1:
  274. /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>'
  275.          if(!(*__first == __value))
  276.                        ^
  277. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  278.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  279.                  from /usr/include/c++/4.8/ios:44,
  280.                  from /usr/include/c++/4.8/ostream:38,
  281.                  from /usr/include/c++/4.8/iostream:39,
  282.                  from items.hpp:4,
  283.                  from items.cpp:1:
  284. /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>&)
  285.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  286.      ^
  287. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  288. In file included from /usr/include/c++/4.8/algorithm:62:0,
  289.                  from items.hpp:8,
  290.                  from items.cpp:1:
  291. /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>'
  292.          if(!(*__first == __value))
  293.                        ^
  294. In file included from /usr/include/c++/4.8/string:52:0,
  295.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  296.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  297.                  from /usr/include/c++/4.8/ios:42,
  298.                  from /usr/include/c++/4.8/ostream:38,
  299.                  from /usr/include/c++/4.8/iostream:39,
  300.                  from items.hpp:4,
  301.                  from items.cpp:1:
  302. /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*)
  303.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  304.      ^
  305. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  306. In file included from /usr/include/c++/4.8/algorithm:62:0,
  307.                  from items.hpp:8,
  308.                  from items.cpp:1:
  309. /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>'
  310.          if(!(*__first == __value))
  311.                        ^
  312. In file included from /usr/include/c++/4.8/string:52:0,
  313.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  314.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  315.                  from /usr/include/c++/4.8/ios:42,
  316.                  from /usr/include/c++/4.8/ostream:38,
  317.                  from /usr/include/c++/4.8/iostream:39,
  318.                  from items.hpp:4,
  319.                  from items.cpp:1:
  320. /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>&)
  321.      operator==(const _CharT* __lhs,
  322.      ^
  323. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  324. In file included from /usr/include/c++/4.8/algorithm:62:0,
  325.                  from items.hpp:8,
  326.                  from items.cpp:1:
  327. /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  328.          if(!(*__first == __value))
  329.                        ^
  330. In file included from /usr/include/c++/4.8/string:52:0,
  331.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  332.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  333.                  from /usr/include/c++/4.8/ios:42,
  334.                  from /usr/include/c++/4.8/ostream:38,
  335.                  from /usr/include/c++/4.8/iostream:39,
  336.                  from items.hpp:4,
  337.                  from items.cpp:1:
  338. /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>&)
  339.      operator==(const basic_string<_CharT>& __lhs,
  340.      ^
  341. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  342. In file included from /usr/include/c++/4.8/algorithm:62:0,
  343.                  from items.hpp:8,
  344.                  from items.cpp:1:
  345. /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>'
  346.          if(!(*__first == __value))
  347.                        ^
  348. In file included from /usr/include/c++/4.8/string:52:0,
  349.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  350.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  351.                  from /usr/include/c++/4.8/ios:42,
  352.                  from /usr/include/c++/4.8/ostream:38,
  353.                  from /usr/include/c++/4.8/iostream:39,
  354.                  from items.hpp:4,
  355.                  from items.cpp:1:
  356. /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>&)
  357.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  358.      ^
  359. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  360. In file included from /usr/include/c++/4.8/algorithm:62:0,
  361.                  from items.hpp:8,
  362.                  from items.cpp:1:
  363. /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>'
  364.          if(!(*__first == __value))
  365.                        ^
  366. In file included from /usr/include/c++/4.8/string:41:0,
  367.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  368.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  369.                  from /usr/include/c++/4.8/ios:42,
  370.                  from /usr/include/c++/4.8/ostream:38,
  371.                  from /usr/include/c++/4.8/iostream:39,
  372.                  from items.hpp:4,
  373.                  from items.cpp:1:
  374. /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>&)
  375.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  376.      ^
  377. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  378. In file included from /usr/include/c++/4.8/algorithm:62:0,
  379.                  from items.hpp:8,
  380.                  from items.cpp:1:
  381. /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  382.          if(!(*__first == __value))
  383.                        ^
  384. In file included from /usr/include/c++/4.8/string:41:0,
  385.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  386.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  387.                  from /usr/include/c++/4.8/ios:42,
  388.                  from /usr/include/c++/4.8/ostream:38,
  389.                  from /usr/include/c++/4.8/iostream:39,
  390.                  from items.hpp:4,
  391.                  from items.cpp:1:
  392. /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>&)
  393.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  394.      ^
  395. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  396. In file included from /usr/include/c++/4.8/algorithm:62:0,
  397.                  from items.hpp:8,
  398.                  from items.cpp:1:
  399. /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  400.          if(!(*__first == __value))
  401.                        ^
  402. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  403.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  404.                  from /usr/include/c++/4.8/ios:40,
  405.                  from /usr/include/c++/4.8/ostream:38,
  406.                  from /usr/include/c++/4.8/iostream:39,
  407.                  from items.hpp:4,
  408.                  from items.cpp:1:
  409. /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>&)
  410.      operator==(const move_iterator<_Iterator>& __x,
  411.      ^
  412. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  413. In file included from /usr/include/c++/4.8/algorithm:62:0,
  414.                  from items.hpp:8,
  415.                  from items.cpp:1:
  416. /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>'
  417.          if(!(*__first == __value))
  418.                        ^
  419. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  420.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  421.                  from /usr/include/c++/4.8/ios:40,
  422.                  from /usr/include/c++/4.8/ostream:38,
  423.                  from /usr/include/c++/4.8/iostream:39,
  424.                  from items.hpp:4,
  425.                  from items.cpp:1:
  426. /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>&)
  427.      operator==(const move_iterator<_IteratorL>& __x,
  428.      ^
  429. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  430. In file included from /usr/include/c++/4.8/algorithm:62:0,
  431.                  from items.hpp:8,
  432.                  from items.cpp:1:
  433. /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>'
  434.          if(!(*__first == __value))
  435.                        ^
  436. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  437.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  438.                  from /usr/include/c++/4.8/ios:40,
  439.                  from /usr/include/c++/4.8/ostream:38,
  440.                  from /usr/include/c++/4.8/iostream:39,
  441.                  from items.hpp:4,
  442.                  from items.cpp:1:
  443. /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>&)
  444.      operator==(const reverse_iterator<_IteratorL>& __x,
  445.      ^
  446. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  447. In file included from /usr/include/c++/4.8/algorithm:62:0,
  448.                  from items.hpp:8,
  449.                  from items.cpp:1:
  450. /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>'
  451.          if(!(*__first == __value))
  452.                        ^
  453. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  454.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  455.                  from /usr/include/c++/4.8/ios:40,
  456.                  from /usr/include/c++/4.8/ostream:38,
  457.                  from /usr/include/c++/4.8/iostream:39,
  458.                  from items.hpp:4,
  459.                  from items.cpp:1:
  460. /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>&)
  461.      operator==(const reverse_iterator<_Iterator>& __x,
  462.      ^
  463. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  464. In file included from /usr/include/c++/4.8/algorithm:62:0,
  465.                  from items.hpp:8,
  466.                  from items.cpp:1:
  467. /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>'
  468.          if(!(*__first == __value))
  469.                        ^
  470. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  471.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  472.                  from /usr/include/c++/4.8/ios:40,
  473.                  from /usr/include/c++/4.8/ostream:38,
  474.                  from /usr/include/c++/4.8/iostream:39,
  475.                  from items.hpp:4,
  476.                  from items.cpp:1:
  477. /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>&)
  478.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  479.      ^
  480. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  481. In file included from /usr/include/c++/4.8/algorithm:62:0,
  482.                  from items.hpp:8,
  483.                  from items.cpp:1:
  484. /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>'
  485.          if(!(*__first == __value))
  486.                        ^
  487. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  488.                  from /usr/include/c++/4.8/ios:38,
  489.                  from /usr/include/c++/4.8/ostream:38,
  490.                  from /usr/include/c++/4.8/iostream:39,
  491.                  from items.hpp:4,
  492.                  from items.cpp:1:
  493. /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>&)
  494.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  495.      ^
  496. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  497. In file included from /usr/include/c++/4.8/algorithm:62:0,
  498.                  from items.hpp:8,
  499.                  from items.cpp:1:
  500. /usr/include/c++/4.8/bits/stl_algo.h:1107:23: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  501.          if(!(*__first == __value))
  502.                        ^
  503. /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]':
  504. /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]'
  505. /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]'
  506. items.cpp:158:99:   required from here
  507. /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')
  508.     if (*__first == __val)
  509.                  ^
  510. /usr/include/c++/4.8/bits/stl_algo.h:166:17: note: candidates are:
  511. In file included from /usr/include/c++/4.8/map:62:0,
  512.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  513.                  from /usr/include/SFML/Graphics.hpp:35,
  514.                  from common.hpp:10,
  515.                  from items.hpp:11,
  516.                  from items.cpp:1:
  517. /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>&)
  518.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  519.      ^
  520. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  521. In file included from /usr/include/c++/4.8/algorithm:62:0,
  522.                  from items.hpp:8,
  523.                  from items.cpp:1:
  524. /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>'
  525.     if (*__first == __val)
  526.                  ^
  527. In file included from /usr/include/c++/4.8/map:61:0,
  528.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  529.                  from /usr/include/SFML/Graphics.hpp:35,
  530.                  from common.hpp:10,
  531.                  from items.hpp:11,
  532.                  from items.cpp:1:
  533. /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>&)
  534.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  535.      ^
  536. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  537. In file included from /usr/include/c++/4.8/algorithm:62:0,
  538.                  from items.hpp:8,
  539.                  from items.cpp:1:
  540. /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>'
  541.     if (*__first == __val)
  542.                  ^
  543. In file included from /usr/include/c++/4.8/map:60:0,
  544.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  545.                  from /usr/include/SFML/Graphics.hpp:35,
  546.                  from common.hpp:10,
  547.                  from items.hpp:11,
  548.                  from items.cpp:1:
  549. /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>&)
  550.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  551.      ^
  552. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  553. In file included from /usr/include/c++/4.8/algorithm:62:0,
  554.                  from items.hpp:8,
  555.                  from items.cpp:1:
  556. /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>'
  557.     if (*__first == __val)
  558.                  ^
  559. In file included from /usr/include/c++/4.8/map:60:0,
  560.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  561.                  from /usr/include/SFML/Graphics.hpp:35,
  562.                  from common.hpp:10,
  563.                  from items.hpp:11,
  564.                  from items.cpp:1:
  565. /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>&)
  566.      operator==(const _Rb_tree_iterator<_Val>& __x,
  567.      ^
  568. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  569. In file included from /usr/include/c++/4.8/algorithm:62:0,
  570.                  from items.hpp:8,
  571.                  from items.cpp:1:
  572. /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>'
  573.     if (*__first == __val)
  574.                  ^
  575. In file included from /usr/include/c++/4.8/random:52:0,
  576.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  577.                  from /usr/include/c++/4.8/algorithm:62,
  578.                  from items.hpp:8,
  579.                  from items.cpp:1:
  580. /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>&)
  581.      operator==(const std::normal_distribution<_RealType>& __d1,
  582.      ^
  583. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  584. In file included from /usr/include/c++/4.8/algorithm:62:0,
  585.                  from items.hpp:8,
  586.                  from items.cpp:1:
  587. /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>'
  588.     if (*__first == __val)
  589.                  ^
  590. In file included from /usr/include/c++/4.8/memory:82:0,
  591.                  from items.hpp:7,
  592.                  from items.cpp:1:
  593. /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>&)
  594.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  595.      ^
  596. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  597. In file included from /usr/include/c++/4.8/algorithm:62:0,
  598.                  from items.hpp:8,
  599.                  from items.cpp:1:
  600. /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'
  601.     if (*__first == __val)
  602.                  ^
  603. In file included from /usr/include/c++/4.8/memory:82:0,
  604.                  from items.hpp:7,
  605.                  from items.cpp:1:
  606. /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)
  607.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  608.      ^
  609. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  610. In file included from /usr/include/c++/4.8/algorithm:62:0,
  611.                  from items.hpp:8,
  612.                  from items.cpp:1:
  613. /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'
  614.     if (*__first == __val)
  615.                  ^
  616. In file included from /usr/include/c++/4.8/memory:82:0,
  617.                  from items.hpp:7,
  618.                  from items.cpp:1:
  619. /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>&)
  620.      operator==(const shared_ptr<_Tp1>& __a,
  621.      ^
  622. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  623. In file included from /usr/include/c++/4.8/algorithm:62:0,
  624.                  from items.hpp:8,
  625.                  from items.cpp:1:
  626. /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>'
  627.     if (*__first == __val)
  628.                  ^
  629. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  630.                  from /usr/include/c++/4.8/memory:82,
  631.                  from items.hpp:7,
  632.                  from items.cpp:1:
  633. /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>&)
  634.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  635.      ^
  636. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  637. In file included from /usr/include/c++/4.8/algorithm:62:0,
  638.                  from items.hpp:8,
  639.                  from items.cpp:1:
  640. /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'
  641.     if (*__first == __val)
  642.                  ^
  643. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  644.                  from /usr/include/c++/4.8/memory:82,
  645.                  from items.hpp:7,
  646.                  from items.cpp:1:
  647. /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)
  648.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  649.      ^
  650. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  651. In file included from /usr/include/c++/4.8/algorithm:62:0,
  652.                  from items.hpp:8,
  653.                  from items.cpp:1:
  654. /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'
  655.     if (*__first == __val)
  656.                  ^
  657. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  658.                  from /usr/include/c++/4.8/memory:82,
  659.                  from items.hpp:7,
  660.                  from items.cpp:1:
  661. /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>&)
  662.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  663.      ^
  664. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  665. In file included from /usr/include/c++/4.8/algorithm:62:0,
  666.                  from items.hpp:8,
  667.                  from items.cpp:1:
  668. /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>'
  669.     if (*__first == __val)
  670.                  ^
  671. In file included from /usr/include/c++/4.8/memory:81:0,
  672.                  from items.hpp:7,
  673.                  from items.cpp:1:
  674. /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>&)
  675.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  676.      ^
  677. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  678. In file included from /usr/include/c++/4.8/algorithm:62:0,
  679.                  from items.hpp:8,
  680.                  from items.cpp:1:
  681. /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'
  682.     if (*__first == __val)
  683.                  ^
  684. In file included from /usr/include/c++/4.8/memory:81:0,
  685.                  from items.hpp:7,
  686.                  from items.cpp:1:
  687. /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)
  688.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  689.      ^
  690. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  691. In file included from /usr/include/c++/4.8/algorithm:62:0,
  692.                  from items.hpp:8,
  693.                  from items.cpp:1:
  694. /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>'
  695.     if (*__first == __val)
  696.                  ^
  697. In file included from /usr/include/c++/4.8/memory:81:0,
  698.                  from items.hpp:7,
  699.                  from items.cpp:1:
  700. /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>&)
  701.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  702.      ^
  703. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  704. In file included from /usr/include/c++/4.8/algorithm:62:0,
  705.                  from items.hpp:8,
  706.                  from items.cpp:1:
  707. /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>'
  708.     if (*__first == __val)
  709.                  ^
  710. In file included from /usr/include/c++/4.8/memory:79:0,
  711.                  from items.hpp:7,
  712.                  from items.cpp:1:
  713. /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 ...)>&)
  714.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  715.      ^
  716. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  717. In file included from /usr/include/c++/4.8/algorithm:62:0,
  718.                  from items.hpp:8,
  719.                  from items.cpp:1:
  720. /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'
  721.     if (*__first == __val)
  722.                  ^
  723. In file included from /usr/include/c++/4.8/memory:79:0,
  724.                  from items.hpp:7,
  725.                  from items.cpp:1:
  726. /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)
  727.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  728.      ^
  729. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  730. In file included from /usr/include/c++/4.8/algorithm:62:0,
  731.                  from items.hpp:8,
  732.                  from items.cpp:1:
  733. /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 ...)>'
  734.     if (*__first == __val)
  735.                  ^
  736. In file included from /usr/include/c++/4.8/functional:55:0,
  737.                  from /usr/include/c++/4.8/memory:79,
  738.                  from items.hpp:7,
  739.                  from items.cpp:1:
  740. /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 ...>&)
  741.      operator==(const tuple<_TElements...>& __t,
  742.      ^
  743. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  744. In file included from /usr/include/c++/4.8/algorithm:62:0,
  745.                  from items.hpp:8,
  746.                  from items.cpp:1:
  747. /usr/include/c++/4.8/bits/stl_algo.h:166:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  748.     if (*__first == __val)
  749.                  ^
  750. In file included from /usr/include/c++/4.8/tuple:39:0,
  751.                  from /usr/include/c++/4.8/functional:55,
  752.                  from /usr/include/c++/4.8/memory:79,
  753.                  from items.hpp:7,
  754.                  from items.cpp:1:
  755. /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>&)
  756.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  757.      ^
  758. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  759. In file included from /usr/include/c++/4.8/algorithm:62:0,
  760.                  from items.hpp:8,
  761.                  from items.cpp:1:
  762. /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>'
  763.     if (*__first == __val)
  764.                  ^
  765. In file included from /usr/include/c++/4.8/vector:64:0,
  766.                  from items.hpp:6,
  767.                  from items.cpp:1:
  768. /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>&)
  769.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  770.      ^
  771. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  772. In file included from /usr/include/c++/4.8/algorithm:62:0,
  773.                  from items.hpp:8,
  774.                  from items.cpp:1:
  775. /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>'
  776.     if (*__first == __val)
  777.                  ^
  778. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  779.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  780.                  from /usr/include/c++/4.8/ios:44,
  781.                  from /usr/include/c++/4.8/ostream:38,
  782.                  from /usr/include/c++/4.8/iostream:39,
  783.                  from items.hpp:4,
  784.                  from items.cpp:1:
  785. /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>&)
  786.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  787.      ^
  788. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  789. In file included from /usr/include/c++/4.8/algorithm:62:0,
  790.                  from items.hpp:8,
  791.                  from items.cpp:1:
  792. /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>'
  793.     if (*__first == __val)
  794.                  ^
  795. In file included from /usr/include/c++/4.8/string:52:0,
  796.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  797.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  798.                  from /usr/include/c++/4.8/ios:42,
  799.                  from /usr/include/c++/4.8/ostream:38,
  800.                  from /usr/include/c++/4.8/iostream:39,
  801.                  from items.hpp:4,
  802.                  from items.cpp:1:
  803. /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*)
  804.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  805.      ^
  806. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  807. In file included from /usr/include/c++/4.8/algorithm:62:0,
  808.                  from items.hpp:8,
  809.                  from items.cpp:1:
  810. /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>'
  811.     if (*__first == __val)
  812.                  ^
  813. In file included from /usr/include/c++/4.8/string:52:0,
  814.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  815.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  816.                  from /usr/include/c++/4.8/ios:42,
  817.                  from /usr/include/c++/4.8/ostream:38,
  818.                  from /usr/include/c++/4.8/iostream:39,
  819.                  from items.hpp:4,
  820.                  from items.cpp:1:
  821. /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>&)
  822.      operator==(const _CharT* __lhs,
  823.      ^
  824. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  825. In file included from /usr/include/c++/4.8/algorithm:62:0,
  826.                  from items.hpp:8,
  827.                  from items.cpp:1:
  828. /usr/include/c++/4.8/bits/stl_algo.h:166:17: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  829.     if (*__first == __val)
  830.                  ^
  831. In file included from /usr/include/c++/4.8/string:52:0,
  832.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  833.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  834.                  from /usr/include/c++/4.8/ios:42,
  835.                  from /usr/include/c++/4.8/ostream:38,
  836.                  from /usr/include/c++/4.8/iostream:39,
  837.                  from items.hpp:4,
  838.                  from items.cpp:1:
  839. /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>&)
  840.      operator==(const basic_string<_CharT>& __lhs,
  841.      ^
  842. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  843. In file included from /usr/include/c++/4.8/algorithm:62:0,
  844.                  from items.hpp:8,
  845.                  from items.cpp:1:
  846. /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>'
  847.     if (*__first == __val)
  848.                  ^
  849. In file included from /usr/include/c++/4.8/string:52:0,
  850.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  851.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  852.                  from /usr/include/c++/4.8/ios:42,
  853.                  from /usr/include/c++/4.8/ostream:38,
  854.                  from /usr/include/c++/4.8/iostream:39,
  855.                  from items.hpp:4,
  856.                  from items.cpp:1:
  857. /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>&)
  858.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  859.      ^
  860. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  861. In file included from /usr/include/c++/4.8/algorithm:62:0,
  862.                  from items.hpp:8,
  863.                  from items.cpp:1:
  864. /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>'
  865.     if (*__first == __val)
  866.                  ^
  867. In file included from /usr/include/c++/4.8/string:41:0,
  868.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  869.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  870.                  from /usr/include/c++/4.8/ios:42,
  871.                  from /usr/include/c++/4.8/ostream:38,
  872.                  from /usr/include/c++/4.8/iostream:39,
  873.                  from items.hpp:4,
  874.                  from items.cpp:1:
  875. /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>&)
  876.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  877.      ^
  878. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  879. In file included from /usr/include/c++/4.8/algorithm:62:0,
  880.                  from items.hpp:8,
  881.                  from items.cpp:1:
  882. /usr/include/c++/4.8/bits/stl_algo.h:166:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  883.     if (*__first == __val)
  884.                  ^
  885. In file included from /usr/include/c++/4.8/string:41:0,
  886.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  887.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  888.                  from /usr/include/c++/4.8/ios:42,
  889.                  from /usr/include/c++/4.8/ostream:38,
  890.                  from /usr/include/c++/4.8/iostream:39,
  891.                  from items.hpp:4,
  892.                  from items.cpp:1:
  893. /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>&)
  894.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  895.      ^
  896. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  897. In file included from /usr/include/c++/4.8/algorithm:62:0,
  898.                  from items.hpp:8,
  899.                  from items.cpp:1:
  900. /usr/include/c++/4.8/bits/stl_algo.h:166:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  901.     if (*__first == __val)
  902.                  ^
  903. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  904.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  905.                  from /usr/include/c++/4.8/ios:40,
  906.                  from /usr/include/c++/4.8/ostream:38,
  907.                  from /usr/include/c++/4.8/iostream:39,
  908.                  from items.hpp:4,
  909.                  from items.cpp:1:
  910. /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>&)
  911.      operator==(const move_iterator<_Iterator>& __x,
  912.      ^
  913. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  914. In file included from /usr/include/c++/4.8/algorithm:62:0,
  915.                  from items.hpp:8,
  916.                  from items.cpp:1:
  917. /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>'
  918.     if (*__first == __val)
  919.                  ^
  920. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  921.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  922.                  from /usr/include/c++/4.8/ios:40,
  923.                  from /usr/include/c++/4.8/ostream:38,
  924.                  from /usr/include/c++/4.8/iostream:39,
  925.                  from items.hpp:4,
  926.                  from items.cpp:1:
  927. /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>&)
  928.      operator==(const move_iterator<_IteratorL>& __x,
  929.      ^
  930. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  931. In file included from /usr/include/c++/4.8/algorithm:62:0,
  932.                  from items.hpp:8,
  933.                  from items.cpp:1:
  934. /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>'
  935.     if (*__first == __val)
  936.                  ^
  937. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  938.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  939.                  from /usr/include/c++/4.8/ios:40,
  940.                  from /usr/include/c++/4.8/ostream:38,
  941.                  from /usr/include/c++/4.8/iostream:39,
  942.                  from items.hpp:4,
  943.                  from items.cpp:1:
  944. /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>&)
  945.      operator==(const reverse_iterator<_IteratorL>& __x,
  946.      ^
  947. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  948. In file included from /usr/include/c++/4.8/algorithm:62:0,
  949.                  from items.hpp:8,
  950.                  from items.cpp:1:
  951. /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>'
  952.     if (*__first == __val)
  953.                  ^
  954. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  955.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  956.                  from /usr/include/c++/4.8/ios:40,
  957.                  from /usr/include/c++/4.8/ostream:38,
  958.                  from /usr/include/c++/4.8/iostream:39,
  959.                  from items.hpp:4,
  960.                  from items.cpp:1:
  961. /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>&)
  962.      operator==(const reverse_iterator<_Iterator>& __x,
  963.      ^
  964. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  965. In file included from /usr/include/c++/4.8/algorithm:62:0,
  966.                  from items.hpp:8,
  967.                  from items.cpp:1:
  968. /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>'
  969.     if (*__first == __val)
  970.                  ^
  971. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  972.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  973.                  from /usr/include/c++/4.8/ios:40,
  974.                  from /usr/include/c++/4.8/ostream:38,
  975.                  from /usr/include/c++/4.8/iostream:39,
  976.                  from items.hpp:4,
  977.                  from items.cpp:1:
  978. /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>&)
  979.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  980.      ^
  981. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  982. In file included from /usr/include/c++/4.8/algorithm:62:0,
  983.                  from items.hpp:8,
  984.                  from items.cpp:1:
  985. /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>'
  986.     if (*__first == __val)
  987.                  ^
  988. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  989.                  from /usr/include/c++/4.8/ios:38,
  990.                  from /usr/include/c++/4.8/ostream:38,
  991.                  from /usr/include/c++/4.8/iostream:39,
  992.                  from items.hpp:4,
  993.                  from items.cpp:1:
  994. /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>&)
  995.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  996.      ^
  997. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  998. In file included from /usr/include/c++/4.8/algorithm:62:0,
  999.                  from items.hpp:8,
  1000.                  from items.cpp:1:
  1001. /usr/include/c++/4.8/bits/stl_algo.h:166:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  1002.     if (*__first == __val)
  1003.                  ^
  1004. /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')
  1005.     if (*__first == __val)
  1006.                  ^
  1007. /usr/include/c++/4.8/bits/stl_algo.h:170:17: note: candidates are:
  1008. In file included from /usr/include/c++/4.8/map:62:0,
  1009.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1010.                  from /usr/include/SFML/Graphics.hpp:35,
  1011.                  from common.hpp:10,
  1012.                  from items.hpp:11,
  1013.                  from items.cpp:1:
  1014. /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>&)
  1015.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  1016.      ^
  1017. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  1018. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1019.                  from items.hpp:8,
  1020.                  from items.cpp:1:
  1021. /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>'
  1022.     if (*__first == __val)
  1023.                  ^
  1024. In file included from /usr/include/c++/4.8/map:61:0,
  1025.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1026.                  from /usr/include/SFML/Graphics.hpp:35,
  1027.                  from common.hpp:10,
  1028.                  from items.hpp:11,
  1029.                  from items.cpp:1:
  1030. /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>&)
  1031.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  1032.      ^
  1033. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  1034. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1035.                  from items.hpp:8,
  1036.                  from items.cpp:1:
  1037. /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>'
  1038.     if (*__first == __val)
  1039.                  ^
  1040. In file included from /usr/include/c++/4.8/map:60:0,
  1041.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1042.                  from /usr/include/SFML/Graphics.hpp:35,
  1043.                  from common.hpp:10,
  1044.                  from items.hpp:11,
  1045.                  from items.cpp:1:
  1046. /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>&)
  1047.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  1048.      ^
  1049. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  1050. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1051.                  from items.hpp:8,
  1052.                  from items.cpp:1:
  1053. /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>'
  1054.     if (*__first == __val)
  1055.                  ^
  1056. In file included from /usr/include/c++/4.8/map:60:0,
  1057.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1058.                  from /usr/include/SFML/Graphics.hpp:35,
  1059.                  from common.hpp:10,
  1060.                  from items.hpp:11,
  1061.                  from items.cpp:1:
  1062. /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>&)
  1063.      operator==(const _Rb_tree_iterator<_Val>& __x,
  1064.      ^
  1065. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  1066. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1067.                  from items.hpp:8,
  1068.                  from items.cpp:1:
  1069. /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>'
  1070.     if (*__first == __val)
  1071.                  ^
  1072. In file included from /usr/include/c++/4.8/random:52:0,
  1073.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  1074.                  from /usr/include/c++/4.8/algorithm:62,
  1075.                  from items.hpp:8,
  1076.                  from items.cpp:1:
  1077. /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>&)
  1078.      operator==(const std::normal_distribution<_RealType>& __d1,
  1079.      ^
  1080. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  1081. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1082.                  from items.hpp:8,
  1083.                  from items.cpp:1:
  1084. /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>'
  1085.     if (*__first == __val)
  1086.                  ^
  1087. In file included from /usr/include/c++/4.8/memory:82:0,
  1088.                  from items.hpp:7,
  1089.                  from items.cpp:1:
  1090. /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>&)
  1091.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  1092.      ^
  1093. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  1094. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1095.                  from items.hpp:8,
  1096.                  from items.cpp:1:
  1097. /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'
  1098.     if (*__first == __val)
  1099.                  ^
  1100. In file included from /usr/include/c++/4.8/memory:82:0,
  1101.                  from items.hpp:7,
  1102.                  from items.cpp:1:
  1103. /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)
  1104.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  1105.      ^
  1106. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  1107. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1108.                  from items.hpp:8,
  1109.                  from items.cpp:1:
  1110. /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'
  1111.     if (*__first == __val)
  1112.                  ^
  1113. In file included from /usr/include/c++/4.8/memory:82:0,
  1114.                  from items.hpp:7,
  1115.                  from items.cpp:1:
  1116. /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>&)
  1117.      operator==(const shared_ptr<_Tp1>& __a,
  1118.      ^
  1119. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  1120. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1121.                  from items.hpp:8,
  1122.                  from items.cpp:1:
  1123. /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>'
  1124.     if (*__first == __val)
  1125.                  ^
  1126. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  1127.                  from /usr/include/c++/4.8/memory:82,
  1128.                  from items.hpp:7,
  1129.                  from items.cpp:1:
  1130. /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>&)
  1131.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  1132.      ^
  1133. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  1134. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1135.                  from items.hpp:8,
  1136.                  from items.cpp:1:
  1137. /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'
  1138.     if (*__first == __val)
  1139.                  ^
  1140. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  1141.                  from /usr/include/c++/4.8/memory:82,
  1142.                  from items.hpp:7,
  1143.                  from items.cpp:1:
  1144. /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)
  1145.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  1146.      ^
  1147. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  1148. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1149.                  from items.hpp:8,
  1150.                  from items.cpp:1:
  1151. /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'
  1152.     if (*__first == __val)
  1153.                  ^
  1154. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  1155.                  from /usr/include/c++/4.8/memory:82,
  1156.                  from items.hpp:7,
  1157.                  from items.cpp:1:
  1158. /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>&)
  1159.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  1160.      ^
  1161. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  1162. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1163.                  from items.hpp:8,
  1164.                  from items.cpp:1:
  1165. /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>'
  1166.     if (*__first == __val)
  1167.                  ^
  1168. In file included from /usr/include/c++/4.8/memory:81:0,
  1169.                  from items.hpp:7,
  1170.                  from items.cpp:1:
  1171. /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>&)
  1172.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  1173.      ^
  1174. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  1175. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1176.                  from items.hpp:8,
  1177.                  from items.cpp:1:
  1178. /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'
  1179.     if (*__first == __val)
  1180.                  ^
  1181. In file included from /usr/include/c++/4.8/memory:81:0,
  1182.                  from items.hpp:7,
  1183.                  from items.cpp:1:
  1184. /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)
  1185.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  1186.      ^
  1187. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  1188. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1189.                  from items.hpp:8,
  1190.                  from items.cpp:1:
  1191. /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>'
  1192.     if (*__first == __val)
  1193.                  ^
  1194. In file included from /usr/include/c++/4.8/memory:81:0,
  1195.                  from items.hpp:7,
  1196.                  from items.cpp:1:
  1197. /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>&)
  1198.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  1199.      ^
  1200. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  1201. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1202.                  from items.hpp:8,
  1203.                  from items.cpp:1:
  1204. /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>'
  1205.     if (*__first == __val)
  1206.                  ^
  1207. In file included from /usr/include/c++/4.8/memory:79:0,
  1208.                  from items.hpp:7,
  1209.                  from items.cpp:1:
  1210. /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 ...)>&)
  1211.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  1212.      ^
  1213. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  1214. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1215.                  from items.hpp:8,
  1216.                  from items.cpp:1:
  1217. /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'
  1218.     if (*__first == __val)
  1219.                  ^
  1220. In file included from /usr/include/c++/4.8/memory:79:0,
  1221.                  from items.hpp:7,
  1222.                  from items.cpp:1:
  1223. /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)
  1224.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  1225.      ^
  1226. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  1227. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1228.                  from items.hpp:8,
  1229.                  from items.cpp:1:
  1230. /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 ...)>'
  1231.     if (*__first == __val)
  1232.                  ^
  1233. In file included from /usr/include/c++/4.8/functional:55:0,
  1234.                  from /usr/include/c++/4.8/memory:79,
  1235.                  from items.hpp:7,
  1236.                  from items.cpp:1:
  1237. /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 ...>&)
  1238.      operator==(const tuple<_TElements...>& __t,
  1239.      ^
  1240. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  1241. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1242.                  from items.hpp:8,
  1243.                  from items.cpp:1:
  1244. /usr/include/c++/4.8/bits/stl_algo.h:170:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  1245.     if (*__first == __val)
  1246.                  ^
  1247. In file included from /usr/include/c++/4.8/tuple:39:0,
  1248.                  from /usr/include/c++/4.8/functional:55,
  1249.                  from /usr/include/c++/4.8/memory:79,
  1250.                  from items.hpp:7,
  1251.                  from items.cpp:1:
  1252. /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>&)
  1253.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  1254.      ^
  1255. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  1256. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1257.                  from items.hpp:8,
  1258.                  from items.cpp:1:
  1259. /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>'
  1260.     if (*__first == __val)
  1261.                  ^
  1262. In file included from /usr/include/c++/4.8/vector:64:0,
  1263.                  from items.hpp:6,
  1264.                  from items.cpp:1:
  1265. /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>&)
  1266.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  1267.      ^
  1268. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  1269. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1270.                  from items.hpp:8,
  1271.                  from items.cpp:1:
  1272. /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>'
  1273.     if (*__first == __val)
  1274.                  ^
  1275. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  1276.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  1277.                  from /usr/include/c++/4.8/ios:44,
  1278.                  from /usr/include/c++/4.8/ostream:38,
  1279.                  from /usr/include/c++/4.8/iostream:39,
  1280.                  from items.hpp:4,
  1281.                  from items.cpp:1:
  1282. /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>&)
  1283.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  1284.      ^
  1285. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  1286. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1287.                  from items.hpp:8,
  1288.                  from items.cpp:1:
  1289. /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>'
  1290.     if (*__first == __val)
  1291.                  ^
  1292. In file included from /usr/include/c++/4.8/string:52:0,
  1293.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1294.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1295.                  from /usr/include/c++/4.8/ios:42,
  1296.                  from /usr/include/c++/4.8/ostream:38,
  1297.                  from /usr/include/c++/4.8/iostream:39,
  1298.                  from items.hpp:4,
  1299.                  from items.cpp:1:
  1300. /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*)
  1301.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  1302.      ^
  1303. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  1304. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1305.                  from items.hpp:8,
  1306.                  from items.cpp:1:
  1307. /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>'
  1308.     if (*__first == __val)
  1309.                  ^
  1310. In file included from /usr/include/c++/4.8/string:52:0,
  1311.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1312.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1313.                  from /usr/include/c++/4.8/ios:42,
  1314.                  from /usr/include/c++/4.8/ostream:38,
  1315.                  from /usr/include/c++/4.8/iostream:39,
  1316.                  from items.hpp:4,
  1317.                  from items.cpp:1:
  1318. /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>&)
  1319.      operator==(const _CharT* __lhs,
  1320.      ^
  1321. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  1322. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1323.                  from items.hpp:8,
  1324.                  from items.cpp:1:
  1325. /usr/include/c++/4.8/bits/stl_algo.h:170:17: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  1326.     if (*__first == __val)
  1327.                  ^
  1328. In file included from /usr/include/c++/4.8/string:52:0,
  1329.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1330.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1331.                  from /usr/include/c++/4.8/ios:42,
  1332.                  from /usr/include/c++/4.8/ostream:38,
  1333.                  from /usr/include/c++/4.8/iostream:39,
  1334.                  from items.hpp:4,
  1335.                  from items.cpp:1:
  1336. /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>&)
  1337.      operator==(const basic_string<_CharT>& __lhs,
  1338.      ^
  1339. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  1340. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1341.                  from items.hpp:8,
  1342.                  from items.cpp:1:
  1343. /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>'
  1344.     if (*__first == __val)
  1345.                  ^
  1346. In file included from /usr/include/c++/4.8/string:52:0,
  1347.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1348.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1349.                  from /usr/include/c++/4.8/ios:42,
  1350.                  from /usr/include/c++/4.8/ostream:38,
  1351.                  from /usr/include/c++/4.8/iostream:39,
  1352.                  from items.hpp:4,
  1353.                  from items.cpp:1:
  1354. /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>&)
  1355.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  1356.      ^
  1357. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  1358. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1359.                  from items.hpp:8,
  1360.                  from items.cpp:1:
  1361. /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>'
  1362.     if (*__first == __val)
  1363.                  ^
  1364. In file included from /usr/include/c++/4.8/string:41:0,
  1365.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1366.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1367.                  from /usr/include/c++/4.8/ios:42,
  1368.                  from /usr/include/c++/4.8/ostream:38,
  1369.                  from /usr/include/c++/4.8/iostream:39,
  1370.                  from items.hpp:4,
  1371.                  from items.cpp:1:
  1372. /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>&)
  1373.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  1374.      ^
  1375. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  1376. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1377.                  from items.hpp:8,
  1378.                  from items.cpp:1:
  1379. /usr/include/c++/4.8/bits/stl_algo.h:170:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  1380.     if (*__first == __val)
  1381.                  ^
  1382. In file included from /usr/include/c++/4.8/string:41:0,
  1383.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1384.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1385.                  from /usr/include/c++/4.8/ios:42,
  1386.                  from /usr/include/c++/4.8/ostream:38,
  1387.                  from /usr/include/c++/4.8/iostream:39,
  1388.                  from items.hpp:4,
  1389.                  from items.cpp:1:
  1390. /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>&)
  1391.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  1392.      ^
  1393. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  1394. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1395.                  from items.hpp:8,
  1396.                  from items.cpp:1:
  1397. /usr/include/c++/4.8/bits/stl_algo.h:170:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  1398.     if (*__first == __val)
  1399.                  ^
  1400. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1401.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1402.                  from /usr/include/c++/4.8/ios:40,
  1403.                  from /usr/include/c++/4.8/ostream:38,
  1404.                  from /usr/include/c++/4.8/iostream:39,
  1405.                  from items.hpp:4,
  1406.                  from items.cpp:1:
  1407. /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>&)
  1408.      operator==(const move_iterator<_Iterator>& __x,
  1409.      ^
  1410. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  1411. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1412.                  from items.hpp:8,
  1413.                  from items.cpp:1:
  1414. /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>'
  1415.     if (*__first == __val)
  1416.                  ^
  1417. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1418.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1419.                  from /usr/include/c++/4.8/ios:40,
  1420.                  from /usr/include/c++/4.8/ostream:38,
  1421.                  from /usr/include/c++/4.8/iostream:39,
  1422.                  from items.hpp:4,
  1423.                  from items.cpp:1:
  1424. /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>&)
  1425.      operator==(const move_iterator<_IteratorL>& __x,
  1426.      ^
  1427. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  1428. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1429.                  from items.hpp:8,
  1430.                  from items.cpp:1:
  1431. /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>'
  1432.     if (*__first == __val)
  1433.                  ^
  1434. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1435.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1436.                  from /usr/include/c++/4.8/ios:40,
  1437.                  from /usr/include/c++/4.8/ostream:38,
  1438.                  from /usr/include/c++/4.8/iostream:39,
  1439.                  from items.hpp:4,
  1440.                  from items.cpp:1:
  1441. /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>&)
  1442.      operator==(const reverse_iterator<_IteratorL>& __x,
  1443.      ^
  1444. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  1445. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1446.                  from items.hpp:8,
  1447.                  from items.cpp:1:
  1448. /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>'
  1449.     if (*__first == __val)
  1450.                  ^
  1451. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1452.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1453.                  from /usr/include/c++/4.8/ios:40,
  1454.                  from /usr/include/c++/4.8/ostream:38,
  1455.                  from /usr/include/c++/4.8/iostream:39,
  1456.                  from items.hpp:4,
  1457.                  from items.cpp:1:
  1458. /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>&)
  1459.      operator==(const reverse_iterator<_Iterator>& __x,
  1460.      ^
  1461. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  1462. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1463.                  from items.hpp:8,
  1464.                  from items.cpp:1:
  1465. /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>'
  1466.     if (*__first == __val)
  1467.                  ^
  1468. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  1469.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1470.                  from /usr/include/c++/4.8/ios:40,
  1471.                  from /usr/include/c++/4.8/ostream:38,
  1472.                  from /usr/include/c++/4.8/iostream:39,
  1473.                  from items.hpp:4,
  1474.                  from items.cpp:1:
  1475. /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>&)
  1476.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  1477.      ^
  1478. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  1479. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1480.                  from items.hpp:8,
  1481.                  from items.cpp:1:
  1482. /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>'
  1483.     if (*__first == __val)
  1484.                  ^
  1485. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  1486.                  from /usr/include/c++/4.8/ios:38,
  1487.                  from /usr/include/c++/4.8/ostream:38,
  1488.                  from /usr/include/c++/4.8/iostream:39,
  1489.                  from items.hpp:4,
  1490.                  from items.cpp:1:
  1491. /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>&)
  1492.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  1493.      ^
  1494. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  1495. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1496.                  from items.hpp:8,
  1497.                  from items.cpp:1:
  1498. /usr/include/c++/4.8/bits/stl_algo.h:170:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  1499.     if (*__first == __val)
  1500.                  ^
  1501. /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')
  1502.     if (*__first == __val)
  1503.                  ^
  1504. /usr/include/c++/4.8/bits/stl_algo.h:174:17: note: candidates are:
  1505. In file included from /usr/include/c++/4.8/map:62:0,
  1506.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1507.                  from /usr/include/SFML/Graphics.hpp:35,
  1508.                  from common.hpp:10,
  1509.                  from items.hpp:11,
  1510.                  from items.cpp:1:
  1511. /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>&)
  1512.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  1513.      ^
  1514. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  1515. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1516.                  from items.hpp:8,
  1517.                  from items.cpp:1:
  1518. /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>'
  1519.     if (*__first == __val)
  1520.                  ^
  1521. In file included from /usr/include/c++/4.8/map:61:0,
  1522.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1523.                  from /usr/include/SFML/Graphics.hpp:35,
  1524.                  from common.hpp:10,
  1525.                  from items.hpp:11,
  1526.                  from items.cpp:1:
  1527. /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>&)
  1528.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  1529.      ^
  1530. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  1531. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1532.                  from items.hpp:8,
  1533.                  from items.cpp:1:
  1534. /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>'
  1535.     if (*__first == __val)
  1536.                  ^
  1537. In file included from /usr/include/c++/4.8/map:60:0,
  1538.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1539.                  from /usr/include/SFML/Graphics.hpp:35,
  1540.                  from common.hpp:10,
  1541.                  from items.hpp:11,
  1542.                  from items.cpp:1:
  1543. /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>&)
  1544.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  1545.      ^
  1546. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  1547. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1548.                  from items.hpp:8,
  1549.                  from items.cpp:1:
  1550. /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>'
  1551.     if (*__first == __val)
  1552.                  ^
  1553. In file included from /usr/include/c++/4.8/map:60:0,
  1554.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  1555.                  from /usr/include/SFML/Graphics.hpp:35,
  1556.                  from common.hpp:10,
  1557.                  from items.hpp:11,
  1558.                  from items.cpp:1:
  1559. /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>&)
  1560.      operator==(const _Rb_tree_iterator<_Val>& __x,
  1561.      ^
  1562. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  1563. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1564.                  from items.hpp:8,
  1565.                  from items.cpp:1:
  1566. /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>'
  1567.     if (*__first == __val)
  1568.                  ^
  1569. In file included from /usr/include/c++/4.8/random:52:0,
  1570.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  1571.                  from /usr/include/c++/4.8/algorithm:62,
  1572.                  from items.hpp:8,
  1573.                  from items.cpp:1:
  1574. /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>&)
  1575.      operator==(const std::normal_distribution<_RealType>& __d1,
  1576.      ^
  1577. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  1578. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1579.                  from items.hpp:8,
  1580.                  from items.cpp:1:
  1581. /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>'
  1582.     if (*__first == __val)
  1583.                  ^
  1584. In file included from /usr/include/c++/4.8/memory:82:0,
  1585.                  from items.hpp:7,
  1586.                  from items.cpp:1:
  1587. /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>&)
  1588.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  1589.      ^
  1590. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  1591. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1592.                  from items.hpp:8,
  1593.                  from items.cpp:1:
  1594. /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'
  1595.     if (*__first == __val)
  1596.                  ^
  1597. In file included from /usr/include/c++/4.8/memory:82:0,
  1598.                  from items.hpp:7,
  1599.                  from items.cpp:1:
  1600. /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)
  1601.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  1602.      ^
  1603. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  1604. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1605.                  from items.hpp:8,
  1606.                  from items.cpp:1:
  1607. /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'
  1608.     if (*__first == __val)
  1609.                  ^
  1610. In file included from /usr/include/c++/4.8/memory:82:0,
  1611.                  from items.hpp:7,
  1612.                  from items.cpp:1:
  1613. /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>&)
  1614.      operator==(const shared_ptr<_Tp1>& __a,
  1615.      ^
  1616. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  1617. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1618.                  from items.hpp:8,
  1619.                  from items.cpp:1:
  1620. /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>'
  1621.     if (*__first == __val)
  1622.                  ^
  1623. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  1624.                  from /usr/include/c++/4.8/memory:82,
  1625.                  from items.hpp:7,
  1626.                  from items.cpp:1:
  1627. /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>&)
  1628.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  1629.      ^
  1630. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  1631. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1632.                  from items.hpp:8,
  1633.                  from items.cpp:1:
  1634. /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'
  1635.     if (*__first == __val)
  1636.                  ^
  1637. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  1638.                  from /usr/include/c++/4.8/memory:82,
  1639.                  from items.hpp:7,
  1640.                  from items.cpp:1:
  1641. /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)
  1642.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  1643.      ^
  1644. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  1645. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1646.                  from items.hpp:8,
  1647.                  from items.cpp:1:
  1648. /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'
  1649.     if (*__first == __val)
  1650.                  ^
  1651. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  1652.                  from /usr/include/c++/4.8/memory:82,
  1653.                  from items.hpp:7,
  1654.                  from items.cpp:1:
  1655. /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>&)
  1656.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  1657.      ^
  1658. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  1659. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1660.                  from items.hpp:8,
  1661.                  from items.cpp:1:
  1662. /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>'
  1663.     if (*__first == __val)
  1664.                  ^
  1665. In file included from /usr/include/c++/4.8/memory:81:0,
  1666.                  from items.hpp:7,
  1667.                  from items.cpp:1:
  1668. /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>&)
  1669.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  1670.      ^
  1671. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  1672. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1673.                  from items.hpp:8,
  1674.                  from items.cpp:1:
  1675. /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'
  1676.     if (*__first == __val)
  1677.                  ^
  1678. In file included from /usr/include/c++/4.8/memory:81:0,
  1679.                  from items.hpp:7,
  1680.                  from items.cpp:1:
  1681. /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)
  1682.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  1683.      ^
  1684. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  1685. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1686.                  from items.hpp:8,
  1687.                  from items.cpp:1:
  1688. /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>'
  1689.     if (*__first == __val)
  1690.                  ^
  1691. In file included from /usr/include/c++/4.8/memory:81:0,
  1692.                  from items.hpp:7,
  1693.                  from items.cpp:1:
  1694. /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>&)
  1695.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  1696.      ^
  1697. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  1698. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1699.                  from items.hpp:8,
  1700.                  from items.cpp:1:
  1701. /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>'
  1702.     if (*__first == __val)
  1703.                  ^
  1704. In file included from /usr/include/c++/4.8/memory:79:0,
  1705.                  from items.hpp:7,
  1706.                  from items.cpp:1:
  1707. /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 ...)>&)
  1708.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  1709.      ^
  1710. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  1711. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1712.                  from items.hpp:8,
  1713.                  from items.cpp:1:
  1714. /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'
  1715.     if (*__first == __val)
  1716.                  ^
  1717. In file included from /usr/include/c++/4.8/memory:79:0,
  1718.                  from items.hpp:7,
  1719.                  from items.cpp:1:
  1720. /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)
  1721.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  1722.      ^
  1723. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  1724. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1725.                  from items.hpp:8,
  1726.                  from items.cpp:1:
  1727. /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 ...)>'
  1728.     if (*__first == __val)
  1729.                  ^
  1730. In file included from /usr/include/c++/4.8/functional:55:0,
  1731.                  from /usr/include/c++/4.8/memory:79,
  1732.                  from items.hpp:7,
  1733.                  from items.cpp:1:
  1734. /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 ...>&)
  1735.      operator==(const tuple<_TElements...>& __t,
  1736.      ^
  1737. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  1738. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1739.                  from items.hpp:8,
  1740.                  from items.cpp:1:
  1741. /usr/include/c++/4.8/bits/stl_algo.h:174:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  1742.     if (*__first == __val)
  1743.                  ^
  1744. In file included from /usr/include/c++/4.8/tuple:39:0,
  1745.                  from /usr/include/c++/4.8/functional:55,
  1746.                  from /usr/include/c++/4.8/memory:79,
  1747.                  from items.hpp:7,
  1748.                  from items.cpp:1:
  1749. /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>&)
  1750.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  1751.      ^
  1752. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  1753. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1754.                  from items.hpp:8,
  1755.                  from items.cpp:1:
  1756. /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>'
  1757.     if (*__first == __val)
  1758.                  ^
  1759. In file included from /usr/include/c++/4.8/vector:64:0,
  1760.                  from items.hpp:6,
  1761.                  from items.cpp:1:
  1762. /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>&)
  1763.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  1764.      ^
  1765. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  1766. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1767.                  from items.hpp:8,
  1768.                  from items.cpp:1:
  1769. /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>'
  1770.     if (*__first == __val)
  1771.                  ^
  1772. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  1773.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  1774.                  from /usr/include/c++/4.8/ios:44,
  1775.                  from /usr/include/c++/4.8/ostream:38,
  1776.                  from /usr/include/c++/4.8/iostream:39,
  1777.                  from items.hpp:4,
  1778.                  from items.cpp:1:
  1779. /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>&)
  1780.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  1781.      ^
  1782. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  1783. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1784.                  from items.hpp:8,
  1785.                  from items.cpp:1:
  1786. /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>'
  1787.     if (*__first == __val)
  1788.                  ^
  1789. In file included from /usr/include/c++/4.8/string:52:0,
  1790.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1791.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1792.                  from /usr/include/c++/4.8/ios:42,
  1793.                  from /usr/include/c++/4.8/ostream:38,
  1794.                  from /usr/include/c++/4.8/iostream:39,
  1795.                  from items.hpp:4,
  1796.                  from items.cpp:1:
  1797. /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*)
  1798.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  1799.      ^
  1800. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  1801. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1802.                  from items.hpp:8,
  1803.                  from items.cpp:1:
  1804. /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>'
  1805.     if (*__first == __val)
  1806.                  ^
  1807. In file included from /usr/include/c++/4.8/string:52:0,
  1808.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1809.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1810.                  from /usr/include/c++/4.8/ios:42,
  1811.                  from /usr/include/c++/4.8/ostream:38,
  1812.                  from /usr/include/c++/4.8/iostream:39,
  1813.                  from items.hpp:4,
  1814.                  from items.cpp:1:
  1815. /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>&)
  1816.      operator==(const _CharT* __lhs,
  1817.      ^
  1818. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  1819. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1820.                  from items.hpp:8,
  1821.                  from items.cpp:1:
  1822. /usr/include/c++/4.8/bits/stl_algo.h:174:17: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  1823.     if (*__first == __val)
  1824.                  ^
  1825. In file included from /usr/include/c++/4.8/string:52:0,
  1826.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1827.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1828.                  from /usr/include/c++/4.8/ios:42,
  1829.                  from /usr/include/c++/4.8/ostream:38,
  1830.                  from /usr/include/c++/4.8/iostream:39,
  1831.                  from items.hpp:4,
  1832.                  from items.cpp:1:
  1833. /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>&)
  1834.      operator==(const basic_string<_CharT>& __lhs,
  1835.      ^
  1836. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  1837. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1838.                  from items.hpp:8,
  1839.                  from items.cpp:1:
  1840. /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>'
  1841.     if (*__first == __val)
  1842.                  ^
  1843. In file included from /usr/include/c++/4.8/string:52:0,
  1844.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1845.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1846.                  from /usr/include/c++/4.8/ios:42,
  1847.                  from /usr/include/c++/4.8/ostream:38,
  1848.                  from /usr/include/c++/4.8/iostream:39,
  1849.                  from items.hpp:4,
  1850.                  from items.cpp:1:
  1851. /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>&)
  1852.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  1853.      ^
  1854. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  1855. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1856.                  from items.hpp:8,
  1857.                  from items.cpp:1:
  1858. /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>'
  1859.     if (*__first == __val)
  1860.                  ^
  1861. In file included from /usr/include/c++/4.8/string:41:0,
  1862.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1863.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1864.                  from /usr/include/c++/4.8/ios:42,
  1865.                  from /usr/include/c++/4.8/ostream:38,
  1866.                  from /usr/include/c++/4.8/iostream:39,
  1867.                  from items.hpp:4,
  1868.                  from items.cpp:1:
  1869. /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>&)
  1870.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  1871.      ^
  1872. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  1873. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1874.                  from items.hpp:8,
  1875.                  from items.cpp:1:
  1876. /usr/include/c++/4.8/bits/stl_algo.h:174:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  1877.     if (*__first == __val)
  1878.                  ^
  1879. In file included from /usr/include/c++/4.8/string:41:0,
  1880.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  1881.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  1882.                  from /usr/include/c++/4.8/ios:42,
  1883.                  from /usr/include/c++/4.8/ostream:38,
  1884.                  from /usr/include/c++/4.8/iostream:39,
  1885.                  from items.hpp:4,
  1886.                  from items.cpp:1:
  1887. /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>&)
  1888.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  1889.      ^
  1890. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  1891. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1892.                  from items.hpp:8,
  1893.                  from items.cpp:1:
  1894. /usr/include/c++/4.8/bits/stl_algo.h:174:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  1895.     if (*__first == __val)
  1896.                  ^
  1897. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1898.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1899.                  from /usr/include/c++/4.8/ios:40,
  1900.                  from /usr/include/c++/4.8/ostream:38,
  1901.                  from /usr/include/c++/4.8/iostream:39,
  1902.                  from items.hpp:4,
  1903.                  from items.cpp:1:
  1904. /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>&)
  1905.      operator==(const move_iterator<_Iterator>& __x,
  1906.      ^
  1907. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  1908. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1909.                  from items.hpp:8,
  1910.                  from items.cpp:1:
  1911. /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>'
  1912.     if (*__first == __val)
  1913.                  ^
  1914. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1915.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1916.                  from /usr/include/c++/4.8/ios:40,
  1917.                  from /usr/include/c++/4.8/ostream:38,
  1918.                  from /usr/include/c++/4.8/iostream:39,
  1919.                  from items.hpp:4,
  1920.                  from items.cpp:1:
  1921. /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>&)
  1922.      operator==(const move_iterator<_IteratorL>& __x,
  1923.      ^
  1924. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  1925. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1926.                  from items.hpp:8,
  1927.                  from items.cpp:1:
  1928. /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>'
  1929.     if (*__first == __val)
  1930.                  ^
  1931. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1932.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1933.                  from /usr/include/c++/4.8/ios:40,
  1934.                  from /usr/include/c++/4.8/ostream:38,
  1935.                  from /usr/include/c++/4.8/iostream:39,
  1936.                  from items.hpp:4,
  1937.                  from items.cpp:1:
  1938. /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>&)
  1939.      operator==(const reverse_iterator<_IteratorL>& __x,
  1940.      ^
  1941. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  1942. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1943.                  from items.hpp:8,
  1944.                  from items.cpp:1:
  1945. /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>'
  1946.     if (*__first == __val)
  1947.                  ^
  1948. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  1949.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1950.                  from /usr/include/c++/4.8/ios:40,
  1951.                  from /usr/include/c++/4.8/ostream:38,
  1952.                  from /usr/include/c++/4.8/iostream:39,
  1953.                  from items.hpp:4,
  1954.                  from items.cpp:1:
  1955. /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>&)
  1956.      operator==(const reverse_iterator<_Iterator>& __x,
  1957.      ^
  1958. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  1959. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1960.                  from items.hpp:8,
  1961.                  from items.cpp:1:
  1962. /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>'
  1963.     if (*__first == __val)
  1964.                  ^
  1965. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  1966.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  1967.                  from /usr/include/c++/4.8/ios:40,
  1968.                  from /usr/include/c++/4.8/ostream:38,
  1969.                  from /usr/include/c++/4.8/iostream:39,
  1970.                  from items.hpp:4,
  1971.                  from items.cpp:1:
  1972. /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>&)
  1973.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  1974.      ^
  1975. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  1976. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1977.                  from items.hpp:8,
  1978.                  from items.cpp:1:
  1979. /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>'
  1980.     if (*__first == __val)
  1981.                  ^
  1982. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  1983.                  from /usr/include/c++/4.8/ios:38,
  1984.                  from /usr/include/c++/4.8/ostream:38,
  1985.                  from /usr/include/c++/4.8/iostream:39,
  1986.                  from items.hpp:4,
  1987.                  from items.cpp:1:
  1988. /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>&)
  1989.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  1990.      ^
  1991. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  1992. In file included from /usr/include/c++/4.8/algorithm:62:0,
  1993.                  from items.hpp:8,
  1994.                  from items.cpp:1:
  1995. /usr/include/c++/4.8/bits/stl_algo.h:174:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  1996.     if (*__first == __val)
  1997.                  ^
  1998. /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')
  1999.     if (*__first == __val)
  2000.                  ^
  2001. /usr/include/c++/4.8/bits/stl_algo.h:178:17: note: candidates are:
  2002. In file included from /usr/include/c++/4.8/map:62:0,
  2003.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2004.                  from /usr/include/SFML/Graphics.hpp:35,
  2005.                  from common.hpp:10,
  2006.                  from items.hpp:11,
  2007.                  from items.cpp:1:
  2008. /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>&)
  2009.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  2010.      ^
  2011. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  2012. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2013.                  from items.hpp:8,
  2014.                  from items.cpp:1:
  2015. /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>'
  2016.     if (*__first == __val)
  2017.                  ^
  2018. In file included from /usr/include/c++/4.8/map:61:0,
  2019.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2020.                  from /usr/include/SFML/Graphics.hpp:35,
  2021.                  from common.hpp:10,
  2022.                  from items.hpp:11,
  2023.                  from items.cpp:1:
  2024. /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>&)
  2025.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  2026.      ^
  2027. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  2028. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2029.                  from items.hpp:8,
  2030.                  from items.cpp:1:
  2031. /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>'
  2032.     if (*__first == __val)
  2033.                  ^
  2034. In file included from /usr/include/c++/4.8/map:60:0,
  2035.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2036.                  from /usr/include/SFML/Graphics.hpp:35,
  2037.                  from common.hpp:10,
  2038.                  from items.hpp:11,
  2039.                  from items.cpp:1:
  2040. /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>&)
  2041.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  2042.      ^
  2043. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  2044. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2045.                  from items.hpp:8,
  2046.                  from items.cpp:1:
  2047. /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>'
  2048.     if (*__first == __val)
  2049.                  ^
  2050. In file included from /usr/include/c++/4.8/map:60:0,
  2051.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2052.                  from /usr/include/SFML/Graphics.hpp:35,
  2053.                  from common.hpp:10,
  2054.                  from items.hpp:11,
  2055.                  from items.cpp:1:
  2056. /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>&)
  2057.      operator==(const _Rb_tree_iterator<_Val>& __x,
  2058.      ^
  2059. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  2060. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2061.                  from items.hpp:8,
  2062.                  from items.cpp:1:
  2063. /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>'
  2064.     if (*__first == __val)
  2065.                  ^
  2066. In file included from /usr/include/c++/4.8/random:52:0,
  2067.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  2068.                  from /usr/include/c++/4.8/algorithm:62,
  2069.                  from items.hpp:8,
  2070.                  from items.cpp:1:
  2071. /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>&)
  2072.      operator==(const std::normal_distribution<_RealType>& __d1,
  2073.      ^
  2074. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  2075. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2076.                  from items.hpp:8,
  2077.                  from items.cpp:1:
  2078. /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>'
  2079.     if (*__first == __val)
  2080.                  ^
  2081. In file included from /usr/include/c++/4.8/memory:82:0,
  2082.                  from items.hpp:7,
  2083.                  from items.cpp:1:
  2084. /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>&)
  2085.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  2086.      ^
  2087. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  2088. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2089.                  from items.hpp:8,
  2090.                  from items.cpp:1:
  2091. /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'
  2092.     if (*__first == __val)
  2093.                  ^
  2094. In file included from /usr/include/c++/4.8/memory:82:0,
  2095.                  from items.hpp:7,
  2096.                  from items.cpp:1:
  2097. /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)
  2098.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  2099.      ^
  2100. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  2101. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2102.                  from items.hpp:8,
  2103.                  from items.cpp:1:
  2104. /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'
  2105.     if (*__first == __val)
  2106.                  ^
  2107. In file included from /usr/include/c++/4.8/memory:82:0,
  2108.                  from items.hpp:7,
  2109.                  from items.cpp:1:
  2110. /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>&)
  2111.      operator==(const shared_ptr<_Tp1>& __a,
  2112.      ^
  2113. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  2114. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2115.                  from items.hpp:8,
  2116.                  from items.cpp:1:
  2117. /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>'
  2118.     if (*__first == __val)
  2119.                  ^
  2120. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  2121.                  from /usr/include/c++/4.8/memory:82,
  2122.                  from items.hpp:7,
  2123.                  from items.cpp:1:
  2124. /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>&)
  2125.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  2126.      ^
  2127. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  2128. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2129.                  from items.hpp:8,
  2130.                  from items.cpp:1:
  2131. /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'
  2132.     if (*__first == __val)
  2133.                  ^
  2134. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  2135.                  from /usr/include/c++/4.8/memory:82,
  2136.                  from items.hpp:7,
  2137.                  from items.cpp:1:
  2138. /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)
  2139.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  2140.      ^
  2141. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  2142. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2143.                  from items.hpp:8,
  2144.                  from items.cpp:1:
  2145. /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'
  2146.     if (*__first == __val)
  2147.                  ^
  2148. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  2149.                  from /usr/include/c++/4.8/memory:82,
  2150.                  from items.hpp:7,
  2151.                  from items.cpp:1:
  2152. /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>&)
  2153.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  2154.      ^
  2155. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  2156. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2157.                  from items.hpp:8,
  2158.                  from items.cpp:1:
  2159. /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>'
  2160.     if (*__first == __val)
  2161.                  ^
  2162. In file included from /usr/include/c++/4.8/memory:81:0,
  2163.                  from items.hpp:7,
  2164.                  from items.cpp:1:
  2165. /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>&)
  2166.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  2167.      ^
  2168. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  2169. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2170.                  from items.hpp:8,
  2171.                  from items.cpp:1:
  2172. /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'
  2173.     if (*__first == __val)
  2174.                  ^
  2175. In file included from /usr/include/c++/4.8/memory:81:0,
  2176.                  from items.hpp:7,
  2177.                  from items.cpp:1:
  2178. /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)
  2179.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  2180.      ^
  2181. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  2182. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2183.                  from items.hpp:8,
  2184.                  from items.cpp:1:
  2185. /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>'
  2186.     if (*__first == __val)
  2187.                  ^
  2188. In file included from /usr/include/c++/4.8/memory:81:0,
  2189.                  from items.hpp:7,
  2190.                  from items.cpp:1:
  2191. /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>&)
  2192.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  2193.      ^
  2194. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  2195. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2196.                  from items.hpp:8,
  2197.                  from items.cpp:1:
  2198. /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>'
  2199.     if (*__first == __val)
  2200.                  ^
  2201. In file included from /usr/include/c++/4.8/memory:79:0,
  2202.                  from items.hpp:7,
  2203.                  from items.cpp:1:
  2204. /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 ...)>&)
  2205.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  2206.      ^
  2207. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  2208. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2209.                  from items.hpp:8,
  2210.                  from items.cpp:1:
  2211. /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'
  2212.     if (*__first == __val)
  2213.                  ^
  2214. In file included from /usr/include/c++/4.8/memory:79:0,
  2215.                  from items.hpp:7,
  2216.                  from items.cpp:1:
  2217. /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)
  2218.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  2219.      ^
  2220. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  2221. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2222.                  from items.hpp:8,
  2223.                  from items.cpp:1:
  2224. /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 ...)>'
  2225.     if (*__first == __val)
  2226.                  ^
  2227. In file included from /usr/include/c++/4.8/functional:55:0,
  2228.                  from /usr/include/c++/4.8/memory:79,
  2229.                  from items.hpp:7,
  2230.                  from items.cpp:1:
  2231. /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 ...>&)
  2232.      operator==(const tuple<_TElements...>& __t,
  2233.      ^
  2234. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  2235. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2236.                  from items.hpp:8,
  2237.                  from items.cpp:1:
  2238. /usr/include/c++/4.8/bits/stl_algo.h:178:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  2239.     if (*__first == __val)
  2240.                  ^
  2241. In file included from /usr/include/c++/4.8/tuple:39:0,
  2242.                  from /usr/include/c++/4.8/functional:55,
  2243.                  from /usr/include/c++/4.8/memory:79,
  2244.                  from items.hpp:7,
  2245.                  from items.cpp:1:
  2246. /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>&)
  2247.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  2248.      ^
  2249. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  2250. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2251.                  from items.hpp:8,
  2252.                  from items.cpp:1:
  2253. /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>'
  2254.     if (*__first == __val)
  2255.                  ^
  2256. In file included from /usr/include/c++/4.8/vector:64:0,
  2257.                  from items.hpp:6,
  2258.                  from items.cpp:1:
  2259. /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>&)
  2260.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  2261.      ^
  2262. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  2263. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2264.                  from items.hpp:8,
  2265.                  from items.cpp:1:
  2266. /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>'
  2267.     if (*__first == __val)
  2268.                  ^
  2269. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  2270.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  2271.                  from /usr/include/c++/4.8/ios:44,
  2272.                  from /usr/include/c++/4.8/ostream:38,
  2273.                  from /usr/include/c++/4.8/iostream:39,
  2274.                  from items.hpp:4,
  2275.                  from items.cpp:1:
  2276. /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>&)
  2277.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  2278.      ^
  2279. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  2280. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2281.                  from items.hpp:8,
  2282.                  from items.cpp:1:
  2283. /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>'
  2284.     if (*__first == __val)
  2285.                  ^
  2286. In file included from /usr/include/c++/4.8/string:52:0,
  2287.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2288.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2289.                  from /usr/include/c++/4.8/ios:42,
  2290.                  from /usr/include/c++/4.8/ostream:38,
  2291.                  from /usr/include/c++/4.8/iostream:39,
  2292.                  from items.hpp:4,
  2293.                  from items.cpp:1:
  2294. /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*)
  2295.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2296.      ^
  2297. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  2298. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2299.                  from items.hpp:8,
  2300.                  from items.cpp:1:
  2301. /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>'
  2302.     if (*__first == __val)
  2303.                  ^
  2304. In file included from /usr/include/c++/4.8/string:52:0,
  2305.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2306.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2307.                  from /usr/include/c++/4.8/ios:42,
  2308.                  from /usr/include/c++/4.8/ostream:38,
  2309.                  from /usr/include/c++/4.8/iostream:39,
  2310.                  from items.hpp:4,
  2311.                  from items.cpp:1:
  2312. /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>&)
  2313.      operator==(const _CharT* __lhs,
  2314.      ^
  2315. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  2316. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2317.                  from items.hpp:8,
  2318.                  from items.cpp:1:
  2319. /usr/include/c++/4.8/bits/stl_algo.h:178:17: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  2320.     if (*__first == __val)
  2321.                  ^
  2322. In file included from /usr/include/c++/4.8/string:52:0,
  2323.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2324.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2325.                  from /usr/include/c++/4.8/ios:42,
  2326.                  from /usr/include/c++/4.8/ostream:38,
  2327.                  from /usr/include/c++/4.8/iostream:39,
  2328.                  from items.hpp:4,
  2329.                  from items.cpp:1:
  2330. /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>&)
  2331.      operator==(const basic_string<_CharT>& __lhs,
  2332.      ^
  2333. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  2334. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2335.                  from items.hpp:8,
  2336.                  from items.cpp:1:
  2337. /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>'
  2338.     if (*__first == __val)
  2339.                  ^
  2340. In file included from /usr/include/c++/4.8/string:52:0,
  2341.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2342.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2343.                  from /usr/include/c++/4.8/ios:42,
  2344.                  from /usr/include/c++/4.8/ostream:38,
  2345.                  from /usr/include/c++/4.8/iostream:39,
  2346.                  from items.hpp:4,
  2347.                  from items.cpp:1:
  2348. /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>&)
  2349.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2350.      ^
  2351. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  2352. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2353.                  from items.hpp:8,
  2354.                  from items.cpp:1:
  2355. /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>'
  2356.     if (*__first == __val)
  2357.                  ^
  2358. In file included from /usr/include/c++/4.8/string:41:0,
  2359.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2360.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2361.                  from /usr/include/c++/4.8/ios:42,
  2362.                  from /usr/include/c++/4.8/ostream:38,
  2363.                  from /usr/include/c++/4.8/iostream:39,
  2364.                  from items.hpp:4,
  2365.                  from items.cpp:1:
  2366. /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>&)
  2367.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  2368.      ^
  2369. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  2370. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2371.                  from items.hpp:8,
  2372.                  from items.cpp:1:
  2373. /usr/include/c++/4.8/bits/stl_algo.h:178:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  2374.     if (*__first == __val)
  2375.                  ^
  2376. In file included from /usr/include/c++/4.8/string:41:0,
  2377.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2378.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2379.                  from /usr/include/c++/4.8/ios:42,
  2380.                  from /usr/include/c++/4.8/ostream:38,
  2381.                  from /usr/include/c++/4.8/iostream:39,
  2382.                  from items.hpp:4,
  2383.                  from items.cpp:1:
  2384. /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>&)
  2385.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  2386.      ^
  2387. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  2388. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2389.                  from items.hpp:8,
  2390.                  from items.cpp:1:
  2391. /usr/include/c++/4.8/bits/stl_algo.h:178:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  2392.     if (*__first == __val)
  2393.                  ^
  2394. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2395.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2396.                  from /usr/include/c++/4.8/ios:40,
  2397.                  from /usr/include/c++/4.8/ostream:38,
  2398.                  from /usr/include/c++/4.8/iostream:39,
  2399.                  from items.hpp:4,
  2400.                  from items.cpp:1:
  2401. /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>&)
  2402.      operator==(const move_iterator<_Iterator>& __x,
  2403.      ^
  2404. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  2405. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2406.                  from items.hpp:8,
  2407.                  from items.cpp:1:
  2408. /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>'
  2409.     if (*__first == __val)
  2410.                  ^
  2411. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2412.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2413.                  from /usr/include/c++/4.8/ios:40,
  2414.                  from /usr/include/c++/4.8/ostream:38,
  2415.                  from /usr/include/c++/4.8/iostream:39,
  2416.                  from items.hpp:4,
  2417.                  from items.cpp:1:
  2418. /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>&)
  2419.      operator==(const move_iterator<_IteratorL>& __x,
  2420.      ^
  2421. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  2422. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2423.                  from items.hpp:8,
  2424.                  from items.cpp:1:
  2425. /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>'
  2426.     if (*__first == __val)
  2427.                  ^
  2428. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2429.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2430.                  from /usr/include/c++/4.8/ios:40,
  2431.                  from /usr/include/c++/4.8/ostream:38,
  2432.                  from /usr/include/c++/4.8/iostream:39,
  2433.                  from items.hpp:4,
  2434.                  from items.cpp:1:
  2435. /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>&)
  2436.      operator==(const reverse_iterator<_IteratorL>& __x,
  2437.      ^
  2438. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  2439. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2440.                  from items.hpp:8,
  2441.                  from items.cpp:1:
  2442. /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>'
  2443.     if (*__first == __val)
  2444.                  ^
  2445. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2446.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2447.                  from /usr/include/c++/4.8/ios:40,
  2448.                  from /usr/include/c++/4.8/ostream:38,
  2449.                  from /usr/include/c++/4.8/iostream:39,
  2450.                  from items.hpp:4,
  2451.                  from items.cpp:1:
  2452. /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>&)
  2453.      operator==(const reverse_iterator<_Iterator>& __x,
  2454.      ^
  2455. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  2456. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2457.                  from items.hpp:8,
  2458.                  from items.cpp:1:
  2459. /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>'
  2460.     if (*__first == __val)
  2461.                  ^
  2462. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  2463.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2464.                  from /usr/include/c++/4.8/ios:40,
  2465.                  from /usr/include/c++/4.8/ostream:38,
  2466.                  from /usr/include/c++/4.8/iostream:39,
  2467.                  from items.hpp:4,
  2468.                  from items.cpp:1:
  2469. /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>&)
  2470.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2471.      ^
  2472. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  2473. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2474.                  from items.hpp:8,
  2475.                  from items.cpp:1:
  2476. /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>'
  2477.     if (*__first == __val)
  2478.                  ^
  2479. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  2480.                  from /usr/include/c++/4.8/ios:38,
  2481.                  from /usr/include/c++/4.8/ostream:38,
  2482.                  from /usr/include/c++/4.8/iostream:39,
  2483.                  from items.hpp:4,
  2484.                  from items.cpp:1:
  2485. /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>&)
  2486.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  2487.      ^
  2488. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  2489. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2490.                  from items.hpp:8,
  2491.                  from items.cpp:1:
  2492. /usr/include/c++/4.8/bits/stl_algo.h:178:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  2493.     if (*__first == __val)
  2494.                  ^
  2495. /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')
  2496.     if (*__first == __val)
  2497.                  ^
  2498. /usr/include/c++/4.8/bits/stl_algo.h:186:17: note: candidates are:
  2499. In file included from /usr/include/c++/4.8/map:62:0,
  2500.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2501.                  from /usr/include/SFML/Graphics.hpp:35,
  2502.                  from common.hpp:10,
  2503.                  from items.hpp:11,
  2504.                  from items.cpp:1:
  2505. /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>&)
  2506.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  2507.      ^
  2508. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  2509. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2510.                  from items.hpp:8,
  2511.                  from items.cpp:1:
  2512. /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>'
  2513.     if (*__first == __val)
  2514.                  ^
  2515. In file included from /usr/include/c++/4.8/map:61:0,
  2516.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2517.                  from /usr/include/SFML/Graphics.hpp:35,
  2518.                  from common.hpp:10,
  2519.                  from items.hpp:11,
  2520.                  from items.cpp:1:
  2521. /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>&)
  2522.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  2523.      ^
  2524. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  2525. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2526.                  from items.hpp:8,
  2527.                  from items.cpp:1:
  2528. /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>'
  2529.     if (*__first == __val)
  2530.                  ^
  2531. In file included from /usr/include/c++/4.8/map:60:0,
  2532.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2533.                  from /usr/include/SFML/Graphics.hpp:35,
  2534.                  from common.hpp:10,
  2535.                  from items.hpp:11,
  2536.                  from items.cpp:1:
  2537. /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>&)
  2538.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  2539.      ^
  2540. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  2541. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2542.                  from items.hpp:8,
  2543.                  from items.cpp:1:
  2544. /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>'
  2545.     if (*__first == __val)
  2546.                  ^
  2547. In file included from /usr/include/c++/4.8/map:60:0,
  2548.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2549.                  from /usr/include/SFML/Graphics.hpp:35,
  2550.                  from common.hpp:10,
  2551.                  from items.hpp:11,
  2552.                  from items.cpp:1:
  2553. /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>&)
  2554.      operator==(const _Rb_tree_iterator<_Val>& __x,
  2555.      ^
  2556. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  2557. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2558.                  from items.hpp:8,
  2559.                  from items.cpp:1:
  2560. /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>'
  2561.     if (*__first == __val)
  2562.                  ^
  2563. In file included from /usr/include/c++/4.8/random:52:0,
  2564.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  2565.                  from /usr/include/c++/4.8/algorithm:62,
  2566.                  from items.hpp:8,
  2567.                  from items.cpp:1:
  2568. /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>&)
  2569.      operator==(const std::normal_distribution<_RealType>& __d1,
  2570.      ^
  2571. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  2572. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2573.                  from items.hpp:8,
  2574.                  from items.cpp:1:
  2575. /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>'
  2576.     if (*__first == __val)
  2577.                  ^
  2578. In file included from /usr/include/c++/4.8/memory:82:0,
  2579.                  from items.hpp:7,
  2580.                  from items.cpp:1:
  2581. /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>&)
  2582.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  2583.      ^
  2584. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  2585. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2586.                  from items.hpp:8,
  2587.                  from items.cpp:1:
  2588. /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'
  2589.     if (*__first == __val)
  2590.                  ^
  2591. In file included from /usr/include/c++/4.8/memory:82:0,
  2592.                  from items.hpp:7,
  2593.                  from items.cpp:1:
  2594. /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)
  2595.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  2596.      ^
  2597. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  2598. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2599.                  from items.hpp:8,
  2600.                  from items.cpp:1:
  2601. /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'
  2602.     if (*__first == __val)
  2603.                  ^
  2604. In file included from /usr/include/c++/4.8/memory:82:0,
  2605.                  from items.hpp:7,
  2606.                  from items.cpp:1:
  2607. /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>&)
  2608.      operator==(const shared_ptr<_Tp1>& __a,
  2609.      ^
  2610. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  2611. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2612.                  from items.hpp:8,
  2613.                  from items.cpp:1:
  2614. /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>'
  2615.     if (*__first == __val)
  2616.                  ^
  2617. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  2618.                  from /usr/include/c++/4.8/memory:82,
  2619.                  from items.hpp:7,
  2620.                  from items.cpp:1:
  2621. /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>&)
  2622.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  2623.      ^
  2624. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  2625. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2626.                  from items.hpp:8,
  2627.                  from items.cpp:1:
  2628. /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'
  2629.     if (*__first == __val)
  2630.                  ^
  2631. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  2632.                  from /usr/include/c++/4.8/memory:82,
  2633.                  from items.hpp:7,
  2634.                  from items.cpp:1:
  2635. /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)
  2636.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  2637.      ^
  2638. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  2639. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2640.                  from items.hpp:8,
  2641.                  from items.cpp:1:
  2642. /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'
  2643.     if (*__first == __val)
  2644.                  ^
  2645. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  2646.                  from /usr/include/c++/4.8/memory:82,
  2647.                  from items.hpp:7,
  2648.                  from items.cpp:1:
  2649. /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>&)
  2650.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  2651.      ^
  2652. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  2653. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2654.                  from items.hpp:8,
  2655.                  from items.cpp:1:
  2656. /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>'
  2657.     if (*__first == __val)
  2658.                  ^
  2659. In file included from /usr/include/c++/4.8/memory:81:0,
  2660.                  from items.hpp:7,
  2661.                  from items.cpp:1:
  2662. /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>&)
  2663.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  2664.      ^
  2665. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  2666. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2667.                  from items.hpp:8,
  2668.                  from items.cpp:1:
  2669. /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'
  2670.     if (*__first == __val)
  2671.                  ^
  2672. In file included from /usr/include/c++/4.8/memory:81:0,
  2673.                  from items.hpp:7,
  2674.                  from items.cpp:1:
  2675. /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)
  2676.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  2677.      ^
  2678. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  2679. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2680.                  from items.hpp:8,
  2681.                  from items.cpp:1:
  2682. /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>'
  2683.     if (*__first == __val)
  2684.                  ^
  2685. In file included from /usr/include/c++/4.8/memory:81:0,
  2686.                  from items.hpp:7,
  2687.                  from items.cpp:1:
  2688. /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>&)
  2689.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  2690.      ^
  2691. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  2692. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2693.                  from items.hpp:8,
  2694.                  from items.cpp:1:
  2695. /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>'
  2696.     if (*__first == __val)
  2697.                  ^
  2698. In file included from /usr/include/c++/4.8/memory:79:0,
  2699.                  from items.hpp:7,
  2700.                  from items.cpp:1:
  2701. /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 ...)>&)
  2702.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  2703.      ^
  2704. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  2705. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2706.                  from items.hpp:8,
  2707.                  from items.cpp:1:
  2708. /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'
  2709.     if (*__first == __val)
  2710.                  ^
  2711. In file included from /usr/include/c++/4.8/memory:79:0,
  2712.                  from items.hpp:7,
  2713.                  from items.cpp:1:
  2714. /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)
  2715.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  2716.      ^
  2717. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  2718. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2719.                  from items.hpp:8,
  2720.                  from items.cpp:1:
  2721. /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 ...)>'
  2722.     if (*__first == __val)
  2723.                  ^
  2724. In file included from /usr/include/c++/4.8/functional:55:0,
  2725.                  from /usr/include/c++/4.8/memory:79,
  2726.                  from items.hpp:7,
  2727.                  from items.cpp:1:
  2728. /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 ...>&)
  2729.      operator==(const tuple<_TElements...>& __t,
  2730.      ^
  2731. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  2732. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2733.                  from items.hpp:8,
  2734.                  from items.cpp:1:
  2735. /usr/include/c++/4.8/bits/stl_algo.h:186:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  2736.     if (*__first == __val)
  2737.                  ^
  2738. In file included from /usr/include/c++/4.8/tuple:39:0,
  2739.                  from /usr/include/c++/4.8/functional:55,
  2740.                  from /usr/include/c++/4.8/memory:79,
  2741.                  from items.hpp:7,
  2742.                  from items.cpp:1:
  2743. /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>&)
  2744.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  2745.      ^
  2746. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  2747. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2748.                  from items.hpp:8,
  2749.                  from items.cpp:1:
  2750. /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>'
  2751.     if (*__first == __val)
  2752.                  ^
  2753. In file included from /usr/include/c++/4.8/vector:64:0,
  2754.                  from items.hpp:6,
  2755.                  from items.cpp:1:
  2756. /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>&)
  2757.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  2758.      ^
  2759. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  2760. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2761.                  from items.hpp:8,
  2762.                  from items.cpp:1:
  2763. /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>'
  2764.     if (*__first == __val)
  2765.                  ^
  2766. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  2767.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  2768.                  from /usr/include/c++/4.8/ios:44,
  2769.                  from /usr/include/c++/4.8/ostream:38,
  2770.                  from /usr/include/c++/4.8/iostream:39,
  2771.                  from items.hpp:4,
  2772.                  from items.cpp:1:
  2773. /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>&)
  2774.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  2775.      ^
  2776. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  2777. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2778.                  from items.hpp:8,
  2779.                  from items.cpp:1:
  2780. /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>'
  2781.     if (*__first == __val)
  2782.                  ^
  2783. In file included from /usr/include/c++/4.8/string:52:0,
  2784.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2785.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2786.                  from /usr/include/c++/4.8/ios:42,
  2787.                  from /usr/include/c++/4.8/ostream:38,
  2788.                  from /usr/include/c++/4.8/iostream:39,
  2789.                  from items.hpp:4,
  2790.                  from items.cpp:1:
  2791. /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*)
  2792.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2793.      ^
  2794. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  2795. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2796.                  from items.hpp:8,
  2797.                  from items.cpp:1:
  2798. /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>'
  2799.     if (*__first == __val)
  2800.                  ^
  2801. In file included from /usr/include/c++/4.8/string:52:0,
  2802.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2803.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2804.                  from /usr/include/c++/4.8/ios:42,
  2805.                  from /usr/include/c++/4.8/ostream:38,
  2806.                  from /usr/include/c++/4.8/iostream:39,
  2807.                  from items.hpp:4,
  2808.                  from items.cpp:1:
  2809. /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>&)
  2810.      operator==(const _CharT* __lhs,
  2811.      ^
  2812. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  2813. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2814.                  from items.hpp:8,
  2815.                  from items.cpp:1:
  2816. /usr/include/c++/4.8/bits/stl_algo.h:186:17: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  2817.     if (*__first == __val)
  2818.                  ^
  2819. In file included from /usr/include/c++/4.8/string:52:0,
  2820.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2821.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2822.                  from /usr/include/c++/4.8/ios:42,
  2823.                  from /usr/include/c++/4.8/ostream:38,
  2824.                  from /usr/include/c++/4.8/iostream:39,
  2825.                  from items.hpp:4,
  2826.                  from items.cpp:1:
  2827. /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>&)
  2828.      operator==(const basic_string<_CharT>& __lhs,
  2829.      ^
  2830. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  2831. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2832.                  from items.hpp:8,
  2833.                  from items.cpp:1:
  2834. /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>'
  2835.     if (*__first == __val)
  2836.                  ^
  2837. In file included from /usr/include/c++/4.8/string:52:0,
  2838.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2839.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2840.                  from /usr/include/c++/4.8/ios:42,
  2841.                  from /usr/include/c++/4.8/ostream:38,
  2842.                  from /usr/include/c++/4.8/iostream:39,
  2843.                  from items.hpp:4,
  2844.                  from items.cpp:1:
  2845. /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>&)
  2846.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  2847.      ^
  2848. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  2849. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2850.                  from items.hpp:8,
  2851.                  from items.cpp:1:
  2852. /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>'
  2853.     if (*__first == __val)
  2854.                  ^
  2855. In file included from /usr/include/c++/4.8/string:41:0,
  2856.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2857.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2858.                  from /usr/include/c++/4.8/ios:42,
  2859.                  from /usr/include/c++/4.8/ostream:38,
  2860.                  from /usr/include/c++/4.8/iostream:39,
  2861.                  from items.hpp:4,
  2862.                  from items.cpp:1:
  2863. /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>&)
  2864.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  2865.      ^
  2866. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  2867. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2868.                  from items.hpp:8,
  2869.                  from items.cpp:1:
  2870. /usr/include/c++/4.8/bits/stl_algo.h:186:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  2871.     if (*__first == __val)
  2872.                  ^
  2873. In file included from /usr/include/c++/4.8/string:41:0,
  2874.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  2875.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  2876.                  from /usr/include/c++/4.8/ios:42,
  2877.                  from /usr/include/c++/4.8/ostream:38,
  2878.                  from /usr/include/c++/4.8/iostream:39,
  2879.                  from items.hpp:4,
  2880.                  from items.cpp:1:
  2881. /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>&)
  2882.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  2883.      ^
  2884. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  2885. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2886.                  from items.hpp:8,
  2887.                  from items.cpp:1:
  2888. /usr/include/c++/4.8/bits/stl_algo.h:186:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  2889.     if (*__first == __val)
  2890.                  ^
  2891. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2892.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2893.                  from /usr/include/c++/4.8/ios:40,
  2894.                  from /usr/include/c++/4.8/ostream:38,
  2895.                  from /usr/include/c++/4.8/iostream:39,
  2896.                  from items.hpp:4,
  2897.                  from items.cpp:1:
  2898. /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>&)
  2899.      operator==(const move_iterator<_Iterator>& __x,
  2900.      ^
  2901. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  2902. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2903.                  from items.hpp:8,
  2904.                  from items.cpp:1:
  2905. /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>'
  2906.     if (*__first == __val)
  2907.                  ^
  2908. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2909.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2910.                  from /usr/include/c++/4.8/ios:40,
  2911.                  from /usr/include/c++/4.8/ostream:38,
  2912.                  from /usr/include/c++/4.8/iostream:39,
  2913.                  from items.hpp:4,
  2914.                  from items.cpp:1:
  2915. /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>&)
  2916.      operator==(const move_iterator<_IteratorL>& __x,
  2917.      ^
  2918. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  2919. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2920.                  from items.hpp:8,
  2921.                  from items.cpp:1:
  2922. /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>'
  2923.     if (*__first == __val)
  2924.                  ^
  2925. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2926.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2927.                  from /usr/include/c++/4.8/ios:40,
  2928.                  from /usr/include/c++/4.8/ostream:38,
  2929.                  from /usr/include/c++/4.8/iostream:39,
  2930.                  from items.hpp:4,
  2931.                  from items.cpp:1:
  2932. /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>&)
  2933.      operator==(const reverse_iterator<_IteratorL>& __x,
  2934.      ^
  2935. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  2936. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2937.                  from items.hpp:8,
  2938.                  from items.cpp:1:
  2939. /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>'
  2940.     if (*__first == __val)
  2941.                  ^
  2942. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  2943.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2944.                  from /usr/include/c++/4.8/ios:40,
  2945.                  from /usr/include/c++/4.8/ostream:38,
  2946.                  from /usr/include/c++/4.8/iostream:39,
  2947.                  from items.hpp:4,
  2948.                  from items.cpp:1:
  2949. /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>&)
  2950.      operator==(const reverse_iterator<_Iterator>& __x,
  2951.      ^
  2952. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  2953. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2954.                  from items.hpp:8,
  2955.                  from items.cpp:1:
  2956. /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>'
  2957.     if (*__first == __val)
  2958.                  ^
  2959. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  2960.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  2961.                  from /usr/include/c++/4.8/ios:40,
  2962.                  from /usr/include/c++/4.8/ostream:38,
  2963.                  from /usr/include/c++/4.8/iostream:39,
  2964.                  from items.hpp:4,
  2965.                  from items.cpp:1:
  2966. /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>&)
  2967.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  2968.      ^
  2969. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  2970. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2971.                  from items.hpp:8,
  2972.                  from items.cpp:1:
  2973. /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>'
  2974.     if (*__first == __val)
  2975.                  ^
  2976. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  2977.                  from /usr/include/c++/4.8/ios:38,
  2978.                  from /usr/include/c++/4.8/ostream:38,
  2979.                  from /usr/include/c++/4.8/iostream:39,
  2980.                  from items.hpp:4,
  2981.                  from items.cpp:1:
  2982. /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>&)
  2983.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  2984.      ^
  2985. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  2986. In file included from /usr/include/c++/4.8/algorithm:62:0,
  2987.                  from items.hpp:8,
  2988.                  from items.cpp:1:
  2989. /usr/include/c++/4.8/bits/stl_algo.h:186:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  2990.     if (*__first == __val)
  2991.                  ^
  2992. /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')
  2993.     if (*__first == __val)
  2994.                  ^
  2995. /usr/include/c++/4.8/bits/stl_algo.h:190:17: note: candidates are:
  2996. In file included from /usr/include/c++/4.8/map:62:0,
  2997.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  2998.                  from /usr/include/SFML/Graphics.hpp:35,
  2999.                  from common.hpp:10,
  3000.                  from items.hpp:11,
  3001.                  from items.cpp:1:
  3002. /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>&)
  3003.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  3004.      ^
  3005. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  3006. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3007.                  from items.hpp:8,
  3008.                  from items.cpp:1:
  3009. /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>'
  3010.     if (*__first == __val)
  3011.                  ^
  3012. In file included from /usr/include/c++/4.8/map:61:0,
  3013.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  3014.                  from /usr/include/SFML/Graphics.hpp:35,
  3015.                  from common.hpp:10,
  3016.                  from items.hpp:11,
  3017.                  from items.cpp:1:
  3018. /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>&)
  3019.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  3020.      ^
  3021. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  3022. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3023.                  from items.hpp:8,
  3024.                  from items.cpp:1:
  3025. /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>'
  3026.     if (*__first == __val)
  3027.                  ^
  3028. In file included from /usr/include/c++/4.8/map:60:0,
  3029.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  3030.                  from /usr/include/SFML/Graphics.hpp:35,
  3031.                  from common.hpp:10,
  3032.                  from items.hpp:11,
  3033.                  from items.cpp:1:
  3034. /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>&)
  3035.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  3036.      ^
  3037. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  3038. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3039.                  from items.hpp:8,
  3040.                  from items.cpp:1:
  3041. /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>'
  3042.     if (*__first == __val)
  3043.                  ^
  3044. In file included from /usr/include/c++/4.8/map:60:0,
  3045.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  3046.                  from /usr/include/SFML/Graphics.hpp:35,
  3047.                  from common.hpp:10,
  3048.                  from items.hpp:11,
  3049.                  from items.cpp:1:
  3050. /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>&)
  3051.      operator==(const _Rb_tree_iterator<_Val>& __x,
  3052.      ^
  3053. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  3054. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3055.                  from items.hpp:8,
  3056.                  from items.cpp:1:
  3057. /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>'
  3058.     if (*__first == __val)
  3059.                  ^
  3060. In file included from /usr/include/c++/4.8/random:52:0,
  3061.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  3062.                  from /usr/include/c++/4.8/algorithm:62,
  3063.                  from items.hpp:8,
  3064.                  from items.cpp:1:
  3065. /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>&)
  3066.      operator==(const std::normal_distribution<_RealType>& __d1,
  3067.      ^
  3068. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  3069. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3070.                  from items.hpp:8,
  3071.                  from items.cpp:1:
  3072. /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>'
  3073.     if (*__first == __val)
  3074.                  ^
  3075. In file included from /usr/include/c++/4.8/memory:82:0,
  3076.                  from items.hpp:7,
  3077.                  from items.cpp:1:
  3078. /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>&)
  3079.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  3080.      ^
  3081. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  3082. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3083.                  from items.hpp:8,
  3084.                  from items.cpp:1:
  3085. /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'
  3086.     if (*__first == __val)
  3087.                  ^
  3088. In file included from /usr/include/c++/4.8/memory:82:0,
  3089.                  from items.hpp:7,
  3090.                  from items.cpp:1:
  3091. /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)
  3092.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  3093.      ^
  3094. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  3095. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3096.                  from items.hpp:8,
  3097.                  from items.cpp:1:
  3098. /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'
  3099.     if (*__first == __val)
  3100.                  ^
  3101. In file included from /usr/include/c++/4.8/memory:82:0,
  3102.                  from items.hpp:7,
  3103.                  from items.cpp:1:
  3104. /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>&)
  3105.      operator==(const shared_ptr<_Tp1>& __a,
  3106.      ^
  3107. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  3108. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3109.                  from items.hpp:8,
  3110.                  from items.cpp:1:
  3111. /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>'
  3112.     if (*__first == __val)
  3113.                  ^
  3114. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  3115.                  from /usr/include/c++/4.8/memory:82,
  3116.                  from items.hpp:7,
  3117.                  from items.cpp:1:
  3118. /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>&)
  3119.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  3120.      ^
  3121. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  3122. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3123.                  from items.hpp:8,
  3124.                  from items.cpp:1:
  3125. /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'
  3126.     if (*__first == __val)
  3127.                  ^
  3128. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  3129.                  from /usr/include/c++/4.8/memory:82,
  3130.                  from items.hpp:7,
  3131.                  from items.cpp:1:
  3132. /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)
  3133.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  3134.      ^
  3135. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  3136. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3137.                  from items.hpp:8,
  3138.                  from items.cpp:1:
  3139. /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'
  3140.     if (*__first == __val)
  3141.                  ^
  3142. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  3143.                  from /usr/include/c++/4.8/memory:82,
  3144.                  from items.hpp:7,
  3145.                  from items.cpp:1:
  3146. /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>&)
  3147.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  3148.      ^
  3149. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  3150. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3151.                  from items.hpp:8,
  3152.                  from items.cpp:1:
  3153. /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>'
  3154.     if (*__first == __val)
  3155.                  ^
  3156. In file included from /usr/include/c++/4.8/memory:81:0,
  3157.                  from items.hpp:7,
  3158.                  from items.cpp:1:
  3159. /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>&)
  3160.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  3161.      ^
  3162. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  3163. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3164.                  from items.hpp:8,
  3165.                  from items.cpp:1:
  3166. /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'
  3167.     if (*__first == __val)
  3168.                  ^
  3169. In file included from /usr/include/c++/4.8/memory:81:0,
  3170.                  from items.hpp:7,
  3171.                  from items.cpp:1:
  3172. /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)
  3173.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  3174.      ^
  3175. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  3176. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3177.                  from items.hpp:8,
  3178.                  from items.cpp:1:
  3179. /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>'
  3180.     if (*__first == __val)
  3181.                  ^
  3182. In file included from /usr/include/c++/4.8/memory:81:0,
  3183.                  from items.hpp:7,
  3184.                  from items.cpp:1:
  3185. /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>&)
  3186.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  3187.      ^
  3188. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  3189. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3190.                  from items.hpp:8,
  3191.                  from items.cpp:1:
  3192. /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>'
  3193.     if (*__first == __val)
  3194.                  ^
  3195. In file included from /usr/include/c++/4.8/memory:79:0,
  3196.                  from items.hpp:7,
  3197.                  from items.cpp:1:
  3198. /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 ...)>&)
  3199.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  3200.      ^
  3201. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  3202. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3203.                  from items.hpp:8,
  3204.                  from items.cpp:1:
  3205. /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'
  3206.     if (*__first == __val)
  3207.                  ^
  3208. In file included from /usr/include/c++/4.8/memory:79:0,
  3209.                  from items.hpp:7,
  3210.                  from items.cpp:1:
  3211. /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)
  3212.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  3213.      ^
  3214. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  3215. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3216.                  from items.hpp:8,
  3217.                  from items.cpp:1:
  3218. /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 ...)>'
  3219.     if (*__first == __val)
  3220.                  ^
  3221. In file included from /usr/include/c++/4.8/functional:55:0,
  3222.                  from /usr/include/c++/4.8/memory:79,
  3223.                  from items.hpp:7,
  3224.                  from items.cpp:1:
  3225. /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 ...>&)
  3226.      operator==(const tuple<_TElements...>& __t,
  3227.      ^
  3228. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  3229. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3230.                  from items.hpp:8,
  3231.                  from items.cpp:1:
  3232. /usr/include/c++/4.8/bits/stl_algo.h:190:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  3233.     if (*__first == __val)
  3234.                  ^
  3235. In file included from /usr/include/c++/4.8/tuple:39:0,
  3236.                  from /usr/include/c++/4.8/functional:55,
  3237.                  from /usr/include/c++/4.8/memory:79,
  3238.                  from items.hpp:7,
  3239.                  from items.cpp:1:
  3240. /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>&)
  3241.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  3242.      ^
  3243. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  3244. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3245.                  from items.hpp:8,
  3246.                  from items.cpp:1:
  3247. /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>'
  3248.     if (*__first == __val)
  3249.                  ^
  3250. In file included from /usr/include/c++/4.8/vector:64:0,
  3251.                  from items.hpp:6,
  3252.                  from items.cpp:1:
  3253. /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>&)
  3254.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  3255.      ^
  3256. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  3257. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3258.                  from items.hpp:8,
  3259.                  from items.cpp:1:
  3260. /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>'
  3261.     if (*__first == __val)
  3262.                  ^
  3263. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  3264.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  3265.                  from /usr/include/c++/4.8/ios:44,
  3266.                  from /usr/include/c++/4.8/ostream:38,
  3267.                  from /usr/include/c++/4.8/iostream:39,
  3268.                  from items.hpp:4,
  3269.                  from items.cpp:1:
  3270. /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>&)
  3271.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  3272.      ^
  3273. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  3274. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3275.                  from items.hpp:8,
  3276.                  from items.cpp:1:
  3277. /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>'
  3278.     if (*__first == __val)
  3279.                  ^
  3280. In file included from /usr/include/c++/4.8/string:52:0,
  3281.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3282.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3283.                  from /usr/include/c++/4.8/ios:42,
  3284.                  from /usr/include/c++/4.8/ostream:38,
  3285.                  from /usr/include/c++/4.8/iostream:39,
  3286.                  from items.hpp:4,
  3287.                  from items.cpp:1:
  3288. /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*)
  3289.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  3290.      ^
  3291. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  3292. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3293.                  from items.hpp:8,
  3294.                  from items.cpp:1:
  3295. /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>'
  3296.     if (*__first == __val)
  3297.                  ^
  3298. In file included from /usr/include/c++/4.8/string:52:0,
  3299.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3300.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3301.                  from /usr/include/c++/4.8/ios:42,
  3302.                  from /usr/include/c++/4.8/ostream:38,
  3303.                  from /usr/include/c++/4.8/iostream:39,
  3304.                  from items.hpp:4,
  3305.                  from items.cpp:1:
  3306. /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>&)
  3307.      operator==(const _CharT* __lhs,
  3308.      ^
  3309. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  3310. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3311.                  from items.hpp:8,
  3312.                  from items.cpp:1:
  3313. /usr/include/c++/4.8/bits/stl_algo.h:190:17: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  3314.     if (*__first == __val)
  3315.                  ^
  3316. In file included from /usr/include/c++/4.8/string:52:0,
  3317.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3318.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3319.                  from /usr/include/c++/4.8/ios:42,
  3320.                  from /usr/include/c++/4.8/ostream:38,
  3321.                  from /usr/include/c++/4.8/iostream:39,
  3322.                  from items.hpp:4,
  3323.                  from items.cpp:1:
  3324. /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>&)
  3325.      operator==(const basic_string<_CharT>& __lhs,
  3326.      ^
  3327. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  3328. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3329.                  from items.hpp:8,
  3330.                  from items.cpp:1:
  3331. /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>'
  3332.     if (*__first == __val)
  3333.                  ^
  3334. In file included from /usr/include/c++/4.8/string:52:0,
  3335.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3336.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3337.                  from /usr/include/c++/4.8/ios:42,
  3338.                  from /usr/include/c++/4.8/ostream:38,
  3339.                  from /usr/include/c++/4.8/iostream:39,
  3340.                  from items.hpp:4,
  3341.                  from items.cpp:1:
  3342. /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>&)
  3343.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  3344.      ^
  3345. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  3346. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3347.                  from items.hpp:8,
  3348.                  from items.cpp:1:
  3349. /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>'
  3350.     if (*__first == __val)
  3351.                  ^
  3352. In file included from /usr/include/c++/4.8/string:41:0,
  3353.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3354.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3355.                  from /usr/include/c++/4.8/ios:42,
  3356.                  from /usr/include/c++/4.8/ostream:38,
  3357.                  from /usr/include/c++/4.8/iostream:39,
  3358.                  from items.hpp:4,
  3359.                  from items.cpp:1:
  3360. /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>&)
  3361.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  3362.      ^
  3363. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  3364. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3365.                  from items.hpp:8,
  3366.                  from items.cpp:1:
  3367. /usr/include/c++/4.8/bits/stl_algo.h:190:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  3368.     if (*__first == __val)
  3369.                  ^
  3370. In file included from /usr/include/c++/4.8/string:41:0,
  3371.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3372.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3373.                  from /usr/include/c++/4.8/ios:42,
  3374.                  from /usr/include/c++/4.8/ostream:38,
  3375.                  from /usr/include/c++/4.8/iostream:39,
  3376.                  from items.hpp:4,
  3377.                  from items.cpp:1:
  3378. /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>&)
  3379.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  3380.      ^
  3381. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  3382. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3383.                  from items.hpp:8,
  3384.                  from items.cpp:1:
  3385. /usr/include/c++/4.8/bits/stl_algo.h:190:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  3386.     if (*__first == __val)
  3387.                  ^
  3388. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3389.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3390.                  from /usr/include/c++/4.8/ios:40,
  3391.                  from /usr/include/c++/4.8/ostream:38,
  3392.                  from /usr/include/c++/4.8/iostream:39,
  3393.                  from items.hpp:4,
  3394.                  from items.cpp:1:
  3395. /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>&)
  3396.      operator==(const move_iterator<_Iterator>& __x,
  3397.      ^
  3398. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  3399. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3400.                  from items.hpp:8,
  3401.                  from items.cpp:1:
  3402. /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>'
  3403.     if (*__first == __val)
  3404.                  ^
  3405. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3406.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3407.                  from /usr/include/c++/4.8/ios:40,
  3408.                  from /usr/include/c++/4.8/ostream:38,
  3409.                  from /usr/include/c++/4.8/iostream:39,
  3410.                  from items.hpp:4,
  3411.                  from items.cpp:1:
  3412. /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>&)
  3413.      operator==(const move_iterator<_IteratorL>& __x,
  3414.      ^
  3415. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  3416. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3417.                  from items.hpp:8,
  3418.                  from items.cpp:1:
  3419. /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>'
  3420.     if (*__first == __val)
  3421.                  ^
  3422. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3423.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3424.                  from /usr/include/c++/4.8/ios:40,
  3425.                  from /usr/include/c++/4.8/ostream:38,
  3426.                  from /usr/include/c++/4.8/iostream:39,
  3427.                  from items.hpp:4,
  3428.                  from items.cpp:1:
  3429. /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>&)
  3430.      operator==(const reverse_iterator<_IteratorL>& __x,
  3431.      ^
  3432. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  3433. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3434.                  from items.hpp:8,
  3435.                  from items.cpp:1:
  3436. /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>'
  3437.     if (*__first == __val)
  3438.                  ^
  3439. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3440.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3441.                  from /usr/include/c++/4.8/ios:40,
  3442.                  from /usr/include/c++/4.8/ostream:38,
  3443.                  from /usr/include/c++/4.8/iostream:39,
  3444.                  from items.hpp:4,
  3445.                  from items.cpp:1:
  3446. /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>&)
  3447.      operator==(const reverse_iterator<_Iterator>& __x,
  3448.      ^
  3449. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  3450. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3451.                  from items.hpp:8,
  3452.                  from items.cpp:1:
  3453. /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>'
  3454.     if (*__first == __val)
  3455.                  ^
  3456. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  3457.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3458.                  from /usr/include/c++/4.8/ios:40,
  3459.                  from /usr/include/c++/4.8/ostream:38,
  3460.                  from /usr/include/c++/4.8/iostream:39,
  3461.                  from items.hpp:4,
  3462.                  from items.cpp:1:
  3463. /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>&)
  3464.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  3465.      ^
  3466. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  3467. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3468.                  from items.hpp:8,
  3469.                  from items.cpp:1:
  3470. /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>'
  3471.     if (*__first == __val)
  3472.                  ^
  3473. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  3474.                  from /usr/include/c++/4.8/ios:38,
  3475.                  from /usr/include/c++/4.8/ostream:38,
  3476.                  from /usr/include/c++/4.8/iostream:39,
  3477.                  from items.hpp:4,
  3478.                  from items.cpp:1:
  3479. /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>&)
  3480.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  3481.      ^
  3482. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  3483. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3484.                  from items.hpp:8,
  3485.                  from items.cpp:1:
  3486. /usr/include/c++/4.8/bits/stl_algo.h:190:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  3487.     if (*__first == __val)
  3488.                  ^
  3489. /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')
  3490.     if (*__first == __val)
  3491.                  ^
  3492. /usr/include/c++/4.8/bits/stl_algo.h:194:17: note: candidates are:
  3493. In file included from /usr/include/c++/4.8/map:62:0,
  3494.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  3495.                  from /usr/include/SFML/Graphics.hpp:35,
  3496.                  from common.hpp:10,
  3497.                  from items.hpp:11,
  3498.                  from items.cpp:1:
  3499. /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>&)
  3500.      operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
  3501.      ^
  3502. /usr/include/c++/4.8/bits/stl_multimap.h:864:5: note:   template argument deduction/substitution failed:
  3503. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3504.                  from items.hpp:8,
  3505.                  from items.cpp:1:
  3506. /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>'
  3507.     if (*__first == __val)
  3508.                  ^
  3509. In file included from /usr/include/c++/4.8/map:61:0,
  3510.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  3511.                  from /usr/include/SFML/Graphics.hpp:35,
  3512.                  from common.hpp:10,
  3513.                  from items.hpp:11,
  3514.                  from items.cpp:1:
  3515. /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>&)
  3516.      operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
  3517.      ^
  3518. /usr/include/c++/4.8/bits/stl_map.h:962:5: note:   template argument deduction/substitution failed:
  3519. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3520.                  from items.hpp:8,
  3521.                  from items.cpp:1:
  3522. /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>'
  3523.     if (*__first == __val)
  3524.                  ^
  3525. In file included from /usr/include/c++/4.8/map:60:0,
  3526.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  3527.                  from /usr/include/SFML/Graphics.hpp:35,
  3528.                  from common.hpp:10,
  3529.                  from items.hpp:11,
  3530.                  from items.cpp:1:
  3531. /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>&)
  3532.      operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
  3533.      ^
  3534. /usr/include/c++/4.8/bits/stl_tree.h:907:5: note:   template argument deduction/substitution failed:
  3535. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3536.                  from items.hpp:8,
  3537.                  from items.cpp:1:
  3538. /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>'
  3539.     if (*__first == __val)
  3540.                  ^
  3541. In file included from /usr/include/c++/4.8/map:60:0,
  3542.                  from /usr/include/SFML/Graphics/Font.hpp:37,
  3543.                  from /usr/include/SFML/Graphics.hpp:35,
  3544.                  from common.hpp:10,
  3545.                  from items.hpp:11,
  3546.                  from items.cpp:1:
  3547. /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>&)
  3548.      operator==(const _Rb_tree_iterator<_Val>& __x,
  3549.      ^
  3550. /usr/include/c++/4.8/bits/stl_tree.h:310:5: note:   template argument deduction/substitution failed:
  3551. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3552.                  from items.hpp:8,
  3553.                  from items.cpp:1:
  3554. /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>'
  3555.     if (*__first == __val)
  3556.                  ^
  3557. In file included from /usr/include/c++/4.8/random:52:0,
  3558.                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
  3559.                  from /usr/include/c++/4.8/algorithm:62,
  3560.                  from items.hpp:8,
  3561.                  from items.cpp:1:
  3562. /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>&)
  3563.      operator==(const std::normal_distribution<_RealType>& __d1,
  3564.      ^
  3565. /usr/include/c++/4.8/bits/random.tcc:2030:5: note:   template argument deduction/substitution failed:
  3566. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3567.                  from items.hpp:8,
  3568.                  from items.cpp:1:
  3569. /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>'
  3570.     if (*__first == __val)
  3571.                  ^
  3572. In file included from /usr/include/c++/4.8/memory:82:0,
  3573.                  from items.hpp:7,
  3574.                  from items.cpp:1:
  3575. /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>&)
  3576.      operator==(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
  3577.      ^
  3578. /usr/include/c++/4.8/bits/shared_ptr.h:338:5: note:   template argument deduction/substitution failed:
  3579. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3580.                  from items.hpp:8,
  3581.                  from items.cpp:1:
  3582. /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'
  3583.     if (*__first == __val)
  3584.                  ^
  3585. In file included from /usr/include/c++/4.8/memory:82:0,
  3586.                  from items.hpp:7,
  3587.                  from items.cpp:1:
  3588. /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)
  3589.      operator==(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
  3590.      ^
  3591. /usr/include/c++/4.8/bits/shared_ptr.h:333:5: note:   template argument deduction/substitution failed:
  3592. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3593.                  from items.hpp:8,
  3594.                  from items.cpp:1:
  3595. /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'
  3596.     if (*__first == __val)
  3597.                  ^
  3598. In file included from /usr/include/c++/4.8/memory:82:0,
  3599.                  from items.hpp:7,
  3600.                  from items.cpp:1:
  3601. /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>&)
  3602.      operator==(const shared_ptr<_Tp1>& __a,
  3603.      ^
  3604. /usr/include/c++/4.8/bits/shared_ptr.h:327:5: note:   template argument deduction/substitution failed:
  3605. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3606.                  from items.hpp:8,
  3607.                  from items.cpp:1:
  3608. /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>'
  3609.     if (*__first == __val)
  3610.                  ^
  3611. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  3612.                  from /usr/include/c++/4.8/memory:82,
  3613.                  from items.hpp:7,
  3614.                  from items.cpp:1:
  3615. /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>&)
  3616.      operator==(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
  3617.      ^
  3618. /usr/include/c++/4.8/bits/shared_ptr_base.h:1040:5: note:   template argument deduction/substitution failed:
  3619. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3620.                  from items.hpp:8,
  3621.                  from items.cpp:1:
  3622. /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'
  3623.     if (*__first == __val)
  3624.                  ^
  3625. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  3626.                  from /usr/include/c++/4.8/memory:82,
  3627.                  from items.hpp:7,
  3628.                  from items.cpp:1:
  3629. /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)
  3630.      operator==(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
  3631.      ^
  3632. /usr/include/c++/4.8/bits/shared_ptr_base.h:1035:5: note:   template argument deduction/substitution failed:
  3633. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3634.                  from items.hpp:8,
  3635.                  from items.cpp:1:
  3636. /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'
  3637.     if (*__first == __val)
  3638.                  ^
  3639. In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
  3640.                  from /usr/include/c++/4.8/memory:82,
  3641.                  from items.hpp:7,
  3642.                  from items.cpp:1:
  3643. /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>&)
  3644.      operator==(const __shared_ptr<_Tp1, _Lp>& __a,
  3645.      ^
  3646. /usr/include/c++/4.8/bits/shared_ptr_base.h:1029:5: note:   template argument deduction/substitution failed:
  3647. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3648.                  from items.hpp:8,
  3649.                  from items.cpp:1:
  3650. /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>'
  3651.     if (*__first == __val)
  3652.                  ^
  3653. In file included from /usr/include/c++/4.8/memory:81:0,
  3654.                  from items.hpp:7,
  3655.                  from items.cpp:1:
  3656. /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>&)
  3657.      operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
  3658.      ^
  3659. /usr/include/c++/4.8/bits/unique_ptr.h:500:5: note:   template argument deduction/substitution failed:
  3660. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3661.                  from items.hpp:8,
  3662.                  from items.cpp:1:
  3663. /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'
  3664.     if (*__first == __val)
  3665.                  ^
  3666. In file included from /usr/include/c++/4.8/memory:81:0,
  3667.                  from items.hpp:7,
  3668.                  from items.cpp:1:
  3669. /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)
  3670.      operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
  3671.      ^
  3672. /usr/include/c++/4.8/bits/unique_ptr.h:495:5: note:   template argument deduction/substitution failed:
  3673. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3674.                  from items.hpp:8,
  3675.                  from items.cpp:1:
  3676. /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>'
  3677.     if (*__first == __val)
  3678.                  ^
  3679. In file included from /usr/include/c++/4.8/memory:81:0,
  3680.                  from items.hpp:7,
  3681.                  from items.cpp:1:
  3682. /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>&)
  3683.      operator==(const unique_ptr<_Tp, _Dp>& __x,
  3684.      ^
  3685. /usr/include/c++/4.8/bits/unique_ptr.h:489:5: note:   template argument deduction/substitution failed:
  3686. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3687.                  from items.hpp:8,
  3688.                  from items.cpp:1:
  3689. /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>'
  3690.     if (*__first == __val)
  3691.                  ^
  3692. In file included from /usr/include/c++/4.8/memory:79:0,
  3693.                  from items.hpp:7,
  3694.                  from items.cpp:1:
  3695. /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 ...)>&)
  3696.      operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
  3697.      ^
  3698. /usr/include/c++/4.8/functional:2536:5: note:   template argument deduction/substitution failed:
  3699. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3700.                  from items.hpp:8,
  3701.                  from items.cpp:1:
  3702. /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'
  3703.     if (*__first == __val)
  3704.                  ^
  3705. In file included from /usr/include/c++/4.8/memory:79:0,
  3706.                  from items.hpp:7,
  3707.                  from items.cpp:1:
  3708. /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)
  3709.      operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
  3710.      ^
  3711. /usr/include/c++/4.8/functional:2530:5: note:   template argument deduction/substitution failed:
  3712. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3713.                  from items.hpp:8,
  3714.                  from items.cpp:1:
  3715. /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 ...)>'
  3716.     if (*__first == __val)
  3717.                  ^
  3718. In file included from /usr/include/c++/4.8/functional:55:0,
  3719.                  from /usr/include/c++/4.8/memory:79,
  3720.                  from items.hpp:7,
  3721.                  from items.cpp:1:
  3722. /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 ...>&)
  3723.      operator==(const tuple<_TElements...>& __t,
  3724.      ^
  3725. /usr/include/c++/4.8/tuple:811:5: note:   template argument deduction/substitution failed:
  3726. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3727.                  from items.hpp:8,
  3728.                  from items.cpp:1:
  3729. /usr/include/c++/4.8/bits/stl_algo.h:194:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::tuple<_Elements ...>'
  3730.     if (*__first == __val)
  3731.                  ^
  3732. In file included from /usr/include/c++/4.8/tuple:39:0,
  3733.                  from /usr/include/c++/4.8/functional:55,
  3734.                  from /usr/include/c++/4.8/memory:79,
  3735.                  from items.hpp:7,
  3736.                  from items.cpp:1:
  3737. /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>&)
  3738.      operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
  3739.      ^
  3740. /usr/include/c++/4.8/array:228:5: note:   template argument deduction/substitution failed:
  3741. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3742.                  from items.hpp:8,
  3743.                  from items.cpp:1:
  3744. /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>'
  3745.     if (*__first == __val)
  3746.                  ^
  3747. In file included from /usr/include/c++/4.8/vector:64:0,
  3748.                  from items.hpp:6,
  3749.                  from items.cpp:1:
  3750. /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>&)
  3751.      operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
  3752.      ^
  3753. /usr/include/c++/4.8/bits/stl_vector.h:1404:5: note:   template argument deduction/substitution failed:
  3754. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3755.                  from items.hpp:8,
  3756.                  from items.cpp:1:
  3757. /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>'
  3758.     if (*__first == __val)
  3759.                  ^
  3760. In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
  3761.                  from /usr/include/c++/4.8/bits/basic_ios.h:37,
  3762.                  from /usr/include/c++/4.8/ios:44,
  3763.                  from /usr/include/c++/4.8/ostream:38,
  3764.                  from /usr/include/c++/4.8/iostream:39,
  3765.                  from items.hpp:4,
  3766.                  from items.cpp:1:
  3767. /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>&)
  3768.      operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
  3769.      ^
  3770. /usr/include/c++/4.8/bits/streambuf_iterator.h:204:5: note:   template argument deduction/substitution failed:
  3771. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3772.                  from items.hpp:8,
  3773.                  from items.cpp:1:
  3774. /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>'
  3775.     if (*__first == __val)
  3776.                  ^
  3777. In file included from /usr/include/c++/4.8/string:52:0,
  3778.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3779.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3780.                  from /usr/include/c++/4.8/ios:42,
  3781.                  from /usr/include/c++/4.8/ostream:38,
  3782.                  from /usr/include/c++/4.8/iostream:39,
  3783.                  from items.hpp:4,
  3784.                  from items.cpp:1:
  3785. /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*)
  3786.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  3787.      ^
  3788. /usr/include/c++/4.8/bits/basic_string.h:2519:5: note:   template argument deduction/substitution failed:
  3789. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3790.                  from items.hpp:8,
  3791.                  from items.cpp:1:
  3792. /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>'
  3793.     if (*__first == __val)
  3794.                  ^
  3795. In file included from /usr/include/c++/4.8/string:52:0,
  3796.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3797.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3798.                  from /usr/include/c++/4.8/ios:42,
  3799.                  from /usr/include/c++/4.8/ostream:38,
  3800.                  from /usr/include/c++/4.8/iostream:39,
  3801.                  from items.hpp:4,
  3802.                  from items.cpp:1:
  3803. /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>&)
  3804.      operator==(const _CharT* __lhs,
  3805.      ^
  3806. /usr/include/c++/4.8/bits/basic_string.h:2507:5: note:   template argument deduction/substitution failed:
  3807. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3808.                  from items.hpp:8,
  3809.                  from items.cpp:1:
  3810. /usr/include/c++/4.8/bits/stl_algo.h:194:17: note:   mismatched types 'const _CharT*' and 'std::shared_ptr<Item>'
  3811.     if (*__first == __val)
  3812.                  ^
  3813. In file included from /usr/include/c++/4.8/string:52:0,
  3814.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3815.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3816.                  from /usr/include/c++/4.8/ios:42,
  3817.                  from /usr/include/c++/4.8/ostream:38,
  3818.                  from /usr/include/c++/4.8/iostream:39,
  3819.                  from items.hpp:4,
  3820.                  from items.cpp:1:
  3821. /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>&)
  3822.      operator==(const basic_string<_CharT>& __lhs,
  3823.      ^
  3824. /usr/include/c++/4.8/bits/basic_string.h:2493:5: note:   template argument deduction/substitution failed:
  3825. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3826.                  from items.hpp:8,
  3827.                  from items.cpp:1:
  3828. /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>'
  3829.     if (*__first == __val)
  3830.                  ^
  3831. In file included from /usr/include/c++/4.8/string:52:0,
  3832.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3833.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3834.                  from /usr/include/c++/4.8/ios:42,
  3835.                  from /usr/include/c++/4.8/ostream:38,
  3836.                  from /usr/include/c++/4.8/iostream:39,
  3837.                  from items.hpp:4,
  3838.                  from items.cpp:1:
  3839. /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>&)
  3840.      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
  3841.      ^
  3842. /usr/include/c++/4.8/bits/basic_string.h:2486:5: note:   template argument deduction/substitution failed:
  3843. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3844.                  from items.hpp:8,
  3845.                  from items.cpp:1:
  3846. /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>'
  3847.     if (*__first == __val)
  3848.                  ^
  3849. In file included from /usr/include/c++/4.8/string:41:0,
  3850.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3851.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3852.                  from /usr/include/c++/4.8/ios:42,
  3853.                  from /usr/include/c++/4.8/ostream:38,
  3854.                  from /usr/include/c++/4.8/iostream:39,
  3855.                  from items.hpp:4,
  3856.                  from items.cpp:1:
  3857. /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>&)
  3858.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  3859.      ^
  3860. /usr/include/c++/4.8/bits/allocator.h:133:5: note:   template argument deduction/substitution failed:
  3861. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3862.                  from items.hpp:8,
  3863.                  from items.cpp:1:
  3864. /usr/include/c++/4.8/bits/stl_algo.h:194:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  3865.     if (*__first == __val)
  3866.                  ^
  3867. In file included from /usr/include/c++/4.8/string:41:0,
  3868.                  from /usr/include/c++/4.8/bits/locale_classes.h:40,
  3869.                  from /usr/include/c++/4.8/bits/ios_base.h:41,
  3870.                  from /usr/include/c++/4.8/ios:42,
  3871.                  from /usr/include/c++/4.8/ostream:38,
  3872.                  from /usr/include/c++/4.8/iostream:39,
  3873.                  from items.hpp:4,
  3874.                  from items.cpp:1:
  3875. /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>&)
  3876.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  3877.      ^
  3878. /usr/include/c++/4.8/bits/allocator.h:128:5: note:   template argument deduction/substitution failed:
  3879. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3880.                  from items.hpp:8,
  3881.                  from items.cpp:1:
  3882. /usr/include/c++/4.8/bits/stl_algo.h:194:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::allocator<_CharT>'
  3883.     if (*__first == __val)
  3884.                  ^
  3885. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3886.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3887.                  from /usr/include/c++/4.8/ios:40,
  3888.                  from /usr/include/c++/4.8/ostream:38,
  3889.                  from /usr/include/c++/4.8/iostream:39,
  3890.                  from items.hpp:4,
  3891.                  from items.cpp:1:
  3892. /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>&)
  3893.      operator==(const move_iterator<_Iterator>& __x,
  3894.      ^
  3895. /usr/include/c++/4.8/bits/stl_iterator.h:1037:5: note:   template argument deduction/substitution failed:
  3896. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3897.                  from items.hpp:8,
  3898.                  from items.cpp:1:
  3899. /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>'
  3900.     if (*__first == __val)
  3901.                  ^
  3902. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3903.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3904.                  from /usr/include/c++/4.8/ios:40,
  3905.                  from /usr/include/c++/4.8/ostream:38,
  3906.                  from /usr/include/c++/4.8/iostream:39,
  3907.                  from items.hpp:4,
  3908.                  from items.cpp:1:
  3909. /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>&)
  3910.      operator==(const move_iterator<_IteratorL>& __x,
  3911.      ^
  3912. /usr/include/c++/4.8/bits/stl_iterator.h:1031:5: note:   template argument deduction/substitution failed:
  3913. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3914.                  from items.hpp:8,
  3915.                  from items.cpp:1:
  3916. /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>'
  3917.     if (*__first == __val)
  3918.                  ^
  3919. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3920.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3921.                  from /usr/include/c++/4.8/ios:40,
  3922.                  from /usr/include/c++/4.8/ostream:38,
  3923.                  from /usr/include/c++/4.8/iostream:39,
  3924.                  from items.hpp:4,
  3925.                  from items.cpp:1:
  3926. /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>&)
  3927.      operator==(const reverse_iterator<_IteratorL>& __x,
  3928.      ^
  3929. /usr/include/c++/4.8/bits/stl_iterator.h:341:5: note:   template argument deduction/substitution failed:
  3930. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3931.                  from items.hpp:8,
  3932.                  from items.cpp:1:
  3933. /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>'
  3934.     if (*__first == __val)
  3935.                  ^
  3936. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  3937.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3938.                  from /usr/include/c++/4.8/ios:40,
  3939.                  from /usr/include/c++/4.8/ostream:38,
  3940.                  from /usr/include/c++/4.8/iostream:39,
  3941.                  from items.hpp:4,
  3942.                  from items.cpp:1:
  3943. /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>&)
  3944.      operator==(const reverse_iterator<_Iterator>& __x,
  3945.      ^
  3946. /usr/include/c++/4.8/bits/stl_iterator.h:291:5: note:   template argument deduction/substitution failed:
  3947. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3948.                  from items.hpp:8,
  3949.                  from items.cpp:1:
  3950. /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>'
  3951.     if (*__first == __val)
  3952.                  ^
  3953. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
  3954.                  from /usr/include/c++/4.8/bits/char_traits.h:39,
  3955.                  from /usr/include/c++/4.8/ios:40,
  3956.                  from /usr/include/c++/4.8/ostream:38,
  3957.                  from /usr/include/c++/4.8/iostream:39,
  3958.                  from items.hpp:4,
  3959.                  from items.cpp:1:
  3960. /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>&)
  3961.      operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
  3962.      ^
  3963. /usr/include/c++/4.8/bits/stl_pair.h:214:5: note:   template argument deduction/substitution failed:
  3964. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3965.                  from items.hpp:8,
  3966.                  from items.cpp:1:
  3967. /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>'
  3968.     if (*__first == __val)
  3969.                  ^
  3970. In file included from /usr/include/c++/4.8/iosfwd:40:0,
  3971.                  from /usr/include/c++/4.8/ios:38,
  3972.                  from /usr/include/c++/4.8/ostream:38,
  3973.                  from /usr/include/c++/4.8/iostream:39,
  3974.                  from items.hpp:4,
  3975.                  from items.cpp:1:
  3976. /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>&)
  3977.      operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
  3978.      ^
  3979. /usr/include/c++/4.8/bits/postypes.h:216:5: note:   template argument deduction/substitution failed:
  3980. In file included from /usr/include/c++/4.8/algorithm:62:0,
  3981.                  from items.hpp:8,
  3982.                  from items.cpp:1:
  3983. /usr/include/c++/4.8/bits/stl_algo.h:194:17: note:   'std::shared_ptr<Item>' is not derived from 'const std::fpos<_StateT>'
  3984.     if (*__first == __val)
  3985.                  ^
  3986. make: *** [items.o] Error 1
  3987. 02:06:42: The process "/usr/bin/make" exited with code 2.
  3988. Error while building/deploying project ark (kit: Desktop)
  3989. When executing step 'Make'
Advertisement
Add Comment
Please, Sign In to add comment