Control: tags -1 help
On Sun, Nov 18, 2018 at 10:36:52PM +0200, Adrian Bunk wrote:
> /usr/include/c++/8/bits/stl_vector.h:1074:7: note: candidate: 'void
> std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp =
> boost::tuples::tuple<MatchRecord*, std::vector<long unsigned int,
> std::allocator<long unsigned int> >, std::vector<long unsigned int,
> std::allocator<long unsigned int> > >; _Alloc =
> std::allocator<boost::tuples::tuple<MatchRecord*, std::vector<long unsigned
> int, std::allocator<long unsigned int> >, std::vector<long unsigned int,
> std::allocator<long unsigned int> > > >; std::vector<_Tp, _Alloc>::value_type
> = boost::tuples::tuple<MatchRecord*, std::vector<long unsigned int,
> std::allocator<long unsigned int> >, std::vector<long unsigned int,
> std::allocator<long unsigned int> > >]'
> push_back(const value_type& __x)
> ^~~~~~~~~
> /usr/include/c++/8/bits/stl_vector.h:1074:7: note: no known conversion for
> argument 1 from 'GappedMatchRecord*' to 'const value_type&' {aka 'const
> boost::tuples::tuple<MatchRecord*, std::vector<long unsigned int,
> std::allocator<long unsigned int> >, std::vector<long unsigned int,
> std::allocator<long unsigned int> > >&'}
> /usr/include/c++/8/bits/stl_vector.h:1090:7: note: candidate: 'void
> std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&)
> [with _Tp = boost::tuples::tuple<MatchRecord*, std::vector<long unsigned int,
> std::allocator<long unsigned int> >, std::vector<long unsigned int,
> std::allocator<long unsigned int> > >; _Alloc =
> std::allocator<boost::tuples::tuple<MatchRecord*, std::vector<long unsigned
> int, std::allocator<long unsigned int> >, std::vector<long unsigned int,
> std::allocator<long unsigned int> > > >; std::vector<_Tp, _Alloc>::value_type
> = boost::tuples::tuple<MatchRecord*, std::vector<long unsigned int,
> std::allocator<long unsigned int> >, std::vector<long unsigned int,
> std::allocator<long unsigned int> > >]'
> push_back(value_type&& __x)
> ^~~~~~~~~
Any idea how to replace push_back?
Kind regards
Andreas.
--
http://fam-tille.de