[Boost-bugs] [Boost C++ Libraries] #6153: intrusive::unordered & c++0x = compilation errors

Subject: [Boost-bugs] [Boost C++ Libraries] #6153: intrusive::unordered & c++0x = compilation errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-20 09:42:59


#6153: intrusive::unordered & c++0x = compilation errors
----------------------------------------+-----------------------------------
 Reporter: Leo Yuriev <leo@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
  Version: Boost 1.48.0 | Severity: Regression
 Keywords: c++0x intrusive unordered |
----------------------------------------+-----------------------------------
 code: Just a example from
 http://www.boost.org/doc/libs/1_48_0/doc/html/intrusive/unordered_set_unordered_multiset.html

 gcc 4.6.2 with -std=gnu++0x -Wno-deprecated-declarations

 So, support for move-semantic was implemented in a "deep" (hashtable and
 friends), but not on a "top" in boost::intrusive::unordered.

 ...
 /sandbox/toolchain-4.6-ly/include/boost/intrusive/hashtable.hpp:227:65:
 error: no matching function for call to
 'boost::intrusive::detail::bucket_traits_impl<boost::intrusive::detail::get_slist_impl<boost::intrusive::slist_node_traits<void*>
>::type>::bucket_traits_impl(const
 boost::intrusive::detail::bucket_traits_impl<boost::intrusive::detail::get_slist_impl<boost::intrusive::slist_node_traits<void*>
>::type>&)'
 /sandbox/toolchain-4.6-ly/include/boost/intrusive/hashtable.hpp:227:65:
 note: candidates are:
 /sandbox/toolchain-4.6-ly/include/boost/intrusive/detail/hashtable_node.hpp:96:4:
 note:
 boost::intrusive::detail::bucket_traits_impl<Slist>::bucket_traits_impl(boost::intrusive::detail::bucket_traits_impl<Slist>&&)
 [with Slist =
 boost::intrusive::detail::get_slist_impl<boost::intrusive::slist_node_traits<void*>
>::type, boost::intrusive::detail::bucket_traits_impl<Slist> =
 boost::intrusive::detail::bucket_traits_impl<boost::intrusive::detail::get_slist_impl<boost::intrusive::slist_node_traits<void*>
>::type>]
 /sandbox/toolchain-4.6-ly/include/boost/intrusive/detail/hashtable_node.hpp:96:4:
 note: no known conversion for argument 1 from ''''const'''
 boost::intrusive::detail::bucket_traits_impl<boost::intrusive::detail::get_slist_impl<boost::intrusive::slist_node_traits<void*>
>::type>' to
 'boost::intrusive::detail::bucket_traits_impl<boost::intrusive::detail::get_slist_impl<boost::intrusive::slist_node_traits<void*>
>::type>'''&&''''
 ...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6153>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC