|
Boost-Commit : |
From: nielsdekker_at_[hidden]
Date: 2008-07-31 16:18:05
Author: niels_dekker
Date: 2008-07-31 16:18:04 EDT (Thu, 31 Jul 2008)
New Revision: 47920
URL: http://svn.boost.org/trac/boost/changeset/47920
Log:
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
Text files modified:
trunk/boost/utility/swap.hpp | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
Modified: trunk/boost/utility/swap.hpp
==============================================================================
--- trunk/boost/utility/swap.hpp (original)
+++ trunk/boost/utility/swap.hpp 2008-07-31 16:18:04 EDT (Thu, 31 Jul 2008)
@@ -36,16 +36,11 @@
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
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