fork download
  1. In file included from /usr/include/boost/range/iterator_range.hpp:13:0,
  2. from /usr/include/boost/range/sub_range.hpp:23,
  3. from test.cc:5:
  4. /usr/include/boost/range/iterator_range_core.hpp: In instantiation of ‘boost::iterator_range<IteratorT>::iterator_range(Iterator, Iterator) [with Iterator = boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >; IteratorT = __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >]’:
  5. /usr/include/boost/range/sub_range.hpp:88:31: required from ‘boost::sub_range<ForwardRange>::sub_range(Iter, Iter) [with Iter = boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >; ForwardRange = const std::vector<std::shared_ptr<Component> >]’
  6. test.cc:46:73: required from here
  7. /usr/include/boost/range/iterator_range_core.hpp:180:42: error: no matching function for call to ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >::__normal_iterator(boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >&)’
  8. m_Begin(Begin), m_End(End)
  9. ^
  10. /usr/include/boost/range/iterator_range_core.hpp:180:42: note: candidates are:
  11. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  12. from /usr/include/c++/4.8/bits/char_traits.h:39,
  13. from /usr/include/c++/4.8/ios:40,
  14. from /usr/include/c++/4.8/ostream:38,
  15. from /usr/include/c++/4.8/iostream:39,
  16. from test.cc:1:
  17. /usr/include/c++/4.8/bits/stl_iterator.h:730:9: note: template<class _Iter> __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const __gnu_cxx::__normal_iterator<_Iter, typename __gnu_cxx::__enable_if<std::__are_same<_Iter, typename _Container::pointer>::__value, _Container>::__type>&)
  18. __normal_iterator(const __normal_iterator<_Iter,
  19. ^
  20. /usr/include/c++/4.8/bits/stl_iterator.h:730:9: note: template argument deduction/substitution failed:
  21. In file included from /usr/include/boost/range/iterator_range.hpp:13:0,
  22. from /usr/include/boost/range/sub_range.hpp:23,
  23. from test.cc:5:
  24. /usr/include/boost/range/iterator_range_core.hpp:180:42: note: ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ is not derived from ‘const __gnu_cxx::__normal_iterator<_Iter, typename __gnu_cxx::__enable_if<std::__are_same<_Iter, std::shared_ptr<Component>*>::__value, std::vector<std::shared_ptr<Component> > >::__type>’
  25. m_Begin(Begin), m_End(End)
  26. ^
  27. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  28. from /usr/include/c++/4.8/bits/char_traits.h:39,
  29. from /usr/include/c++/4.8/ios:40,
  30. from /usr/include/c++/4.8/ostream:38,
  31. from /usr/include/c++/4.8/iostream:39,
  32. from test.cc:1:
  33. /usr/include/c++/4.8/bits/stl_iterator.h:726:7: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = const std::shared_ptr<Component>*; _Container = std::vector<std::shared_ptr<Component> >]
  34. __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
  35. ^
  36. /usr/include/c++/4.8/bits/stl_iterator.h:726:7: note: no known conversion for argument 1 from ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ to ‘const std::shared_ptr<Component>* const&’
  37. /usr/include/c++/4.8/bits/stl_iterator.h:723:26: note: constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = const std::shared_ptr<Component>*; _Container = std::vector<std::shared_ptr<Component> >]
  38. _GLIBCXX_CONSTEXPR __normal_iterator() : _M_current(_Iterator()) { }
  39. ^
  40. /usr/include/c++/4.8/bits/stl_iterator.h:723:26: note: candidate expects 0 arguments, 1 provided
  41. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: constexpr __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >::__normal_iterator(const __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&)
  42. class __normal_iterator
  43. ^
  44. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: no known conversion for argument 1 from ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ to ‘const __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&’
  45. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: constexpr __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >::__normal_iterator(__gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&&)
  46. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: no known conversion for argument 1 from ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ to ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&&’
  47. In file included from /usr/include/boost/range/iterator_range.hpp:13:0,
  48. from /usr/include/boost/range/sub_range.hpp:23,
  49. from test.cc:5:
  50. /usr/include/boost/range/iterator_range_core.hpp:180:42: error: no matching function for call to ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >::__normal_iterator(boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >&)’
  51. m_Begin(Begin), m_End(End)
  52. ^
  53. /usr/include/boost/range/iterator_range_core.hpp:180:42: note: candidates are:
  54. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  55. from /usr/include/c++/4.8/bits/char_traits.h:39,
  56. from /usr/include/c++/4.8/ios:40,
  57. from /usr/include/c++/4.8/ostream:38,
  58. from /usr/include/c++/4.8/iostream:39,
  59. from test.cc:1:
  60. /usr/include/c++/4.8/bits/stl_iterator.h:730:9: note: template<class _Iter> __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const __gnu_cxx::__normal_iterator<_Iter, typename __gnu_cxx::__enable_if<std::__are_same<_Iter, typename _Container::pointer>::__value, _Container>::__type>&)
  61. __normal_iterator(const __normal_iterator<_Iter,
  62. ^
  63. /usr/include/c++/4.8/bits/stl_iterator.h:730:9: note: template argument deduction/substitution failed:
  64. In file included from /usr/include/boost/range/iterator_range.hpp:13:0,
  65. from /usr/include/boost/range/sub_range.hpp:23,
  66. from test.cc:5:
  67. /usr/include/boost/range/iterator_range_core.hpp:180:42: note: ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ is not derived from ‘const __gnu_cxx::__normal_iterator<_Iter, typename __gnu_cxx::__enable_if<std::__are_same<_Iter, std::shared_ptr<Component>*>::__value, std::vector<std::shared_ptr<Component> > >::__type>’
  68. m_Begin(Begin), m_End(End)
  69. ^
  70. In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
  71. from /usr/include/c++/4.8/bits/char_traits.h:39,
  72. from /usr/include/c++/4.8/ios:40,
  73. from /usr/include/c++/4.8/ostream:38,
  74. from /usr/include/c++/4.8/iostream:39,
  75. from test.cc:1:
  76. /usr/include/c++/4.8/bits/stl_iterator.h:726:7: note: __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator(const _Iterator&) [with _Iterator = const std::shared_ptr<Component>*; _Container = std::vector<std::shared_ptr<Component> >]
  77. __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
  78. ^
  79. /usr/include/c++/4.8/bits/stl_iterator.h:726:7: note: no known conversion for argument 1 from ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ to ‘const std::shared_ptr<Component>* const&’
  80. /usr/include/c++/4.8/bits/stl_iterator.h:723:26: note: constexpr __gnu_cxx::__normal_iterator<_Iterator, _Container>::__normal_iterator() [with _Iterator = const std::shared_ptr<Component>*; _Container = std::vector<std::shared_ptr<Component> >]
  81. _GLIBCXX_CONSTEXPR __normal_iterator() : _M_current(_Iterator()) { }
  82. ^
  83. /usr/include/c++/4.8/bits/stl_iterator.h:723:26: note: candidate expects 0 arguments, 1 provided
  84. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: constexpr __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >::__normal_iterator(const __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&)
  85. class __normal_iterator
  86. ^
  87. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: no known conversion for argument 1 from ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ to ‘const __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&’
  88. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: constexpr __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >::__normal_iterator(__gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&&)
  89. /usr/include/c++/4.8/bits/stl_iterator.h:708:11: note: no known conversion for argument 1 from ‘boost::filter_iterator<Container::get_master_components() const::__lambda0, __gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > > >’ to ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<Component>*, std::vector<std::shared_ptr<Component> > >&&’
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty