Added adl_move_swap utility

This commit is contained in:
Ion Gaztañaga committed 2014-11-26 19:27:40 +01:00
1 parent ad50fba54f
commit cbda10ecdd
5 files changed
+95 -12

No files matched your search

-8
View File
@@ -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();