forked from boostorg/range
*** empty log message ***
[SVN r25318]
This commit is contained in:
@ -119,6 +119,23 @@ inline BOOST_DEDUCED_TYPENAME range_const_iterator<T>::type begin( const T& r )
|
|||||||
return range_detail::begin( r );
|
return range_detail::begin( r );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
||||||
|
// BCB is not able to overload pointer when class overloads are also available
|
||||||
|
template<>
|
||||||
|
inline range_const_iterator<const char*>::type begin<const char*>( const char*& r )
|
||||||
|
{
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
template<>
|
||||||
|
inline range_const_iterator<const wchar_t*>::type begin<const wchar_t*>( const wchar_t*& r )
|
||||||
|
{
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
||||||
|
@ -95,13 +95,13 @@ inline BOOST_DEDUCED_TYPENAME range_size<T>::type size( const T& r )
|
|||||||
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
||||||
// BCB is not able to overload pointer when class overloads are also available
|
// BCB is not able to overload pointer when class overloads are also available
|
||||||
template<>
|
template<>
|
||||||
inline range_size<const char*>::type size<const char*>( const char* const& r )
|
inline range_size<const char*>::type size<const char*>( const char*& r )
|
||||||
{
|
{
|
||||||
return range_detail::str_size( r );
|
return range_detail::str_size( r );
|
||||||
}
|
}
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
inline range_size<const wchar_t*>::type size<const wchar_t*>( const wchar_t* const& r )
|
inline range_size<const wchar_t*>::type size<const wchar_t*>( const wchar_t*& r )
|
||||||
{
|
{
|
||||||
return range_detail::str_size( r );
|
return range_detail::str_size( r );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user