*** empty log message ***

[SVN r25418]
This commit is contained in:
Thorsten Jørgen Ottosen
2004-09-26 12:15:12 +00:00
parent f7ffdde09f
commit a29ddcbcca
3 changed files with 15 additions and 12 deletions

View File

@ -84,7 +84,8 @@ namespace range_detail
// string
//////////////////////////////////////////////////////////////////////
#if BOOST_WORKAROUND(__MWERKS__, <= 0x3204 ) // up to 9.3
#if BOOST_WORKAROUND(__MWERKS__, <= 0x3204 ) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
// CW up to 9.3 and borland have troubles with function ordering
inline const char* begin( const char* s )
{
return s;

View File

@ -84,7 +84,8 @@ namespace range_detail
// string
//////////////////////////////////////////////////////////////////////
#if BOOST_WORKAROUND(__MWERKS__, <= 0x3204 ) // up to 9.3
#if BOOST_WORKAROUND(__MWERKS__, <= 0x3204 ) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
// CW up to 9.3 and borland have troubles with function ordering
inline char* end( char* s )
{
return range_detail::str_end( s );

View File

@ -93,19 +93,20 @@ inline BOOST_DEDUCED_TYPENAME range_size<T>::type size( const T& 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_size<const char*>::type size<const char*>( const char*& r )
{
// BCB is not able to overload pointer when class overloads are also
available.
inline range_size<const char*>::type size( const char* r ) {
return range_detail::str_size( r );
}
template<>
inline range_size<const wchar_t*>::type size<const wchar_t*>( const wchar_t*& r )
{
inline range_size<char*>::type size( char* r ) {
return range_detail::str_size( r );
}
inline range_size<const wchar_t*>::type size( const wchar_t* r ) {
return range_detail::str_size( r );
}
inline range_size<wchar_t*>::type size( wchar_t* r ) {
return range_detail::str_size( r );
}
#endif