Opened 11 years ago
Closed 11 years ago
#6153 closed Bugs (fixed)
intrusive::unordered & c++0x = compilation errors
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | intrusive |
Version: | Boost 1.48.0 | Severity: | Regression |
Keywords: | c++0x intrusive unordered | Cc: |
Description
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>&&' ...
Attachments (2)
Change History (4)
by , 11 years ago
Attachment: | boost-intrusive-error.txt added |
---|
by , 11 years ago
Attachment: | ut_boost.cpp added |
---|
code= just a example from doc/html/intrusive/unordered_set_unordered_multiset.html
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed at trunk. Code tested in MingW with gcc 4.6.1
gcc error output