mirror of
https://github.com/boostorg/range.git
synced 2025-07-30 21:07:23 +02:00
merge back from master
This commit is contained in:
0
include/boost/range.hpp
Normal file → Executable file
0
include/boost/range.hpp
Normal file → Executable file
@ -21,13 +21,13 @@
|
|||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
namespace range_detail
|
namespace range_detail
|
||||||
{
|
{
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline void boost_range_silence_warning( const T& ) { }
|
inline void boost_range_silence_warning( const T& ) { }
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// end() help
|
// end() help
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
@ -36,7 +36,7 @@ namespace boost
|
|||||||
{
|
{
|
||||||
return s + strlen( s );
|
return s + strlen( s );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef BOOST_NO_CWCHAR
|
#ifndef BOOST_NO_CWCHAR
|
||||||
inline const wchar_t* str_end( const wchar_t* s, const wchar_t* )
|
inline const wchar_t* str_end( const wchar_t* s, const wchar_t* )
|
||||||
{
|
{
|
||||||
@ -51,7 +51,7 @@ namespace boost
|
|||||||
;
|
;
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template< class Char >
|
template< class Char >
|
||||||
inline Char* str_end( Char* s )
|
inline Char* str_end( Char* s )
|
||||||
@ -64,7 +64,7 @@ namespace boost
|
|||||||
{
|
{
|
||||||
return boost_range_array + sz;
|
return boost_range_array + sz;
|
||||||
}
|
}
|
||||||
|
|
||||||
template< class T, std::size_t sz >
|
template< class T, std::size_t sz >
|
||||||
inline const T* array_end( const T BOOST_RANGE_ARRAY_REF()[sz] )
|
inline const T* array_end( const T BOOST_RANGE_ARRAY_REF()[sz] )
|
||||||
{
|
{
|
||||||
@ -74,7 +74,7 @@ namespace boost
|
|||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
// size() help
|
// size() help
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
template< class Char >
|
template< class Char >
|
||||||
inline std::size_t str_size( const Char* const& s )
|
inline std::size_t str_size( const Char* const& s )
|
||||||
{
|
{
|
||||||
@ -107,7 +107,7 @@ namespace boost
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // namespace 'range_detail'
|
} // namespace 'range_detail'
|
||||||
|
|
||||||
} // namespace 'boost'
|
} // namespace 'boost'
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user