mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Applied "swap.hpp.patch" by Steven Watanabe, "Re: [boost] [swap] How to fix ADL barrier for XL, Intel, GCC, Sun and Como?", http://lists.boost.org/Archives/boost/2008/07/140482.php
[SVN r47877]
This commit is contained in:
parent
c286d62223
commit
d215f2176c
@ -38,8 +38,8 @@ namespace boost
|
|||||||
{
|
{
|
||||||
namespace swap_adl_barrier
|
namespace swap_adl_barrier
|
||||||
{
|
{
|
||||||
template<class T>
|
template<class T1, class T2>
|
||||||
void swap(T& left, T& right)
|
void swap(T1& left, T2& right)
|
||||||
{
|
{
|
||||||
::boost_swap_impl::swap_impl(left, right);
|
::boost_swap_impl::swap_impl(left, right);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user