forked from boostorg/unordered
Unordered: Try to fix issues with moving non-class types.
[SVN r74193]
This commit is contained in:
1 parent
a3ffd4a7c9
commit
965e25c989
6 files changed
+68
-44
No files matched your search
@@ -196,6 +196,14 @@ namespace boost { namespace unordered { namespace detail {
|
||||
}
|
||||
|
||||
|
||||
#if defined(BOOST_NO_RVALUE_REFERENCES)
|
||||
emplace_return emplace(please_ignore_this_overload const&)
|
||||
{
|
||||
BOOST_ASSERT(false);
|
||||
return emplace_return(this->begin(), false);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_UNORDERED_STD_FORWARD_MOVE)
|
||||
|
||||
template<class... Args>
|
||||
|
||||
Reference in new issue
Block a user