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
parent 1ecf3ceb74
commit 62836f2928

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);
}