forked from boostorg/move
Added adl_move_swap utility
This commit is contained in:
1 parent
ad50fba54f
commit
cbda10ecdd
5 files changed
+95
-12
No files matched your search
@@ -277,14 +277,6 @@
|
||||
namespace boost{
|
||||
namespace move_detail{
|
||||
|
||||
template<class T>
|
||||
void swap(T &a, T &b)
|
||||
{
|
||||
T c((::boost::move(a)));
|
||||
a = ::boost::move(b);
|
||||
b = ::boost::move(c);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
typename boost::move_detail::add_rvalue_reference<T>::type declval();
|
||||
|
||||
|
||||
Reference in new issue
Block a user