Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2007-10-23 16:08:35


Author: nesotto
Date: 2007-10-23 16:08:35 EDT (Tue, 23 Oct 2007)
New Revision: 40378
URL: http://svn.boost.org/trac/boost/changeset/40378

Log:
cleanup
Text files modified:
   trunk/boost/range/detail/implementation_help.hpp | 79 ----------------------------------------
   1 files changed, 0 insertions(+), 79 deletions(-)

Modified: trunk/boost/range/detail/implementation_help.hpp
==============================================================================
--- trunk/boost/range/detail/implementation_help.hpp (original)
+++ trunk/boost/range/detail/implementation_help.hpp 2007-10-23 16:08:35 EDT (Tue, 23 Oct 2007)
@@ -57,55 +57,15 @@
             return const_cast<Char*>( str_end( s, s ) );
         }
 
- /*
- template< class T, std::size_t sz >
- inline T* array_end( T BOOST_RANGE_ARRAY_REF()[sz], int )
- {
- return boost_range_array + sz;
- }
-
- template< class T, std::size_t sz >
- inline const T* array_end( const T BOOST_RANGE_ARRAY_REF()[sz], int )
- {
- return boost_range_array + sz;
- }
-
- template< class T, std::size_t sz >
- inline T* array_end( T BOOST_RANGE_ARRAY_REF()[sz], char_or_wchar_t_array_tag )
- {
- return boost_range_array + sz - 1;
- }
-
- template< class T, std::size_t sz >
- inline const T* array_end( const T BOOST_RANGE_ARRAY_REF()[sz], char_or_wchar_t_array_tag )
- {
- return boost_range_array + sz - 1;
- }
- */
-
         template< class T, std::size_t sz >
         inline T* array_end( T BOOST_RANGE_ARRAY_REF()[sz] )
         {
- /*
- typedef BOOST_RANGE_DEDUCED_TYPENAME boost::mpl::if_c< is_same<char,T>::value || is_same<wchar_t,T>::value,
- char_or_wchar_t_array_tag,
- int >::type tag;
-
- return array_end<T,sz>( boost_range_array, tag() );
- */
             return boost_range_array + sz;
         }
         
         template< class T, std::size_t sz >
         inline const T* array_end( const T BOOST_RANGE_ARRAY_REF()[sz] )
         {
- /*
- typedef BOOST_RANGE_DEDUCED_TYPENAME boost::mpl::if_c< is_same<char,T>::value || is_same<wchar_t,T>::value,
- char_or_wchar_t_array_tag,
- int >::type tag;
-
- return array_end<T,sz>( boost_range_array, tag() );
- */
             return boost_range_array + sz;
         }
 
@@ -119,54 +79,15 @@
             return str_end( s ) - s;
         }
 
- /*
- template< class T, std::size_t sz >
- inline std::size_t array_size( T BOOST_RANGE_ARRAY_REF()[sz], int )
- {
- return sz;
- }
-
- template< class T, std::size_t sz >
- inline std::size_t array_size( const T BOOST_RANGE_ARRAY_REF()[sz], int )
- {
- return sz;
- }
-
- template< class T, std::size_t sz >
- inline std::size_t array_size( T BOOST_RANGE_ARRAY_REF()[sz], char_or_wchar_t_array_tag )
- {
- return sz - 1;
- }
-
- template< class T, std::size_t sz >
- inline std::size_t array_size( const T BOOST_RANGE_ARRAY_REF()[sz], char_or_wchar_t_array_tag )
- {
- return sz - 1;
- }
- */
-
         template< class T, std::size_t sz >
         inline std::size_t array_size( T BOOST_RANGE_ARRAY_REF()[sz] )
         {
- /*
- typedef BOOST_RANGE_DEDUCED_TYPENAME boost::mpl::if_c< is_same<const char,T>::value || is_same<const wchar_t,T>::value ||
- is_same<char,T>::value || is_same<wchar_t,T>::value,
- char_or_wchar_t_array_tag,
- int >::type tag;
- return array_size<T,sz>( boost_range_array, tag() );
- */
             return sz;
         }
 
         template< class T, std::size_t sz >
         inline std::size_t array_size( const T BOOST_RANGE_ARRAY_REF()[sz] )
         {
- /*
- typedef BOOST_RANGE_DEDUCED_TYPENAME boost::mpl::if_c< is_same<char,T>::value || is_same<wchar_t,T>::value,
- char_or_wchar_t_array_tag,
- int >::type tag;
- return array_size<T,sz>( boost_range_array, tag() );
- */
             return sz;
         }
 


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