mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00: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:
parent
d215f2176c
commit
2aa48414c9
@ -36,16 +36,11 @@ namespace boost_swap_impl
|
||||
|
||||
namespace boost
|
||||
{
|
||||
namespace swap_adl_barrier
|
||||
template<class T1, class T2>
|
||||
void swap(T1& left, T2& right)
|
||||
{
|
||||
template<class T1, class T2>
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user