mirror of
https://github.com/boostorg/utility.git
synced 2025-08-01 05:44:37 +02:00
Removed swap_adl_barrier namespace, as discussed at "Re: [boost] [swap] How to fix ADL barrier for XL, Intel, GCC, Sun and Como?", http://lists.boost.org/Archives/boost/2008/07/140511.php
[SVN r47920]
This commit is contained in:
@@ -36,16 +36,11 @@ namespace boost_swap_impl
|
|||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
namespace swap_adl_barrier
|
|
||||||
{
|
|
||||||
template<class T1, class T2>
|
template<class T1, class T2>
|
||||||
void swap(T1& left, T2& right)
|
void swap(T1& left, T2& right)
|
||||||
{
|
{
|
||||||
::boost_swap_impl::swap_impl(left, right);
|
::boost_swap_impl::swap_impl(left, right);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
using swap_adl_barrier::swap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user