Opened 13 years ago

Closed 12 years ago

#3688 closed Bugs (fixed)

splice(): no matching function call

Reported by: anonymous Owned by: Ion Gaztañaga
Milestone: Boost 1.45.0 Component: intrusive
Version: Boost 1.41.0 Severity: Regression
Keywords: Cc:

Description

slist<A,base_hook<slist_base_hook<> > > l,l2; l.splice(l.end(),l2);

causes this compile error which wasn't there in 1.38:

/usr/local/include/boost/intrusive/slist.hpp:1224: error: no matching function for call to ‘boost::intrusive::slist_impl<boost::intrusive::slistopt<boost::intrusive::detail::base_hook_traits<A, boost::intrusive::slist_node_traits<void*>, safe_link, boost::intrusive::default_tag, 2>, unsigned int, true, false, false> >::splice_after(boost::intrusive::slist_iterator<boost::intrusive::slist_impl<boost::intrusive::slistopt<boost::intrusive::detail::base_hook_traits<A, boost::intrusive::slist_node_traits<void*>, safe_link, boost::intrusive::default_tag, 2>, unsigned int, true, false, false> >, true>, boost::intrusive::slist_impl<boost::intrusive::slistopt<boost::intrusive::detail::base_hook_traits<A, boost::intrusive::slist_node_traits<void*>, safe_link, boost::intrusive::default_tag, 2>, unsigned int, true, false, false> >&, boost::intrusive::slist_iterator<boost::intrusive::slist_impl<boost::intrusive::slistopt<boost::intrusive::detail::base_hook_traits<A, boost::intrusive::slist_node_traits<void*>, safe_link, boost::intrusive::default_tag, 2>, unsigned int, true, false, false> >, false>*&)’

Change History (2)

comment:1 by anonymous, 13 years ago

Component: Noneintrusive
Owner: set to Ion Gaztañaga

comment:2 by Ion Gaztañaga, 12 years ago

Milestone: Boost 1.42.0Boost-1.45.0
Resolution: fixed
Status: newclosed

Fixed for Boost 1.45 in release branch

Note: See TracTickets for help on using tickets.