Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2007-10-23 15:07:39


Author: nesotto
Date: 2007-10-23 15:07:38 EDT (Tue, 23 Oct 2007)
New Revision: 40372
URL: http://svn.boost.org/trac/boost/changeset/40372

Log:
changed ADL functions back the names of 1.34 ... these names have been in use for too long ... let's not break code that depends on them
Text files modified:
   trunk/boost/range/begin.hpp | 14 +++++++-------
   trunk/boost/range/end.hpp | 14 +++++++-------
   2 files changed, 14 insertions(+), 14 deletions(-)

Modified: trunk/boost/range/begin.hpp
==============================================================================
--- trunk/boost/range/begin.hpp (original)
+++ trunk/boost/range/begin.hpp 2007-10-23 15:07:38 EDT (Tue, 23 Oct 2007)
@@ -39,7 +39,7 @@
 
     template< typename C >
     inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type
- range_begin( C& c )
+ boost_range_begin( C& c )
     {
         return c.begin();
     }
@@ -49,13 +49,13 @@
     //////////////////////////////////////////////////////////////////////
 
     template< typename Iterator >
- inline Iterator range_begin( const std::pair<Iterator,Iterator>& p )
+ inline Iterator boost_range_begin( const std::pair<Iterator,Iterator>& p )
     {
         return p.first;
     }
 
     template< typename Iterator >
- inline Iterator range_begin( std::pair<Iterator,Iterator>& p )
+ inline Iterator boost_range_begin( std::pair<Iterator,Iterator>& p )
     {
         return p.first;
     }
@@ -68,13 +68,13 @@
     // May this be discarded? Or is it needed for bad compilers?
     //
     template< typename T, std::size_t sz >
- inline const T* range_begin( const T (&array)[sz] )
+ inline const T* boost_range_begin( const T (&array)[sz] )
     {
         return array;
     }
 
     template< typename T, std::size_t sz >
- inline T* range_begin( T (&array)[sz] )
+ inline T* boost_range_begin( T (&array)[sz] )
     {
         return array;
     }
@@ -95,7 +95,7 @@
     /**/
     using namespace range_detail;
 #endif
- return range_begin( r );
+ return boost_range_begin( r );
 }
 
 template< class T >
@@ -106,7 +106,7 @@
     /**/
     using namespace range_detail;
 #endif
- return range_begin( r );
+ return boost_range_begin( r );
 }
 
 } // namespace boost

Modified: trunk/boost/range/end.hpp
==============================================================================
--- trunk/boost/range/end.hpp (original)
+++ trunk/boost/range/end.hpp 2007-10-23 15:07:38 EDT (Tue, 23 Oct 2007)
@@ -40,7 +40,7 @@
         //////////////////////////////////////////////////////////////////////
         template< typename C >
         inline BOOST_DEDUCED_TYPENAME range_iterator<C>::type
- range_end( C& c )
+ boost_range_end( C& c )
         {
             return c.end();
         }
@@ -50,13 +50,13 @@
         //////////////////////////////////////////////////////////////////////
 
         template< typename Iterator >
- inline Iterator range_end( const std::pair<Iterator,Iterator>& p )
+ inline Iterator boost_range_end( const std::pair<Iterator,Iterator>& p )
         {
             return p.second;
         }
 
         template< typename Iterator >
- inline Iterator range_end( std::pair<Iterator,Iterator>& p )
+ inline Iterator boost_range_end( std::pair<Iterator,Iterator>& p )
         {
             return p.second;
         }
@@ -66,13 +66,13 @@
         //////////////////////////////////////////////////////////////////////
 
         template< typename T, std::size_t sz >
- inline const T* range_end( const T (&array)[sz] )
+ inline const T* boost_range_end( const T (&array)[sz] )
         {
             return range_detail::array_end<T,sz>( array );
         }
 
         template< typename T, std::size_t sz >
- inline T* range_end( T (&array)[sz] )
+ inline T* boost_range_end( T (&array)[sz] )
         {
             return range_detail::array_end<T,sz>( array );
         }
@@ -91,7 +91,7 @@
     /**/
     using namespace range_detail;
 #endif
- return range_end( r );
+ return boost_range_end( r );
 }
 
 template< class T >
@@ -102,7 +102,7 @@
     /**/
     using namespace range_detail;
 #endif
- return range_end( r );
+ return boost_range_end( r );
 }
 
 } // namespace 'boost'


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