1
0
forked from boostorg/core

Changed 'using std::swap;' to 'using namesapce std;' in swap_impl function to work around ADL bugs in some compilers.

[SVN r47967]
This commit is contained in:
Joseph Gauterin
2008-08-04 11:21:02 +00:00
committed by Andrey Semashev
parent 19ddea375b
commit f05e7b2785

View File

@@ -20,7 +20,7 @@ namespace boost_swap_impl
template<class T>
void swap_impl(T& left, T& right)
{
using std::swap;//use std::swap if argument dependent lookup fails
using namespace std;//use std::swap if argument dependent lookup fails
swap(left,right);
}