Boost logo

Boost-Commit :

From: nielsdekker_at_[hidden]
Date: 2008-07-30 04:04:36


Author: niels_dekker
Date: 2008-07-30 04:04:34 EDT (Wed, 30 Jul 2008)
New Revision: 47877
URL: http://svn.boost.org/trac/boost/changeset/47877

Log:
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
Text files modified:
   trunk/boost/utility/swap.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/utility/swap.hpp
==============================================================================
--- trunk/boost/utility/swap.hpp (original)
+++ trunk/boost/utility/swap.hpp 2008-07-30 04:04:34 EDT (Wed, 30 Jul 2008)
@@ -38,8 +38,8 @@
 {
   namespace swap_adl_barrier
   {
- template<class T>
- void swap(T& left, T& right)
+ template<class T1, class T2>
+ void swap(T1& left, T2& right)
     {
       ::boost_swap_impl::swap_impl(left, right);
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk