Unordered: Try to fix issues with moving non-class types.

[SVN r74193]
This commit is contained in:
Daniel James committed 2011-09-02 08:28:52 +00:00
1 parent a3ffd4a7c9
commit 965e25c989
6 files changed
+68 -44

No files matched your search

@@ -228,6 +228,14 @@ namespace boost { namespace unordered { namespace detail {
this->find_node(bucket_index, hash, k));
}
#if defined(BOOST_NO_RVALUE_REFERENCES)
node_ptr emplace(please_ignore_this_overload const&)
{
BOOST_ASSERT(false);
return this->begin();
}
#endif
#if defined(BOOST_UNORDERED_STD_FORWARD_MOVE)
template <class... Args>